Report this

What is the reason for this report?

I can't update my centos 7

Posted on August 26, 2015

when i use the command yum -y update. the problem is like this…

Downloading packages: No Presto metadata available for epel No Presto metadata avilable for base Failed to donwload prestodelta for repository update:[Errno 5][Errno 12] Cannot allocate memory

Error download packages:…



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

try

# yum --disableplugin=* <command>

and

# yum --setopt=deltarpm=0 <command>

Try to clear your system incl. Metadata and try afterwards. It could be caused because of wrong metadata:

sudo yum clean all

Your droplet does not have enough memory to update. You need to stop some services or expand your droplet. I faced this issue when running a LEMP stack with wordpress, mysql was crashing and I couldn’t update after a day of being on. This was on a 512mb $5 droplet.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.