caching downloaded packages

Andreas Hanke andreas.hanke at gmx-topmail.de
Sun Mar 25 02:20:05 PDT 2007


Hi,

Pascal Bleser schrieb:
> The trick is as follows:
> rpm -e --nodeps xulrunner
> smart install xulrunner

No, this won't work for xulrunner because xulrunner leaves unpackaged
files behind.

Again: In the original package, /usr/lib64/xulrunner-1.8.1 is a real
directory with some files in it. In the new package it is a symlink to a
different directory. Now you assume that "rpm -e --nodeps xulrunner"
gets rid of the old directory so that the new package can place its
symlink there, but this is not true because /usr/lib64/xulrunner-1.8.1
contains files which are not owned by any package. Therefore, "rpm -e
--nodeps xulrunner" does *not* allow installing the symlink.

Possible solution: Run "rm -rf /usr/lib64/xulrunner-1.8.1" before the
update. Even better solution: Simply don't use this package, the
packager himself obviously never tried to install it and therefore it is
not a trustworthy package.

Andreas Hanke



More information about the Smart mailing list