Bug 433612 - Yum does not fails on broken package.
Summary: Yum does not fails on broken package.
Status: CLOSED DUPLICATE of bug 433096
Alias: None
Product: Fedora
Classification: Fedora
Component: xulrunner
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Gecko Maintainer
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2008-02-20 10:58 UTC by Mohd Izhar Firdaus Ismail
Modified: 2014-01-21 23:02 UTC (History)
9 users (show)

Clone Of:
Last Closed: 2008-02-20 21:21:07 UTC

Attachments (Terms of Use)

Description Mohd Izhar Firdaus Ismail 2008-02-20 10:58:22 UTC
Description of problem:
I ran yum update just now, when updating xulrunner, it fails during unpacking of
archive. However, instead of failing or notifying the error, yum ended with

Version-Release number of selected component (if applicable):

How reproducible:
I tried it on Wed, Feb 20. It reproducible all the time even with '--noplugins'

Steps to Reproduce:
1. yum update 
Actual results:
[root@hikari izhar]# yum update -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * livna-development: livna.cat.pdx.edu
 * adobe-linux-i386: linuxdownload.adobe.com
 * development: opensource.nchc.org.tw
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package xulrunner.i386 0:1.9-0.beta3.23.nightly20080217.fc9 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

 Package                 Arch       Version          Repository        Size 
 xulrunner               i386       1.9-0.beta3.23.nightly20080217.fc9 
development       9.5 M

Transaction Summary
Install      0 Package(s)         
Update       1 Package(s)         
Remove       0 Package(s)         

Total download size: 9.5 M
Downloading Packages:
(1/1): xulrunner-1.9-0.be 100% |=========================| 9.5 MB    01:52     
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.23.nightly20080217.fc9.i386
error: unpacking of archive failed on file
/usr/lib/xulrunner-1.9pre/dictionaries: cpio: rename

Updated: xulrunner.i386 0:1.9-0.beta3.23.nightly20080217.fc9

Expected results:
At least say that xulrunner update failed. When there are a lot of updates, the
error my pass without being noticed, and broke other apps that might depend on
the broken package.

Additional info:
I'm not very sure whether this is yum problem or koji generated a broken package.

Comment 1 Seth Vidal 2008-02-20 15:05:13 UTC
the package is changing  dir to a symlink or vice versa - that's the problem.
the second "problem" is that a cpio error is not something that aborts a

Fixing the package is what will make a difference. reassigning to xulrunner

Comment 2 Christopher Aillon 2008-02-20 21:21:07 UTC
Except the package doesn't need fixing.  This change was intentional, and it's
unfortunate that rpm simply can't handle it.  This will only affect users of
rawhide, however.

*** This bug has been marked as a duplicate of 433096 ***

Note You need to log in before you can comment on or make changes to this bug.