Error message during "yum update"

Joachim Backes backes at rhrk.uni-kl.de
Tue Nov 8 13:34:00 UTC 2005


On Tue, 2005-11-08 at 13:05 +0000, Paul Howarth wrote:
> 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

This was it:

ls -l /usr/lib
lrwxrwxrwx  1 root root 13 Aug 24 14:34 /usr/lib -> /disk2/USRLIB

I made this for a lack of disk space.

Applying your advice with backlinking solved my problem.

Thanxs.

> 
> Then try reinstalling nmh.
> 
> Paul.
> 
-- 
Best regards / Mit freundlichen Gruessen

Joachim Backes <backes at rhrk.uni-kl.de>
University of Kaiserslautern,Computer Center [RHRK],
Systems and Operations group,
High performance computing and LINUX cluster management.

D-67653 Kaiserslautern, PO Box 3049, Germany
--------------------------------------------------
Phone: +49-631-205-2438, FAX: +49-631-205-3056
http://hlrwm.rhrk.uni-kl.de/home/staff/backes.html




More information about the fedora-list mailing list