xulrunner refusing to update from yum.

Horst H. von Brand vonbrand at inf.utfsm.cl
Wed Feb 27 19:19:38 UTC 2008


Alan <alan at clueserver.org> wrote:
> > Casey Dahlin <cjdahlin at ncsu.edu> wrote:
> >> For the past few days I've been getting this in rawhide:
> >>
> >> Downloading Packages:
> >> (1/1): xulrunner-1.9-0.be 100% |=========================| 9.3 MB
> >> 01:22    Running rpm_check_debug
> >> Running Transaction Test
> >> Finished Transaction Test
> >> Transaction Test Succeeded
> >> Running Transaction
> >>  Updating  : xulrunner                    #########################
> >> [1/2]
> >> Error unpacking rpm package
> >> xulrunner-1.9-0.beta3.27.nightly20080223.fc9.i386
> >> error: unpacking of archive failed on file
> >> /usr/lib/xulrunner-1.9pre/dictionaries: cpio: rename
> >
> > Delete that directory and try again.
> 
> What about all the dictionary;####### directories?

They get overridden by a symlink:
$ ls -l /usr/lib/xulrunner-1.9pre/dictionaries
lrwxrwxrwx 1 root root 18 2008-02-27 12:22 /usr/lib/xulrunner-1.9pre/dictionaries -> /usr/share/myspell

That is why the unpacking when replacing with the new package won't work:
cpio(1) can't replace a directory with a symlink.

In any case, if you axe that and then install the newer version, it should
replace them with something sensible if they are still required. Just make
sure nothing is actively using whatever you delete.

Sure, a more "decent" way is to erase the offending package, and then
installing it again. But if something depends on it, sometimes not even
"rpm -e --nodeps" does the trick.

"rawhide" == "living dangerously" ;-)

("rpm -V" afterwards isn't such a bad idea...)
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                    Fono: +56 32 2654431
Universidad Tecnica Federico Santa Maria             +56 32 2654239
Casilla 110-V, Valparaiso, Chile               Fax:  +56 32 2797513




More information about the fedora-devel-list mailing list