Error message during "yum update"

Paul Howarth paul at city-fan.org
Tue Nov 8 13:05:58 UTC 2005


Joachim Backes wrote:
> On Tue, 2005-11-08 at 12:52 +0000, Paul Howarth wrote:
> 
>>Joachim Backes wrote:
>>
>>>On Tue, 2005-11-08 at 12:30 +0000, Paul Howarth wrote:
>>>
>>>
>>>>Joachim Backes wrote:
>>>>
>>>>
>>>>>tank you for your answer, but did not help (see error msg below): nmh
>>>>>was installed, but with error:
>>>>
>>>>...
>>>>
>>>>
>>>>
>>>>>Running Transaction
>>>>> Installing: nmh                          #########################
>>>>>[1/1]
>>>>>error: unpacking of archive failed on file /usr/bin/install-mh;43709782:
>>>>>cpio: link
>>>>>
>>>>>Installed: nmh.i386 0:1.1-10.fc4
>>>>>Complete!
>>>>
>>>>Please post the output of:
>>>>
>>>>$ rpm -qlv nmh | grep bin
>>>>$ ls -ld /usr/bin/install*
>>>>
>>>
>>>
>>>root at xxxxx [~]: rpm -qlv nmh | grep bin
>>>root at xxxxx [~]:  ls -ld /usr/bin/install*
>>>-rwxr-xr-x  1 root root 61840 Jul 25 17:39 /usr/bin/install
>>>-rwxr-xr-x  1 root root  4374 Sep 22  2004 /usr/bin/install-catalog
>>
>>Do you have /usr/bin and /usr/lib/nmh on different partitions?
>>
>>$ df /usr/bin /usr/lib/nmhdf /usr/bin /usr/lib/nmh
> 
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sda1              2016016    699924   1213680  37% /
> /dev/sda5              6546356   2158196   4055620  35% /disk2

There you have it; different partitions. You've clearly done some 
symlinking there, probably to put /usr/lib under /disk2 (if only you'd 
used LVM, which removes the need for such tricks...). Try putting in 
another symlink for /usr/lib/nmh to put it back on the first disk:

# mkdir -p /usr/lib/nmh /backlinks
# mv /usr/lib/nmh /backlinks/usr-lib-nmh
# ln -s /backlinks/usr-lib-nmh /usr/lib/nmh

Then try reinstalling nmh.

Paul.




More information about the fedora-list mailing list