yum update: [Errno 14] PYCURL Error / [Errno 256] No Mirrors

General support questions
Post Reply
akak01000101
Posts: 5
Joined: 2018/09/19 22:08:45

yum update: [Errno 14] PYCURL Error / [Errno 256] No Mirrors

Post by akak01000101 » 2019/10/10 16:44:07

I have 5 servers built identically with CentOS 6.10 and one server errors out on a yum update when it hits the postgres repo.

# yum update
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Update Process
Determining fastest mirrors
epel/metalink | 16 kB 00:00
* epel: mirror.prgmr.com
base | 3.7 kB 00:00
base/primary_db | 3.7 MB 00:00
epel | 5.3 kB 00:00
epel/primary_db | 5.1 MB 00:00
extras | 3.3 kB 00:00
extras/primary_db | 20 kB 00:00
pgdg81 | 2.8 kB 00:00
http://yum.postgresql.org/8.1/redhat/rh ... sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
To address this issue please refer to the below wiki article

https://wiki.centos.org/yum-errors

If above article doesn't help to resolve this issue please use https://bugs.centos.org/.

http://yum.postgresql.org/8.1/redhat/rh ... sqlite.bz2: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Trying other mirror.
Error: failure: repodata/primary.sqlite.bz2 from pgdg81: [Errno 256] No more mirrors to try.

Code: Select all

# cat pgdg-81-centos.repo
[pgdg81]
name=PostgreSQL 8.1 $releasever - $basearch
baseurl=http://yum.postgresql.org/8.1/redhat/rhel-5-i386
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG

[pgdg81-source]
name=PostgreSQL 8.1 $releasever - $basearch - Source
failovermethod=priority
baseurl=http://yum.postgresql.org/srpms/8.1/redhat/rhel-5-i386
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG
Things I've done:
  • Connectivity to yum.postgresql.org and internet : Confirmed
  • /etc/yum.repos.d/pgdg-81-centos.repo : The same between all servers
  • yum.config.manager : Matches between all other servers
  • /etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG : Matches between all other servers
  • yum clean all; rm -r /var/cache/yum
Any Help is greatly appreciated
-Akak

User avatar
TrevorH
Forum Moderator
Posts: 27156
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: yum update: [Errno 14] PYCURL Error / [Errno 256] No Mirrors

Post by TrevorH » 2019/10/11 00:08:29

It's the wrong repo. That one appears to be for CentOS 5...

baseurl=http://yum.postgresql.org/8.1/redhat/rhel-5-i386
CentOS 6 will die in November 2020 - migrate sooner rather than later!
CentOS 5 has been EOL for nearly 3 years and should no longer be used for anything!
Full time Geek, part time moderator. Use the FAQ Luke

akak01000101
Posts: 5
Joined: 2018/09/19 22:08:45

Re: yum update: [Errno 14] PYCURL Error / [Errno 256] No Mirrors

Post by akak01000101 » 2019/10/11 00:13:02

Our application requires the version off the RHEL5 repo. As mentioned, 4 other servers have no issues with the update.

akak01000101
Posts: 5
Joined: 2018/09/19 22:08:45

Re: yum update: [Errno 14] PYCURL Error / [Errno 256] No Mirrors

Post by akak01000101 » 2019/10/11 01:50:54

Looking at: https://yum.postgresql.org 8.1 is no longer maintained and necessary files have been removed from the repo.

I believe the other 4 servers have the repo cached so I'm not seeing the issue (yet).

Post Reply

Return to “CentOS 6 - General Support”