CentOS 7 - cPanel ELevate to AlmaLinux 8 Errors - Unknown error while checking blockers: Unable to backup EA4 profile
Answeredfailure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://asi-fs-n.contabo.net/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
* 2024-08-19 11:15:47 [WARN] Running "yum clean all" in an attempt to fix yum
* 2024-08-19 11:15:47 [INFO] Running: /usr/bin/yum clean all
* 2024-08-19 11:15:47 [INFO]
* 2024-08-19 11:15:47 [INFO] Loaded plugins: fastestmirror, universal-hooks
* 2024-08-19 11:15:47 [INFO] Cleaning repos: EA4 cpanel-addons-production-feed cpanel-plugins MariaDB103 base
* 2024-08-19 11:15:47 [INFO] : centos7-els centos7els-rollout-1 centos7els-rollout-2
* 2024-08-19 11:15:47 [INFO] : centos7els-rollout-3 centos7els-rollout-4 centos7els-rollout-5
* 2024-08-19 11:15:47 [INFO] : centos7els-rollout-6 docker-ce-stable epel extras imunify360
* 2024-08-19 11:15:47 [INFO] : imunify360-rollout-1 imunify360-rollout-2 imunify360-rollout-3
* 2024-08-19 11:15:47 [INFO] : imunify360-rollout-4 imunify360-rollout-5 imunify360-rollout-6
* 2024-08-19 11:15:47 [INFO] : imunify360-rollout-7 imunify360-rollout-8 updates
* 2024-08-19 11:15:47 [INFO] : wp-toolkit-cpanel wp-toolkit-thirdparties
* 2024-08-19 11:15:47 [INFO] Cleaning up list of fastest mirrors
* 2024-08-19 11:15:47 [INFO] Other repos take up 12 M of disk space (use --verbose for details)
* 2024-08-19 11:15:47 [INFO]
* 2024-08-19 11:15:50 [ERROR] '/usr/bin/yum makecache' failed to return cleanly. This could be due to a temporary mirror problem, or it could indicate a larger issue, such as a broken repository. Since this script relies heavily on yum, you will need to address this issue before upgrading.If you need assistance, open a ticket with cPanel Support, as outlined here:
https://docs.cpanel.net/knowledge-base/technical-support-services/how-to-open-a-technical-support-ticket/
* 2024-08-19 11:15:50 [ERROR] http://asi-fs-n.contabo.net/centos/7/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 articlehttps://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
One of the configured repositories failed (CentOS-7-Base),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:1. Contact the upstream for the repository and get them to fix the problem.
2. Reconfigure the baseurl/etc. for the repository, to point to a working
upstream. This is most often useful if you are using a newer
distribution release than is supported by the repository (and the
packages for the previous distribution release still work).3. Run the command with the repository temporarily disabled
yum --disablerepo=base ...4. Disable the repository permanently, so yum won't use it by default. Yum
will then just ignore the repository until you permanently enable it
again or use --enablerepo for temporary usage:yum-config-manager --disable base
or
subscription-manager repos --disable=base5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:yum-config-manager --save --setopt=base.skip_if_unavailable=true
failure: repodata/repomd.xml from base: [Errno 256] No more mirrors to try.
http://asi-fs-n.contabo.net/centos/7/os/x86_64/repodata/repomd.xml: [Errno 14] HTTP Error 404 - Not Found
* 2024-08-19 11:15:50 [INFO] Checking EasyApache profile compatibility with AlmaLinux 8.
* 2024-08-19 11:15:51 [INFO] Running: /usr/local/bin/ea_current_to_profile --target-os=CentOS_8 --output=/tmp/dAiehzOBpX/ea_profile.json
* 2024-08-19 11:15:52 [WARN] Unknown error while checking blockers: Unable to backup EA4 profile. Failure from /usr/local/bin/ea_current_to_profile --target-os=CentOS_8 --output=/tmp/dAiehzOBpX/ea_profile.json at /scripts/elevate-cpanel line 6444.
* 2024-08-19 11:15:52 [WARN] Please fix the detected issues before performing the elevation process.
Read More: https://cpanel.github.io/elevate/blockers/
-
Hey there! This looks like an issue with that particular mirror as http://asi-fs-n.contabo.net/centos/7/os/x86_64/repodata/repomd.xml is a dead link for me. Since CentOS 7 is no longer supported, you'll likely need to switch to the vault repos in order for things to work:
but you may need to contact Contabo to see what their official recommendation is on this situation.
1 -
This worked without issues thank you cPRex.
I replaced everything in "/etc/yum.repos.d/CentOS-Base.repo
" with the links below and did "yum clean all && yum makecache"
Thanks again[base]
name=CentOS-$releasever - Base
baseurl=https://vault.centos.org/7.9.2009/os/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#released updates
[updates]
name=CentOS-$releasever - Updates
baseurl=https://vault.centos.org/7.9.2009/updates/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that may be useful
[extras]
name=CentOS-$releasever - Extras
baseurl=https://vault.centos.org/7.9.2009/extras/$basearch
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-7
#additional packages that extend functionality of existing packages
[centosplus]
name=CentOS-$releasever - Plus
baseurl=https://vault.centos.org/7.9.2009/centosplus/$basearch
gpgcheck=1
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-70 -
Awesome - glad to hear that helped!
0
Please sign in to leave a comment.
Comments
3 comments