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-2.0.0.9-1.fc8
> firefox-2.0.0.9-1.fc8
>
> [root at nico2 ~]# du -sh /usr/lib/firefox-2.0.0.*
> 6,8M    /usr/lib/firefox-2.0.0.6
> 20K     /usr/lib/firefox-2.0.0.8
> 43M     /usr/lib/firefox-2.0.0.9
>
> Obviously
> rpm -qif on /usr/lib/firefox-2.0.0.6 and on /usr/lib/firefox-2.0.0.8
> 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
directories?

> 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