[Yum] yum 3.2.11 (fedora rawhide) erroneous success message

seth vidal skvidal at fedoraproject.org
Mon Feb 18 23:07:14 UTC 2008


On Mon, 2008-02-18 at 16:43 -0500, Matthew Miller wrote:
> On Mon, Feb 18, 2008 at 08:28:54AM -0500, seth vidal wrote:
> > > This is with yum-3.2.11-1.fc9.noarch and rawhide. Look how it says it
> > > updated xulrunner when it really didn't. Is skip-broken to blame?
> > > 
> > >   Updating  : xulrunner                    ######################### [1/2]
> > > Error unpacking rpm package
> > > xulrunner-1.9-0.beta3.22.nightly20080215.fc9.i386
> > > error: unpacking of archive failed on
> > > file /usr/lib/xulrunner-1.9pre/dictionaries: cpio: rename
> > > Unable to send message to PackageKit
> > Yah what a fun time. So, unless I'm mistaken, rpm is failing to handle
> > something in the installation of that package and it is not reporting it
> > as fatal to the transaction. We have this problem, often, with
> > scriptlets aborting in %post.
> 
> I probably should have pointed this out, but I know what the specific
> problem is -- in the old package, /usr/lib/xulrunner-1.9pre/dictionaries is
> a directory, and in the new one it's a symlink. There's some sort of
> longstanding RPM bug in this case.
> 
> If you look in the middle of all of the output I sent, deleting the
> problematic directory with rm -rf before running yum causes everything to
> work as it should.
> 
> So, yeah, while the underlying bug is concerning, I'm, for the purposes of
> this mailing list, mostly worried that yum appeared to think that the
> upgrade succeeded when really it failed.
> 

yes, rpm gives us no way of knowing otherwise in the python layer,

-sv





More information about the Yum mailing list