Opened 9 years ago

Closed 9 years ago

#192 closed defect (duplicate)

bzip2-1.0.6-5 install fails for pentium4, i686, and i386

Reported by: Lewis Rosenthal Owned by:
Priority: minor Milestone:
Component: rpm Version:
Severity: low Keywords:
Cc:

Description

(Summary is subject to clarification).

I've been experimenting with yum-plugin-replace, and will submit a package for that handy plugin shortly. Replacing as many of my i386 packages with pentium4 packages, I ran into the following situation:

[c:\]yum replace bzip2-libs --replace-with bzip2-libs

determined that:

bzip2-libs
bzip2-devel
bzip2

all needed to be replaced with pentium4 builds. bzip2-libs and bzip2-devel replaced fine (as did 30+ other packages when I replaced them). bzip2 fails to install with:

Error unpacking rpm package bzip2-1.0.6-5.oc00.pentium4
error: unpacking of archive failed: cpio: read
Warning: scriptlet or other non-fatal errors occurred during transaction.
What is this? bzip2-1.0.6-5.oc00.pentium4
VerifyTransaction time: 0.011
Transaction time: 0.517

The same error is thrown for i686.

I can manually extract both of those packages via unrpm, have copied the contents where required, and have tested that bzip2 itself works. I have not examined the rpm to determine whether there is, in fact, any defect at all.

cpio is cpio-2.11-4.oc00.pentium4 (tried with i386 first, then replaced i386 cpio with pentium4).

Workaround is after using unrpm to extract, running:

[c:\]rpm -i --justdb bzip2-1.0.6-5.oc00.pentium4.rpm

which satisfies the db requirement, at least.

Change History (1)

comment:1 by Yuri Dario, 9 years ago

Resolution: duplicate
Status: newclosed

This is the same error of ticket#183, closing and moving there.

Note: See TracTickets for help on using tickets.