yum doesn't remove old package files

Nico Sabbi Nicola.Sabbi at poste.it
Thu Nov 29 16:33:21 UTC 2007


Il Thursday 29 November 2007 13:39:30 Jorge Fábregas ha scritto:
> On Thursday 29 November 2007 08:09:29 am Michael Schwendt wrote:
> > 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.
>
> That's a good one Michael. I never thought about this.  That's
> pretty sure his problem.
>
> Nico: Try to recreate the problem. Uninstall all your firefox
> versions and instlal the stock one. Then put some file in the
> firefox directory and then run yum update. See if the old directory
> is there...  Do it again without putting the file in the directory
> and notice that is removed when you upgrade...
>
> Jorge

$ rpm -qa | grep -i firefox
firefox-2.0.0.10-1.fc8
firefox-2.0.0.10-1.fc8

$ls -laR /usr/lib/firefox-2.0.0.9/
/usr/lib/firefox-2.0.0.9/:
totale 88
drwxr-xr-x  3 root root  4096 29 nov 17:26 .
drwxr-xr-x 70 root root 73728 29 nov 17:25 ..
drwxr-xr-x  3 root root  4096 27 nov 14:41 updates

/usr/lib/firefox-2.0.0.9/updates:
totale 12
drwxr-xr-x 3 root root 4096 27 nov 14:41 .
drwxr-xr-x 3 root root 4096 29 nov 17:26 ..
drwxr-xr-x 2 root root 4096 27 nov 14:42 0

/usr/lib/firefox-2.0.0.9/updates/0:
totale 8
drwxr-xr-x 2 root root 4096 27 nov 14:42 .
drwxr-xr-x 3 root root 4096 27 nov 14:41 ..




More information about the users mailing list