11

Whenever I am trying to download

perl-ExtUtils-ParseXS-3.18-2.el7 RPM for noarch (or)

 yum install CPAN […]

Or

 yum install perl-ExtUtils-Embed...

Or any other package in CentOS.

It is seeing for dependencies then asking for confirmation (y) to download I am getting the below error:

No Presto metadata available for base

And trying for the mirror and getting the below message:

Error Downloading Packages.
1
  • Try disabling presto with yum --disableplugin=presto. If that doesn't help then try erasing presto with yum erase yum-presto. See if that helps.
    – tale852150
    May 4, 2016 at 21:55

3 Answers 3

39

Try running:

sudo yum clean all
2
  • 1
    worked like a charm. I had jenkins installed already and after removing it, could it install it again with deltarpm and Presto issues. With just clean all, able to reinstall jenkins. thanks.. Feb 28, 2019 at 14:28
  • this solution didnt work for me for php72-php-fpm @remi .
    – blamb
    Mar 17, 2020 at 22:28
1

Yum is designed to support DeltaRPM (Presto), however we currently do not use this feature in the Red Hat Repositories.

Disable the warning by editing /etc/yum.conf and add or change the following:

deltarpm=0

From: https://access.redhat.com/solutions/3141231

0

Also, check if the URL in the repo is a valid one and is still working.

In OL /etc/yum.repos.d/[your-repo-name].repo

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.