caching downloaded packages
Pascal Bleser
pascal.bleser at skynet.be
Sat Mar 24 16:43:54 PDT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mikus Grinbergs wrote:
> Smart 0.50, 64-bit SuSE 10.0.
>
> Doing a 'smart upgrade', I see the message: error - unpacking of
> archive failed on file /usr/lib64/xulrunner-1.8.1; cpio: rename
> failed - Resource temporarily unavailable
>
> If I repeat the 'smart upgrade' it downloads the file again (before
> hitting that same error). How come the downloaded file is not being
> left in /var/lib/smart/packages ?
It's not related to smart, actually, but to a cpio limitation (which is
what rpm is using as its internal archive format).
The problem comes from a symbolic link in the current version of the
package being overwritten by a real directory in the newer version of
that package (or the opposite, I don't remember).
The trick is as follows:
rpm -e --nodeps xulrunner
smart install xulrunner
(or "xulrunner181" instead of "xulrunner", I don't remember which one it
was ;))
cheers
- --
-o) Pascal Bleser http://linux01.gwdg.de/~pbleser/
/\\ <pascal.bleser at skynet.be> <guru at unixtech.be>
_\_v The more things change, the more they stay insane.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFGBbe6r3NMWliFcXcRAtzTAKCEMPG9ibx8jzEeE0A7p7G12lMAWQCbBMeg
5ErZBfqsT4/C5sTf+DOQR8k=
=gD06
-----END PGP SIGNATURE-----
More information about the Smart
mailing list