Jump to content

yum update not working


Recommended Posts

For some reason when I run

yum update

I am getting a load of errors and it fails.

http://mirrors.einstein.yu.edu/epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

http://mirrors.kernel.org/fedora-epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

http://mirrors.ptd.net/epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 403: Forbidden
Trying other mirror.

http://mirrors.rit.edu/epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

http://mirrors.servercentral.net/fedora/epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

http://mirrors.solfo.com/epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

http://mirrors.syringanetworks.net/fedora-epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

http://mirrors.tummy.com/pub/fedora.redhat.com/epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

http://mirrors.xmission.com/fedora/epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 403: Forbidden
Trying other mirror.

http://www.gtlib.gatech.edu/pub/fedora-epel/5/i386/repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2: HTTP Error 404: Not Found
Trying other mirror.

Error: failure: repodata/b5b28ffc2fc4e7564d11065c835f59dcd6a6b95b-primary.sqlite.bz2 from epel: No more mirrors to try.

 

Link to post
Share on other sites
  • 2 years later...

Okay today, having a bad day.  Tried to do an yum update and it locked out my user account. 

dhosang@usdet1lvdwb001:$ sudo yum update -y
Loaded plugins: fastestmirror, product-id, search-disabled-repos
Determining fastest mirrors
Could not get metalink https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=x86_64&infra=stock&content=centos error was
14: curl#22 - "Invalid file descriptor"
 * base: mirror.dal.nexril.net
 * centos-sclo-rh: centos.mirrors.tds.net
 * centos-sclo-sclo: repos.lax.layerhost.com
 * epel: mirror.arizona.edu
 * extras: centos.mirrors.tds.net
 * remi-php72: mirror.team-cymru.com
 * remi-safe: mirror.team-cymru.com
 * rpmfusion-free-updates: mirror.math.princeton.edu
 * updates: repos.mia.quadranet.com
https://ci.tuleap.net/yum/tuleap/rhel/6/dev/x86_64/repodata/repomd.xml: [Errno 14] curl#22 - "Invalid file descriptor"
Trying other mirror.
http://mirror.chpc.utah.edu/pub/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 407 - Proxy Authentication Required
Trying other mirror.
http://centos.mirror.lstn.net/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 407 - Proxy Authentication Required
Trying other mirror. 

The above is definitely cut down from the pages long of Proxy Authentication Required error messages that eventually locks my account out.

So once I unlocked the account that is displayed when I type echo $http_proxy I do a quick test to see if I have internet access by running:

dhosang@usdet1lvdwb001:$ curl -I https://thezah.com
HTTP/1.1 200 Connection established

HTTP/1.1 200 OK
Date: Wed, 02 Dec 2020 18:56:36 GMT
Content-Type: text/html;charset=UTF-8
Pragma: no-cache
X-IPS-LoggedIn: 0
Vary: cookie,Accept-Encoding,User-Agent
X-XSS-Protection: 0
X-Frame-Options: sameorigin
Expires: Wed, 02 Dec 2020 18:57:06 GMT
Cache-Control: max-age=30, public
Last-Modified: Wed, 02 Dec 2020 18:56:36 GMT
CF-Cache-Status: DYNAMIC
cf-request-id: 06c66958fd0000f36115800000000001
Expect-CT: max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
Report-To: {"endpoints":[{"url":"https:\/\/a.nel.cloudflare.com\/report?s=8ihM44Rlq7k6fVvaopR4jDTQ6o5jmyxqBw4Lkp%2B2TKsSw4dqrJ1IWbMRD%2FMy%2Fp9pnYGRTyUMgWdMbbQNcNWfIiHIIS9qDhdN1ux9"}],"group":"cf-nel","max_age":604800}
NEL: {"report_to":"cf-nel","max_age":604800}
Server: cloudflare
CF-RAY: 5fb744d4cb58f361-ATL
Proxy-Connection: Keep-Alive
Connection: Keep-Alive
Set-Cookie: __cfduid=d75cc7060b11361cce1c54a2cf72f113d1606935396; expires=Fri, 01-Jan-21 18:56:36 GMT; path=/; domain=.thezah.com; HttpOnly; SameSite=Lax; Secure
Set-Cookie: ips4_IPSSessionFront=49e2f0fb3cb3740e6db92fccb9b7b35c; path=/; secure; HttpOnly
Set-Cookie: ips4_guestTime=1606935396; path=/; secure; HttpOnly

All that is really important is that you got HTTP/1.1 200 OK

So what's next.. you proved that you can get to the internet fine but your yum update or yum upgrade is failing proxy authentication.

Try doing a search for something like wireshark

dhosang@usdet1lvdwb001:~$ sudo yum search wireshark
Loaded plugins: fastestmirror, product-id, search-disabled-repos
Loading mirror speeds from cached hostfile
 * base: mirror.dal.nexril.net
 * centos-sclo-rh: centos.mirrors.tds.net
 * centos-sclo-sclo: repos.lax.layerhost.com
 * epel: mirror.arizona.edu
 * extras: centos.mirrors.tds.net
 * remi-php72: mirror.team-cymru.com
 * remi-safe: mirror.team-cymru.com
 * rpmfusion-free-updates: mirror.math.princeton.edu
 * updates: repos.mia.quadranet.com
=========================================================================== N/S matched: wireshark ============================================================================
wireshark-devel.i686 : Development headers and libraries for wireshark
wireshark-devel.x86_64 : Development headers and libraries for wireshark
wireshark-gnome.x86_64 : Gnome desktop integration for wireshark
wireshark.i686 : Network traffic analyzer
wireshark.x86_64 : Network traffic analyzer

  Name and summary matches only, use "search all" for everything.

This clearly shows that yum is getting through the proxy...  but wait, you still are getting proxy authentication errors when trying to do a yum update?

Link to post
Share on other sites
×
×
  • Create New...