Error on software update

NethServer Version: 7.9.2009
Module: Software Center

My situation is the same reported here , but there doesn’t seem to be a solution there.

When I update software or perform service configuration changes I always get this “System not updated” message, but the changes appear to be made and the command it gives always shows no errors:

[root@neth ~]# 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”
}

What does yum update output say, into a terminal?

[root@neth ~]# yum update
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

I’d try a yum clean all, then try again yum update

1 Like

Thanks for the tip. After running those commands I see this error:

http://it1.mirror.vhosting-it.com/centos/7.9.2009/os/x86_64/repodata/6d0c3a488c282fe537794b5946b01e28c7f44db79097bb06826e1c0c88bad5ef-primary.sqlite.bz2: [Errno -1] Metadata file does not match checksum
Trying other mirror.

Which led me to someone else having a similar problem: Slow update, yum error - #2 by dnutan

I deleted that file and re-ran the yum commands, the error did not pop up again. I’ll report back next time I do a system update. :slight_smile:

It’s not that uncommon to have one or more mirrors that are not available.
Even if look healty on mirmon
http://mirror-status.nethserver.org/
Anyway… happened, happens, will happen again. Usually one or two hours later CentOS 7 found a way around the not cooperative mirror :slight_smile: