Problem upgrading mozilla-xulrunner

Pascal Bleser pascal.bleser at skynet.be
Tue Nov 21 01:30:34 PST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Rick Friedman wrote:
> I'm not really sure if this is a problem with Smart or with the package
> itself (or something else entirely)...
> 
> Currently, I have mozilla-xulrunner 1.8.0.1-32 installed. Using Smart
> 0.50rc1, I am trying to upgrade by installing
> mozilla-xulrunner180-1.8.0.6-0.i586.rpm from
> http://software.opensuse.org/download/mozilla/SUSE_Linux_10.1/ .
> Unfortunately, when Smart tries to upgrade the package, the following
> error shows up in the log:
> 
> Output from mozilla-xulrunner180-1.8.0.6-0 at i586:
> error: unpacking of archive failed on file /usr/lib/xulrunner-1.8.0.1:
> cpio: rename failed - Resource temporarily unavailable
> 
> Anyone have any idea what might be the problem?

It's an rpm related problem (or, actually, cpio).
rpm uses cpio archives to store the files contained in an rpm package.
When you (or yast or smart or apt or yum or ...) install an rpm file,
rpm decompresses the cpio archive.

The error you're getting comes from a limitation of cpio: it cannot
overwrite a directory with a symbolic link (nor a symbolic link with a
directory).

To summarize, that error happens when you upgrade a package where a
directory (in the old package) is replaced by a symbolic link (in the
new package).

The solution:
rpm -e --nodeps mozlla-xulrunner
smart install mozilla-xulrunner180

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.2 (GNU/Linux)

iD8DBQFFYsc6r3NMWliFcXcRAgSzAKCR8dWDF1Xv2Ww+N+ttUgr33htGHQCaAt+W
IZD/k7DkZZH4QfKuy7nKXk0=
=2zLP
-----END PGP SIGNATURE-----



More information about the Smart mailing list