Question about using yum to install epel package on CentOS 7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While testing a script that installs packages, I ran into a situation where I seem to have to (or can) install the epel package twice in a row (and get different results).

This may actually be a package handler (rpm, yum) issue, but it only happens with epel-release, so maybe someone in the epel community can explain this to me.

Normally when one tries to install a package that’s already installed, yum will tell you “package already installed, nothing to do”.

 

However, when I do that with epel-release, after a first install, it will accept a second install as well (details below), installing something different, and only on the 3rd install it will say “package already installed, nothing to do”.

To demonstrate this I will first do (so as to start from scratch):

sudo yum –y remove epel-release

 

(this will remove the package, and it tells you it has done so. I actually did this twice, but the 2nd time it told me there was nothing to remove).

 

 

Then run

 

sudo yum –y install epel-release

 

It will tell you: “Installed:              epel-release.noarch 0:7-9”

 

I would have expected it to install whatever is the latest release, however if I then immediately run the SAME command:

sudo yum –y install epel-release

It tells me:

  Updating   : epel-release-7-10.noarch

  Cleanup    : epel-release-7-9.noarch

  Verifying  : epel-release-7-10.noarch

  Verifying  : epel-release-7-9.noarch

 

Updated:

  epel-release.noarch 0:7-10


Why didn’t it install 7-10 the very first time I ran yum install?
Why do I, seeminly, have to run yum install twice to get the latest version?

Can someone shed a light on this?

 


Log file of this all attached,

~ Paul Claessen

Attachment: yum.log
Description: yum.log

_______________________________________________
epel-devel mailing list -- epel-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to epel-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Announce]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Linux Apps]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux