Wrong rollout repo causes update failures
update process fails because non-existent rollout repos defined inside file /etc/yum.repos.d/centos7-els-rollout.repo
# yum update / dnf update / apt update
Waiting for process with pid 97980 to finish.
CentOS 7 ELS - Gradual Rollout Slot 1 11 kB/s | 153 B 00:00
Errors during downloading metadata for repository 'centos7els-rollout-1':
- Status code: 404 for https://els-rollout.tuxcare.com/slot-1/el/8/x86_64/repodata/repomd.xml (IP: 37.27.120.227)
Error: Failed to download metadata for repo 'centos7els-rollout-1': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
CentOS 7 ELS - Gradual Rollout Slot 2 10 B/s | 153 B 00:15
Errors during downloading metadata for repository 'centos7els-rollout-2':
- Status code: 404 for https://els-rollout.tuxcare.com/slot-2/el/8/x86_64/repodata/repomd.xml (IP: 37.27.120.227)
Error: Failed to download metadata for repo 'centos7els-rollout-2': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
CentOS 7 ELS - Gradual Rollout Slot 3 9.2 kB/s | 153 B 00:00
Errors during downloading metadata for repository 'centos7els-rollout-3':
- Status code: 404 for https://els-rollout.tuxcare.com/slot-3/el/8/x86_64/repodata/repomd.xml (IP: 37.27.120.227)
Error: Failed to download metadata for repo 'centos7els-rollout-3': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
CentOS 7 ELS - Gradual Rollout Slot 4 10 B/s | 153 B 00:15
Errors during downloading metadata for repository 'centos7els-rollout-4':
- Status code: 404 for https://els-rollout.tuxcare.com/slot-4/el/8/x86_64/repodata/repomd.xml (IP: 37.27.120.227)
Error: Failed to download metadata for repo 'centos7els-rollout-4': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
CentOS 7 ELS - Gradual Rollout Slot 5 10 B/s | 153 B 00:15
Errors during downloading metadata for repository 'centos7els-rollout-5':
- Status code: 404 for https://els-rollout.tuxcare.com/slot-5/el/8/x86_64/repodata/repomd.xml (IP: 37.27.120.227)
Error: Failed to download metadata for repo 'centos7els-rollout-5': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
CentOS 7 ELS - Gradual Rollout Slot 6 11 kB/s | 153 B 00:00
Errors during downloading metadata for repository 'centos7els-rollout-6':
- Status code: 404 for https://els-rollout.tuxcare.com/slot-6/el/8/x86_64/repodata/repomd.xml (IP: 37.27.120.227)
Error: Failed to download metadata for repo 'centos7els-rollout-6': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Ignoring repositories: centos7els-rollout-1, centos7els-rollout-2, centos7els-rollout-3, centos7els-rollout-4, centos7els-rollout-5, centos7els-rollout-6
Last metadata expiration check: 2:53:27 ago on Sun 08 Dec 2024 11:46:51 AM CET.
No match for argument: /
No match for argument: update
No match for argument: apt
Dependencies resolved.
Nothing to do.
Complete!
I have checked there are no "/8/" folders inside that url, only 6 and 7:
https://els-rollout.tuxcare.com/slot-1/el/
The server was a previous CentOS elevated to AlmaLinux
And beside the notification error there is a long list of pendent updates because that failure, like this:
Error:
Problem 1: cannot install the best update candidate for package bind-32:9.11.36-14.el8_10.x86_64
- nothing provides python-ply needed by bind-33:9.11.4-26.P2.el7_9.16.tuxcare.els4.x86_64 from centos7-els
Problem 2: package grub2-tools-extra-2:2.02-0.87.0.2.el7.el7.centos.14.tuxcare.els2.x86_64 from centos7-els requires grub2-tools = 2:2.02-0.87.0.2.el7.el7.centos.14.tuxcare.els2, but none of the providers can be installed
- cannot install the best update candidate for package grub2-tools-extra-1:2.02-156.el8.alma.1.x86_64
....
...etc
not sure if these repos can be deleted or there is a new repo required
Please, some help to fix this error
thanks!
-
Hey there! If the server has been updated to AlmaLinux 8 then you can remove those repositories from the machine as they are no longer needed.
0 -
thank you for the confirmation.
I have disabled all the centos7-els* repos and then the update was made without problems.
0
Please sign in to leave a comment.
Comments
2 comments