Resolved AlmaLinux 9 - Update Error

JohnnyU

Basic Pleskian
Server operating system version
AlmaLinux 9
Plesk version and microupdate number
Version 18.0.71 Update #2
Hi,

I just installed Plesk with AlmaLinux 9 and then tried to update it and got this error below.

Code:
Install   4 Packages
Upgrade  63 Packages

Total download size: 143 M
Is this ok [y/N]: y
Downloading Packages:
(1/67): kernel-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                               6.7 MB/s | 1.8 MB     00:00   
(2/67): kernel-core-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                           33 MB/s |  18 MB     00:00   
(3/67): kernel-modules-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                        43 MB/s |  39 MB     00:00   
(4/67): kernel-modules-core-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                   16 MB/s |  31 MB     00:01   
(5/67): NetworkManager-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                              1.4 MB/s | 2.3 MB     00:01   
(6/67): NetworkManager-config-server-1.52.0-5.el9_6.noarch.rpm                                                                                                                                                                                6.5 kB/s | 8.5 kB     00:01   
(7/67): NetworkManager-libnm-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                         13 MB/s | 1.9 MB     00:00   
(8/67): NetworkManager-team-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                         190 kB/s |  28 kB     00:00   
(9/67): NetworkManager-tui-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                          1.0 MB/s | 237 kB     00:00   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
(10/67): elfutils-default-yama-scope-0.192-6.el9_6.alma.1.noarch.rpm                                                                                                                                                                           75 kB/s | 8.5 kB     00:00   
(11/67): elfutils-libelf-0.192-6.el9_6.alma.1.x86_64.rpm                                                                                                                                                                                      337 kB/s | 203 kB     00:00   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
(12/67): elfutils-libs-0.192-6.el9_6.alma.1.x86_64.rpm                                                                                                                                                                                        422 kB/s | 260 kB     00:00   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
(13/67): kernel-tools-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                        7.4 MB/s | 2.1 MB     00:00   
(14/67): kernel-tools-libs-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                   4.8 MB/s | 1.8 MB     00:00   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
[FAILED] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success                                                                                                                                 
(16-17/67): kexec-tools-2.0.29-5.el9_6.2.x86_64.rpm                                                                 68% [==============================================================================-                                    ]  23 MB/s |  98 MB     00:01 ETA
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'yum clean packages'.
Error: Error downloading packages:
  elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64: Cannot download, all mirrors were already tried without success
[root@cranky-lumiere ~]#
 
The relevant part is:
Code:
Status code: 404 ... elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm
It means that in the mirror you are using the required resource does not exist.

You can try to refresh the dnf cache, e.g.
Code:
dnf clean all
rm -rf /var/cache/dnf
dnf makecache
dnf update

Then you should try to refresh the package data, e.g.
Code:
dnf upgrade --refresh

If this still doesn't fix it, you can try to force dnf to use a different mirror:
Code:
dnf config-manager --set-enabled baseos
dnf config-manager --set-enabled appstream
dnf clean all
dnf --disablerepo='*' --enablerepo=baseos,appstream update
 
In the end I installed the updates from Plesk and selected all the other packages except for elfutils and it was a success
I also noticed that on this fresh install I get the message below in the Updates page, would this be related the other issue?

Repository appstream is listed more than once in the configuration
Repository appstream-debuginfo is listed more than once in the configuration
Repository appstream-source is listed more than once in the configuration
Repository baseos is listed more than once in the configuration
Repository baseos-debuginfo is listed more than once in the configuration
Repository baseos-source is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-debuginfo is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration

In /etc/yum.repos.d I have the files below:
 

Attachments

  • Plesk.png
    Plesk.png
    60.6 KB · Views: 4
Did you follow any of the recommended steps that I have painstakingly put together for you?
 
Did you follow any of the recommended steps that I have painstakingly put together for you?
Of course but unfortunately I got the same error

Code:
Total download size: 119 M
Is this ok [y/N]: Yes
Downloading Packages:
(1/32): kernel-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                                24 MB/s | 1.8 MB     00:00   
(2/32): kernel-core-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                           81 MB/s |  18 MB     00:00   
(3/32): kernel-modules-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                        99 MB/s |  39 MB     00:00   
(4/32): NetworkManager-config-server-1.52.0-5.el9_6.noarch.rpm                                                                                                                                                                                 46 kB/s | 8.5 kB     00:00   
(5/32): kernel-modules-core-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                   53 MB/s |  31 MB     00:00   
(6/32): NetworkManager-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                              5.3 MB/s | 2.3 MB     00:00   
(7/32): NetworkManager-libnm-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                         22 MB/s | 1.9 MB     00:00   
(8/32): NetworkManager-team-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                         583 kB/s |  28 kB     00:00   
(9/32): NetworkManager-tui-1.52.0-5.el9_6.x86_64.rpm                                                                                                                                                                                          5.6 MB/s | 237 kB     00:00   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
(10/32): elfutils-default-yama-scope-0.192-6.el9_6.alma.1.noarch.rpm                                                                                                                                                                          939 kB/s | 8.5 kB     00:00   
(11/32): elfutils-libelf-0.192-6.el9_6.alma.1.x86_64.rpm                                                                                                                                                                                       15 MB/s | 203 kB     00:00   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
(12/32): elfutils-libs-0.192-6.el9_6.alma.1.x86_64.rpm                                                                                                                                                                                         32 MB/s | 260 kB     00:00   
(13/32): kernel-tools-5.14.0-570.37.1.el9_6.x86_64.rpm                                                                                                                                                                                        112 MB/s | 2.1 MB     00:00   
[MIRROR] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: Status code: 404 for https://mirror.leaseweb.com/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm (IP: 207.244.94.80)                                   
[FAILED] elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success                                                                                                                                 
(15/32): kernel-tools-libs-5.14.0-570.37.1.el9_6.x86_64.rpm                                                         81% [=============================================================================================-                     ]  93 MB/s |  97 MB     00:00 ETA
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Error downloading packages:
  elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64: Cannot download, all mirrors were already tried without success
[root@boring-almeida ~]#
 
I'm installing a new VPS from Leaseweb so I can reinstall it until it works

If you have other suggestion let me know and I will try and report back
In Plesk Update I see this message which is unexpected for a fresh install

Repository appstream is listed more than once in the configuration
Repository appstream-debuginfo is listed more than once in the configuration
Repository appstream-source is listed more than once in the configuration
Repository baseos is listed more than once in the configuration
Repository baseos-debuginfo is listed more than once in the configuration
Repository baseos-source is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-debuginfo is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
 

Attachments

  • Plesk Update.png
    Plesk Update.png
    57 KB · Views: 6
Why is the system still using the same mirror?
I have no idea, I ran the commands that you have posted in order 4-5 times on different installs

The file was there, I could download it from my Windows browser but for some reason even using the Plesk updater I would get an error
After many tries this is what worked: using the IP address of mirror.leaseweb.com, adding quotes around the address and no check for certificate

Code:
wget "https://37.58.58.140/almalinux/9/BaseOS/x86_64/os/Packages/elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm" --no-check-certificate

yum install elfutils-debuginfod-client-0.192-6.el9_6.alma.1.x86_64.rpm
 
Back
Top