yum update on CentOS 7 error

General support questions
Post Reply
Knath
Posts: 1
Joined: 2023/08/03 15:40:26

yum update on CentOS 7 error

Post by Knath » 2023/08/03 16:09:02

I have a CentOS 7 server that needs to be updated, but I keep getting errors when trying to update.
I tried running the suggested “yum –enablerepo=artica_pandorafms clean metadata” but it still fails ?

[root@centos]# yum update
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: download.cf.centos.org
* epel: d2lzkl7pfhq30w.cloudfront.net
* extras: download.cf.centos.org
* remi-php74: mirror.netweaver.uk
* remi-safe: mirror.netweaver.uk
* updates: download.cf.centos.org
Resolving Dependencies
--> Running transaction check
---> Package pandorafms_agent_unix.x86_64 0:7.0NG.767-221209 will be updated
---> Package pandorafms_agent_unix.noarch 0:7.0NG.769-230217 will be an update
--> Finished Dependency Resolution
Dependencies Resolved

Upgrade 1 Package
Total download size: 290 k
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
pandorafms_agent_linux-7.0NG.7 FAILED
h--p://firefly.artica.es/centos7/pandorafms_agent_linux-7.0NG.769.noarch.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=artica_pandorafms clean metadata
Trying other mirror.
Error downloading packages:
pandorafms_agent_unix-7.0NG.769-230217.noarch: [Errno 256] No more mirrors to try.

How can I fix this problem so I can update ?
Thank you in advance.

User avatar
TrevorH
Site Admin
Posts: 33221
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update on CentOS 7 error

Post by TrevorH » 2023/08/03 16:52:32

That's not a CentOS repo. I would just disable it for now - temporarily by adding --disablerepo=artica_pandorafms to your yum command or permanently by editing the /etc/yum.repos.d/ .repo file that is for that repo and changing enabled=1 to 0 and saving it.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply