Symptoms
Package updates fail due to a problem with the WP ToolKit yum repository.
Error: Failed to download metadata for repo 'wp-toolkit-cpanel': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Description
WP ToolKit's mirror was updated, and the baseurl needs to be updated.
Workaround
Update the baseurl in /etc/yum.repos.d/wp-toolkit-cpanel.repo for wp-toolkit-cpanel and wp-toolkit-thirdparties, replacing the old URL with one of the following, depending on your operating system.
[wp-toolkit-cpanel]
name=WP Toolkit for cPanel
baseurl=https://wp-toolkit.plesk.com/cPanel/CentOS-$OSVERSION-x86_64/latest/wp-toolkit/
enabled=1
gpgcheck=1
[wp-toolkit-thirdparties]
name=WP Toolkit third parties
baseurl=https://wp-toolkit.plesk.com/cPanel/CentOS-$OSVERSION-x86_64/latest/thirdparty/
enabled=1
gpgcheck=1
Replacing $OSVERSION with the version number of your CentOS, AlmaLinux or CloudLinux version (7 or 8)
Comments
0 comments
Article is closed for comments.