Error message updating system, but running from shell reported no errors

Upon applying updates, I got an error message instructing me to copy and paste the command to a terminal prompt, and paste the output. Here it is, it looks good to me. After rebooting system, it says there are 0 updates.

[root@roy ~]# echo ‘{“action”:“update”,“packages”:[]}’ | /usr/bin/setsid /usr/bin/sudo /usr/libexec/nethserver/api/system-packages/update | jq
{
“state”: “running”,
“steps”: -1,
“event”: “Initialization”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Resolving RPM dependencies”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Downloading Packages”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Running Test Transaction”
}
{
“state”: “running”,
“steps”: -1,
“event”: “Running Transaction”
}
{
“status”: “success”,
“steps”: -1,
“event”: “Transaction end”
}
{
“state”: “success”
}
[root@roy ~]#

Hi harry.

Whenever I build a new NethServer, the first thing I install is jq.

yum install -y jq

Never have problem after that to update via the GUI, except if you receive:

...
Erreur : Paquet : htmldoc-1.8.28-6.el7.x86_64 (epel)
             Requiert : urw-base35-fonts-legacy
...

then you install:

rpm -Uvh http://mirror.centos.org/centos/7/os/x86_64/Packages/urw-base35-fonts-legacy-20170801-10.el7.noarch.rpm

I’ll say as André: “My 2 cents”

Michel-André

1 Like

Michel-André,

Thanks for the advice. I never ran that command before, but doing so now, it says jq-1.6-1.el7.x86_64 already installed.

I installed the fonts package you recommended also.

Harry