• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

update error

M

mikey2

Guest
Hey guys, I'm new to Plesk and could use some advise.

Ever since the last update I got, whenever I try to update, I'm now getting the error;

Error: Error: Failed to download the package http://yum.theplanet.com/5.4/os/x86_64/repodata/repomd.xml:
The requested URL returned error: 404
Not all packages were installed.
Please try installing packages again later.
Please resolve this issue and try installing the packages again.
If you cannot resolve the issue on your own, contact product technical support for assistance.

Anyone know how I can fix?

After I got this error, I tried to update thru yum but yum complained that there were dependency issues with MySQL and PHP.

TIA
 
Seems you have custom /etc/yum.repos.d/CentOS-Base.repo and /etc/yum.repos.d/CentOS-Media.repo repository list on your server. Try to change it to default.
 
I have the EXACT same error. How do we change the url to the repomd.xml

???
 
I found this command: /usr/local/psa/admin/sbin/autoinstaller --show-additional-sources
...gives this output:
Type Priority URL
repomd 1 http://yum.theplanet.com/5.4/os/i386/


How do I change the url without breaking my Plesk install??

Thanks!
 
Okay, I found the fix, Mikey!!!

There is a hidden file you need to edit:

pico -w /root/.autoinstallerrc

change the:
ADDITIONAL_SOURCE="repomd, 1, http://yum.theplanet.com/5.4/os/i386/"

to:
ADDITIONAL_SOURCE="repomd, 1, http://yum.theplanet.com/5/os/i386/"

..and you're GOLDEN! :D

You're welcome.
 
Back
Top