Opened 4 years ago

Closed 19 months ago

#8 closed defect (invalid)

install fails on some packages

Reported by: dmik Owned by: ydario
Priority: major Milestone:
Component: yum Version: 1.0
Keywords: rpm, yum, bootstrap Cc: asavage

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 Changed 4 years ago by dmik

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 Changed 4 years ago by dmik

  • Resolution set to invalid
  • Status changed from new to closed

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 Changed 19 months ago by asavage

  • Cc asavage added
  • Component changed from rpm to yum
  • Keywords rpm yum bootstrap added
  • Resolution invalid deleted
  • Status changed from closed to reopened
  • Version set to 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 Changed 19 months ago by asavage

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 Changed 19 months ago by ydario

  • Resolution set to invalid
  • Status changed from reopened to closed

Same issue.

Note: See TracTickets for help on using tickets.