• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Yum update fails

madsere

Regular Pleskian
"yum update" on a new server fails:

# yum update
Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 3ES - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 3ES - Atomic Desktop
Server: Atomic Rocket Turtle - 3ES - Base OS RPMS mirror
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.0 RPMS
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.1 RPMS
Server: Atomic Rocket Turtle - 3ES - SW-Soft PSA 7.5 RPMS
Server: Atomic Rocket Turtle - 3ES - OS Update RPMS mirror
Finding updated packages
Downloading needed headers
Resolving dependencies
..Dependencies resolved
I will do the following:
[update: samba-client 3.0.9-1.3E.2.i386]
[update: php-pgsql 4.3.11-8.rhel3.art.i386]
[update: net-snmp-utils 5.0.9-2.30E.12.i386]
[update: courier-imap 3.0.8-rhel3.build75050506.13.i586]
[update: util-linux 2.11y-31.2.i386]
[update: rpm 4.2.3-10.i386]
[update: krb5-libs 1.2.7-42.i386]
[update: cyrus-sasl-gssapi 2.1.15-10.i386]
[update: openssh-server 3.9p1-2.rhel3.art.i386]
[update: samba-common 3.0.9-1.3E.2.i386]
[update: perl-Font-AFM 1.18-60psa.noarch]
[update: cpio 2.5-3e.3.i386]
[update: mysql-devel 4.0.24-2.rhel3.art.i386]
[update: net-tools 1.60-20E.1.i386]
[update: openldap 2.0.27-17.i386]
[update: libgcc 3.2.3-49.i386]
[update: vim-enhanced 1:6.3.046-0.30E.3.i386]
[update: cups-libs 1:1.1.17-13.3.27.i386]
[update: vim-minimal 1:6.3.046-0.30E.3.i386]
[update: libuser 0.51.7-1.EL3.3.i386]
[update: vixie-cron 3.0.1-75.1.i386]
[update: quota 1:3.10-4.i386]
[update: psa-logrotate 3.7-rhel3.build75050506.13.i586]
[update: procps 2.0.17-13.i386]
[update: up2date 4.2.57-2.centos.3.4.3.i386]
[update: filesystem 2.2.1-3.centos.1.i386]
[update: psa-proftpd 1.2.10-rhel3.build75050506.13.i586]
[update: mod_python 3.0.3-5.ent.i386]
[update: libxml2 2.5.10-7.i386]
[update: bind 20:9.2.4-7_EL3.i386]
[update: glibc 2.3.2-95.30.i386]
[update: tcl 8.3.5-92.2.i386]
[update: perl-CGI 2:2.81-89.10.i386]
[update: less 378-12.i386]
[update: perl-IO-Zlib 1.01-rhel3.build75050506.13.noarch]
[update: ntsysv 1.3.11-0.3.i386]
[update: perl 2:5.8.0-89.10.i386]
[update: mount 2.11y-31.2.i386]
[update: php-odbc 4.3.11-8.rhel3.art.i386]
[update: openssh-clients 3.9p1-2.rhel3.art.i386]
[update: php 4.3.11-8.rhel3.art.i386]
[update: psa-qmail-rblsmtpd 0.70-rhel3.build75050506.13.i586]
[update: e2fsprogs 1.32-15.1.i386]
[update: samba-swat 3.0.9-1.3E.2.i386]
[update: gd 1.8.4-12.3.1.i386]
[update: ntp 4.1.2-4.EL3.1.i386]
[update: grep 2.5.1-24.1.i386]
[update: sysklogd 1.4.1-12.3.i386]
[update: vim-common 1:6.3.046-0.30E.3.i386]
[update: psa-locale-base-en 7.1.7-rhel3.build71050228.12.noarch]
[update: fam 2.6.8-15.i386]
[update: python 2.2.3-6.1.i386]
[update: chkconfig 1.3.11-0.3.i386]
[update: tcsh 6.12-11.EL3.i386]
[update: hesiod 3.0.2-28.1.i386]
[update: telnet 1:0.17-26.EL3.2.i386]
[update: ncompress 4.2.4-38.i386]
[update: php-mysql 4.3.11-8.rhel3.art.i386]
[update: rhpl 0.110.6-1.centos.0.i386]
[update: basesystem 8.0-2.centos.0.noarch]
[update: perl-HTML-Tree 3.16-60psa.noarch]
[update: cyrus-sasl-md5 2.1.15-10.i386]
[update: popt 1.8.2-10.i386]
[update: procmail 3.22-9.centos.0.i386]
[update: perl-IO-Ftp 0.05-rhel3.build75050506.13.noarch]
[update: perl-DateManip 5.42a-0.rhel3.noarch]
[update: perl-MIME-Lite 2.117-rhel3.build75050506.13.noarch]
[update: iputils 20020927-11.30.1.i386]
[update: perl-Apache-ASP 2.57-rhel3.build75050506.13.noarch]
[update: man-pages 1.60-4.2.noarch]
[update: psa-proftpd-xinetd 1.2.10-rhel3.build75050506.13.i586]
[update: libcap 1.10-15.1.i386]
[update: Mambo 4.5.1a-1.noarch]
[update: samba 3.0.9-1.3E.2.i386]
[update: initscripts 7.31.18.EL-1.centos.1.i386]
[update: perl-MLDBM-Sync 0.30-60psa.noarch]
[update: libstdc++ 3.2.3-49.i386]
[update: indexhtml 1:3-1.centos.1.noarch]
[update: glibc-common 2.3.2-95.30.i386]
[update: libxml2-python 2.5.10-7.i386]
[update: bind-utils 20:9.2.4-7_EL3.i386]
[update: psa-qmail 1.03-rhel3.build75050506.13.i586]
[update: perl-DBI 1.32-9.i386]
[update: mysql-server 4.0.24-2.rhel3.art.i386]
[update: gzip 1.3.3-9.centos.0.i386]
[update: tcp_wrappers 7.6-34.1.i386]
[update: setuptool 1.13-1.centos.0.i386]
[update: caching-nameserver 7.3-3_EL3.noarch]
[update: perl-suidperl 2:5.8.0-89.10.i386]
[update: laus-libs 0.1-66RHEL3.i386]
[update: rhnlib 1.8-6.p22.noarch]
[update: cyrus-sasl-plain 2.1.15-10.i386]
[update: passwd 0.68-3.1.i386]
[update: perl-MLDBM 2.01-60psa.noarch]
[update: net-snmp 5.0.9-2.30E.12.i386]
[update: libxslt 1.0.33-5.i386]
[update: MAKEDEV 3.3.12.3-1.centos.0.i386]
[update: psa-key 7.5-rhel3.build75050506.13.noarch]
[update: xinetd 2:2.3.12-6.3E.i386]
[update: tzdata 2004e-1.EL.noarch]
[update: mysql 4.0.24-2.rhel3.art.i386]
[update: php-ldap 4.3.11-8.rhel3.art.i386]
[update: readline 4.3-5.2.i386]
[update: psa-bu 7.5.3-rhel3.build75050506.13.i586]
[update: pcre 3.9-10.1.i386]
[update: openssh 3.9p1-2.rhel3.art.i386]
[update: osCommerce 2.2ms2-7505.noarch]
[update: psa-courier-imap-add 7.5.3-rhel3.build75050506.13.i586]
[update: psa 7.5.3-rhel3.build75050506.13.i586]
[update: perl-FreezeThaw 0.43-60psa.noarch]
[update: SSHTerm 0.2.2-rhel3.build75050506.13.noarch]
[update: httpd 2.0.46-46.highfd.rhel3.art.i386]
[update: perl-Compress-Zlib 1.33-rhel3.build75050506.13.i586]
[update: libidn 0.4.2-rhel3.build75050506.13.i586]
[update: rpm-python 4.2.3-10.i386]
[update: perl-HTML-Format 1.23-50psa.noarch]
[update: curl 7.10.6-6.rhel3.i386]
[update: mod_ssl 1:2.0.46-46.highfd.rhel3.art.i386]
[update: dev 3.3.12.3-1.centos.0.i386]
[update: bash 2.05b-29.0.3.centos.0.i386]
[update: shadow-utils 2:4.0.3-22.02.i386]
[update: pam 0.75-62.i386]
[update: rsync 2.5.7-5.3E.i386]
[update: sendmail-cf 8.12.11-4.RHEL3.1.i386]
[update: libtiff 3.5.7-22.el3.i386]
[update: php-imap 4.3.11-8.rhel3.art.i386]
[update: openssl 0.9.7a-33.12.i386]
[update: cyrus-sasl 2.1.15-10.i386]
I will install/upgrade these to satisfy the dependencies:
[deps: php-mbstring 4.3.11-8.rhel3.art.i386]
[deps: psa-api-rpc 7.5.3-rhel3.build75050509.09.noarch]
[deps: rpm-libs 4.2.3-10.i386]
[deps: net-snmp-libs 5.0.9-2.30E.12.i386]
[deps: psa-locale-base-en-US 7.5.3-rhel3.build75050506.13.noarch]
[deps: gpm 1.19.3-27.2.i386]
[deps: psa-api-cli 7.5.3-rhel3.build75050506.13.noarch]
[deps: bind-libs 20:9.2.4-7_EL3.i386]
[deps: rh-postgresql-libs 7.3.9-2.i386]
[deps: psa-agent 1.3.4-75050509.09.noarch]
[deps: php-pear 4.3.11-8.rhel3.art.i386]
[deps: mysql-compat 4.0.24-2.rhel3.art.i386]
[deps: psa-api-common 7.5.3-rhel3.build75050506.13.noarch]
Is this ok [y/N]: y
Downloading Packages
Getting krb5-libs-1.2.7-42.i386.rpm
retrygrab() failed for:
http://3es.atomicrocketturtle.com/3rd-party/updates/3ES//RPMS/krb5-libs-1.2.7-42.i386.rpm
Executing failover method
failover: out of servers to try
Error getting file http://3es.atomicrocketturtle.com/3rd-party/updates/3ES//RPMS/krb5-libs-1.2.7-42.i386.rpm
[Errno 4] IOError: HTTP Error 404: Not Found

My /etc/yum.conf:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
exclude=kernel*


# THIS CHANNEL CONTAINS MY PSA COMPATIBLE RPMS (php, mysql, qmail-scanner, etc)
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/art/$releasever/

[psa-7.0]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.0 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.0/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.0/$releasever/

[psa-7.1]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.1 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.1/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.1/$releasever/

[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/psa-7.5/$releasever/

[atomic-desktop]
name=Atomic Rocket Turtle - $releasever - Atomic Desktop
baseurl=http://3es.atomicrocketturtle.com/atomic/desktop/$releasever/
baseurl=http://www.atomicrocketturtle.com/atomic/desktop/$releasever/

[base]
name=Atomic Rocket Turtle - $releasever - Base OS RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/base/$releasever/

[updates]
name=Atomic Rocket Turtle - $releasever - OS Update RPMS mirror
baseurl=http://3es.atomicrocketturtle.com/3rd-party/updates/$releasever/

I found if I comment the [updates] section out the update works ... but am I not missing some important updates if I do that?

I'm on RHEL/ES3
 
The reason this is happening is that ART has headers for the KRB* files, but they are not in that RPMs folder.

Shoot him an email and he'll take care of it.

The [updates] repository is for 3rd party updates, you could browse the folder to see if there are any in there you are actually using. They are not *critical*, they are not part of the core OS or Plesk CP.
 
As James stated the error is because of the headers being present and not the actual package. That being said, there are quite a few packages missing from that repo, and I would not be using it as your OS update mirror. Also, you should not have multiple repos for PSA. Use only the repo that matches your installed version of Plesk, a more sane yum.conf would look like this
[base]
name=CentOS-$releasever - Base
baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
gpgcheck=1

#released updates
[update]
name=CentOS-$releasever - Updates
baseurl=http://mirror.centos.org/centos/$releasever/updates/$basearch/
gpgcheck=1

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic
#baseurl=ftp://archive.atomicrocketturtle.com/pub/Linux/atomic/psa/$releasever/
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/

[atomic-psa-7.5]
name=Atomic Rocket Turtle - $releasever - Atomic PSA 7.5
#baseurl=ftp://archive.atomicrocketturtle.com/pub/Linux/atomic/psa-7.1/$releasever/
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
 
My personal opinion is: ART's repository is usually quite problem free. Any repository can have an occasional error. Everyone is free to choose what repo's they wish to use.

ART's repo contents normally will not break Plesk, I did a full yum update just a couple days before madsere and did not get any failures, nor have I ever had any Plesk server break due to his repo contents.

There have been many times where the only place I could find the updated I needed in his repos, and they were already set to integrate into Plesk, so no additional work on my part!

Personally I continue to stick by ART and his hard efforts. (Hearty Thank You to Scott!)
 
I think you misunderstood what I was saying James.

I am not saying to not use ART. I'm saying that his [updates] repo is not in sync, and that it shouldn't be relied on for OS updates, which from the looks of it, the OP was doing so.

I use ART, and have ever since Scott started it. Hell, I was his guinea pig for RPM's long before he started ART. His packages are usually great, and I recommend them to anyone.
 
I am hanging my head low :) You are right I mis-interpreted your post. Sorry.
 
Originally posted by serve-you.net
As James stated the error is because of the headers being present and not the actual package. That being said, there are quite a few packages missing from that repo, and I would not be using it as your OS update mirror. Also, you should not have multiple repos for PSA. Use only the repo that matches your installed version of Plesk, a more sane yum.conf would look like this

Good idea, however, the repos you suggest have already been changed. There are no /os/ or /updates/ subdirectories for centos anymore, now they're called 2.x, 3.x or 4.x - a total of some 10 directories.

Isn't there a sane working yum.conf available anywhere?
 
Back
Top