Author Topic: Can't update aynthing  (Read 874 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
Can't update aynthing
« on: July 05, 2024, 01:16:46 PM »
Just example of bind update,
is there any reason for that?

Thank you.

Code: [Select]
[root@srv etc]# yum update bind*
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: ftp.bme.hu
 * epel: mirrors.hostiserver.com
 * extras: ftp.bme.hu
 * remi-safe: remi.mirror.wearetriple.com
 * updates: ftp.bme.hu
http://ftp.bme.hu/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP 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://mirror.efect.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.m247.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nxthost.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://centos.uni-sofia.bg/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.hosterion.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.pidginhost.com/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nav.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.chroot.ro/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.niif.hu/centos/7.9.2009/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.bme.hu/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.efect.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.m247.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nxthost.com/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.uni-ruse.bg/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.hosterion.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.pidginhost.com/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nav.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.chroot.ro/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.niif.hu/centos/7.9.2009/extras/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://yum.mariadb.org/10.2/centos7-amd64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.efect.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.m247.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nxthost.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.neterra.net/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.hosterion.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.pidginhost.com/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.nav.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirrors.chroot.ro/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
http://mirror.niif.hu/centos/7.9.2009/updates/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
Trying other mirror.
Resolving Dependencies
--> Running transaction check
---> Package bind.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-export-libs.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-libs.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-libs.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-libs-lite.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-libs-lite.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-license.noarch 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-license.noarch 32:9.11.4-26.P2.el7_9.16 will be an update
---> Package bind-utils.x86_64 32:9.11.4-26.P2.el7_9.15 will be updated
---> Package bind-utils.x86_64 32:9.11.4-26.P2.el7_9.16 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

===============================================================================================================================================================================================================================================================================
 Package                                                             Arch                                                      Version                                                                        Repository                                                  Size
===============================================================================================================================================================================================================================================================================
Updating:
 bind                                                                x86_64                                                    32:9.11.4-26.P2.el7_9.16                                                       updates                                                    2.3 M
 bind-export-libs                                                    x86_64                                                    32:9.11.4-26.P2.el7_9.16                                                       updates                                                    1.1 M
 bind-libs                                                           x86_64                                                    32:9.11.4-26.P2.el7_9.16                                                       updates                                                    159 k
 bind-libs-lite                                                      x86_64                                                    32:9.11.4-26.P2.el7_9.16                                                       updates                                                    1.1 M
 bind-license                                                        noarch                                                    32:9.11.4-26.P2.el7_9.16                                                       updates                                                     92 k
 bind-utils                                                          x86_64                                                    32:9.11.4-26.P2.el7_9.16                                                       updates                                                    262 k

Transaction Summary
===============================================================================================================================================================================================================================================================================
Upgrade  6 Packages

Total download size: 5.1 M
Is this ok [y/d/N]: y
Downloading packages:
Delta RPMs disabled because /usr/bin/applydeltarpm not installed.
bind-9.11.4-26.P2.el7_9.16.x86 FAILED                                         
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/Packages/bind-9.11.4-26.P2.el7_9.16.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found                                                                                                       ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-libs-9.11.4-26.P2.el7_9.1 FAILED                                         
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/Packages/bind-libs-9.11.4-26.P2.el7_9.16.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found                                                                                                  ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
bind-export-libs-9.11.4-26.P2. FAILED                                         
http://ftp.bme.hu/centos/7.9.2009/updates/x86_64/Packages/bind-export-libs-9.11.4-26.P2.el7_9.16.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found                                                                                           ]  0.0 B/s |    0 B  --:--:-- ETA

...

Offline
*****
Re: Can't update aynthing
« Reply #1 on: July 06, 2024, 10:53:31 PM »
Now that CentOS 7.9 is EOL, you will encounter many repositories going offline. Time to ELevate to AlmaLinux 8.

Offline
*
Re: Can't update aynthing
« Reply #2 on: August 03, 2024, 01:13:45 AM »
Yum update was not working found this

as of July 1 repos url changed to VAULT archive repositories

Had to change Centos-Base.repo with following command:

vi /etc/yum.repos.d/CentOS-Base.repo

---------------then SNIP image of current config for safe keeping incase.

In file Replace everything under [base]

[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/7.9.2009/os/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[updates]
name=CentOS-$releasever - Updates
baseurl=http://vault.centos.org/7.9.2009/updates/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[extras]
name=CentOS-$releasever - Extras
baseurl=http://vault.centos.org/7.9.2009/extras/$basearch/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7

[centosplus]
name=CentOS-$releasever - Plus
baseurl=http://vault.centos.org/7.9.2009/centosplus/$basearch/
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7


I followed this guide and got my YUM update to work with new URLs:



https://serverfault.com/questions/904304/could-not-resolve-host-mirrorlist-centos-org-centos-7
-The Shoutcast Guru

Radio Streaming Since 2013, RadioDJ since 2016, and Linux-CWP since 2020.

Offline
*****
Re: Can't update aynthing
« Reply #3 on: August 03, 2024, 03:20:34 AM »
Or Sandeep has a one-liner here that will accomplish this:
https://www.alphagnu.com/topic/534-fix-centos-7-repo-due-to-eol-could-not-retrieve-mirrorlist/
Code: [Select]
curl -s -L https://www.alphagnu.com/upload/centos7-repo-fix.sh | bash

Offline
*
Re: Can't update aynthing
« Reply #4 on: August 03, 2024, 04:54:32 AM »
Very Nice, One Liner! Thank You for that share!
-The Shoutcast Guru

Radio Streaming Since 2013, RadioDJ since 2016, and Linux-CWP since 2020.