Bug 217750 - ncurses package fails to install
Summary: ncurses package fails to install
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: ncurses
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miroslav Lichvar
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-29 19:04 UTC by Michal Jaegermann
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-30 12:18:08 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michal Jaegermann 2006-11-29 19:04:32 UTC
Description of problem:

When attempting an update to ncurses-5.5-25.20060715.fc7 something
of that sort shows up:

  Updating  : ncurses                      ##################### [ 18/162]
error: unpacking of archive failed on file /lib/terminfo/v/vt220;456dcf2f: cpio:
link

The problem is that in a new package /lib/terminfo/v/vt220 turns out
to be a hard link to /usr/share/terminfo/v/vt200 and this fails if
/lib/terminfo/v/ and /usr/share/terminfo/v/ happen _not_ to share
a file system.

Results are:
  - 'rpm -q ncurses' reports only an old version installed
  - on a disk there is a mess of old and new files making
    'rpm -V ncurses' quite unhappy
  - /usr/share/terminfo/v/vt220 ends up as broken link to nowhere
  - with now default 'keepcache=0', if somebody is crazy enough to
    use it, the whole cache is dumped making hard to diagnose what
    happened.

Version-Release number of selected component (if applicable):
ncurses-5.5-25.20060715.fc7

How reproducible:
always with /lib and /usr/share on different file systems

Comment 1 Michal Jaegermann 2006-11-29 19:14:58 UTC
Closer look reveals that also /lib/terminfo/v/vt100 is a hard link
to /usr/share/terminfo/v/vt100-am.

Comment 2 Miroslav Lichvar 2006-11-30 12:18:08 UTC
Thanks for the report. Should be fixed in ncurses-5.5-26.20060715.fc7.


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