Opened 14 years ago

Closed 12 years ago

#8 closed defect (invalid)

install fails on some packages

Reported by: dmik Owned by: Yuri Dario
Priority: major Milestone:
Component: yum Version: 1.0
Severity: Keywords: rpm, yum, bootstrap
Cc: Al Savage

Description

Doing e.g.

yum install ncurses

gives this:

Running Transaction
  Installing     : ncurses-5.7-1.i386                                       1/1
Error unpacking rpm package ncurses-5.7-1.i386
error: unpacking of archive failed on file /@unixroot/usr/share/doc/ncurses-5.7/ANNOUNCE: cpio: rename

Failed:
  ncurses.i386 0:5.7-1

Unpacking the ncurses RPM manually (with unrpm) gives this:

cpio: ./@unixroot/usr/share/doc/ncurses-5.7/ANNOUNCE: Cannot change mode to r--r--r--: Permission denied
cpio: ./@unixroot/usr/share/doc/ncurses-5.7/AUTHORS: Cannot change mode to r--r--r--: Permission denied
cpio: ./@unixroot/usr/share/doc/ncurses-5.7/NEWS: Cannot change mode to r--r--r--: Permission denied
cpio: ./@unixroot/usr/share/doc/ncurses-5.7/README: Cannot change mode to r--r--r--: Permission denied
cpio: ./@unixroot/usr/share/doc/ncurses-5.7/TO-DO: Cannot change mode to r--r--r--: Permission denied
1411 blocks

Change History (5)

comment:1 by dmik, 14 years ago

Deleting a failed /@unixroot/usr/share/doc/ncurses-5.7/ and retrying gives one additional message:

error: unpacking of archive failed on file /@unixroot/usr/share/doc/ncurses-5.7/ANNOUNCE: cpio: chmod

comment:2 by dmik, 14 years ago

Resolution: invalid
Status: newclosed

Turned out that this is a LIBC bug when running on a HPFS386 file system. See http://svn.netlabs.org/libc/ticket/230 for more details and a fix.

comment:3 by Al Savage, 12 years ago

Cc: Al Savage added
Component: rpmyum
Keywords: rpm yum bootstrap added
Resolution: invalid
Status: closedreopened
Version: 1.0

http://rpm.netlabs.org/bootstrap/rpm-yum-bootstrap-1_3.wpi

Installing the above on an HPFS386 system, running the yum bootstrap console, running "yum install yum" results in:

Failed:

ncurses.i386 0:5.7-4.oc00 tcl.i386 1:8.5.9-2.oc00

I assume that this is the same problem as in ticket #230 ?

comment:4 by Al Savage, 12 years ago

Additionally:

yum install ncurses

yields:

. .
Installing:

ncurses i386 5.7-4.oc00 netlabs-rel 264 k

. .
Warning: RPMDB altered outside of yum.
coreutils-8.6-7.oc00.i386 has missing requires of ncurses
db4-4.8.30-6.oc00.i386 has missing requires of tcl85.dll

Installing : ncurses-5.7-4.oc00.i386 1/1

Error unpacking rpm package ncurses-5.7-4.oc00.i386
error: unpacking of archive failed on file /@unixroot/usr/share/doc/ncurses-5.7/
ANNOUNCE: cpio: chmod

Failed:

ncurses.i386 0:5.7-4.oc00

comment:5 by Yuri Dario, 12 years ago

Resolution: invalid
Status: reopenedclosed

Same issue.

Note: See TracTickets for help on using tickets.