yum >= 3.4.3-70: yum check reports "X has installed obsoletes Y"

Michael Schwendt mschwendt at gmail.com
Thu Mar 7 21:03:55 UTC 2013


On Thu, 07 Mar 2013 21:36:12 +0100, Sandro Mani wrote:

> >> It started with yum-3.4.3-70.fc19. Is this a bug in yum >= 3.4.3-70, or
> >> is this a problem with my rpm db? Both yum erase and rpm -e <reported
> >> installed obsolete package> tell me that the indicated package is not
> >> installed.
> > You misread the output. It tells which "Obsoletes" tags are found in
> > packages. For example:
> >
> >    $ rpm --query --obsoletes fedora-logos
> >    redhat-logos
> >    gnome-logos
> >
> > It doesn't ask you to uninstall anything. ;)
> >
> Uhm, ok, but why is this something yum suddenly wants to report?

The Yum changelog is not detailed enough to tell, but rpmsack.py considers
these as "problems". I think normal installing/updating with Yum also
prints those warnings. As a guess, it could be these are all for "strange"
Obsoletes/Provides pairs that aren't specific enough, or confusing, or lacking
versions. Such as:

rpcbind-0.2.0-21.fc19.x86_64 has installed obsoletes portmap <= ('0', '4.0', '65.3'): rpcbind-0.2.0-21.fc19.x86_64

  $ rpm -q --obsoletes rpcbind|grep port
  portmap <= 4.0-65.3
  $ rpm -q --provides rpcbind|grep port
  portmap = 0.2.0-21.fc19

In other words, it obsoletes itself due to the versions that are specified.

-- 
Fedora release 19 (Rawhide) - Linux 3.9.0-0.rc0.git15.1.fc19.x86_64
loadavg: 0.15 0.18 0.14


More information about the devel mailing list