yum doesn't remove old package files

Michael Schwendt mschwendt at gmail.com
Thu Nov 29 12:09:29 UTC 2007

On 29/11/2007, Nico Sabbi wrote:
> Hi,
> a proof of $Subject:
> [nico at nico2 ~]$ rpm -qa | grep -i firefox
> firefox-
> firefox-
> [root at nico2 ~]# du -sh /usr/lib/firefox-2.0.0.*
> 6,8M    /usr/lib/firefox-
> 20K     /usr/lib/firefox-
> 43M     /usr/lib/firefox-
> Obviously
> rpm -qif on /usr/lib/firefox- and on /usr/lib/firefox-
> reported that the directories weren't owned by any package.

You draw wrong conclusions. The directories _are_ owned by the firefox
package with the corresponding version. It's just that when the old
package was removed, the directory was not empty and contained _files_
that don't belong into the firefox package, and RPM _can't_ remove the
directory then. So, what files do you still find in the two old

> Why aren't these files removed? I run yum clean all regularly.

"yum clean all" is completely unrelated.

More information about the fedora-list mailing list