Re: yum 3.2.11 (fedora rawhide) erroneous success message

seth vidal <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <1203376034.13356.32.camel@cutter>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.