How to display the obsoleted packages and versions of a RPM?

  • A+
Categories:Linux

These days I patched some servers using a standard script and it run successfully on most nodes until last night.

It failed on two nodes and the primary issue was about the python34 package.

I got below messages from the log:

While there were other packages required them so they could not be removed.

The new replacing package named python3 and it is a 3.6 version, while I also found it worked well with python34 on other servers.

I thought maybe the newer python34 would not be obsoleted by the python3 package and it took me several hours to get below command:

It confirmed my conclusion clearly. :)

Comment

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: