Hi,
during "yum update" (FC4) I get the following error message:
Running Transaction Updating : openldap ####################### [ 1/20] Updating : libungif ####################### [ 2/20] Updating : wireless-tools ####################### [ 3/20] Updating : tar ####################### [ 4/20] Updating : nmh ####################### [ 5/20] error: unpacking of archive failed on file /usr/bin/install-mh;437091d9: cpio: link Updating : openldap-devel ####################### [ 6/20] Updating : libungif-devel ####################### [ 7/20] Updating : gv ####################### [ 8/20] Updating : cpio ####################### [ 9/20] Updating : openldap-clients ####################### [10/20] Cleanup : tar ####################### [11/20] Cleanup : wireless-tools ####################### [12/20] Cleanup : openldap-devel ####################### [13/20] Cleanup : libungif-devel ####################### [14/20] Cleanup : gv ####################### [15/20] Cleanup : cpio ####################### [16/20] Cleanup : openldap-clients ####################### [17/20] Cleanup : libungif ####################### [18/20] Cleanup : openldap ####################### [19/20]
could somebody tell me a reson for this?
MY /etc/yum.conf: =================
[main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=redhat-release tolerant=1 exactarch=1 retries=20 obsoletes=1 gpgcheck=1 exclude=kernel* tetex*
# PUT YOUR REPOS HERE OR IN separate files named file.repo # in /etc/yum.repos.d
[Extras] name=Fedora Extras baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basea...
Joachim Backes wrote:
Hi,
during "yum update" (FC4) I get the following error message:
Running Transaction Updating : openldap ####################### [ 1/20] Updating : libungif ####################### [ 2/20] Updating : wireless-tools ####################### [ 3/20] Updating : tar ####################### [ 4/20] Updating : nmh ####################### [ 5/20] error: unpacking of archive failed on file /usr/bin/install-mh;437091d9: cpio: link
The usual cause of this sort of thing is when a new version of a package includes a file/directory/symlink at some location (/usr/bin/install-mh in this case) and the thing already at that location (perhaps in an older version of the package) is of a different type, e.g. a directory instead of a file.
Try removing the nmh package and then reinstalling it using yum.
Paul.
On Tue, 2005-11-08 at 12:10 +0000, Paul Howarth wrote:
Joachim Backes wrote:
Hi,
during "yum update" (FC4) I get the following error message:
Running Transaction Updating : openldap ####################### [ 1/20] Updating : libungif ####################### [ 2/20] Updating : wireless-tools ####################### [ 3/20] Updating : tar ####################### [ 4/20] Updating : nmh ####################### [ 5/20] error: unpacking of archive failed on file /usr/bin/install-mh;437091d9: cpio: link
The usual cause of this sort of thing is when a new version of a package includes a file/directory/symlink at some location (/usr/bin/install-mh in this case) and the thing already at that location (perhaps in an older version of the package) is of a different type, e.g. a directory instead of a file.
Try removing the nmh package and then reinstalling it using yum.
Paul.
Hi, Paul,
tank you for your answer, but did not help (see error msg below): nmh was installed, but with error:
rpm -e nmh root@pc31 [~]: yum install nmh Setting up Install Process Setting up repositories Extras 100% |=========================| 1.1 kB 00:00 updates-released 100% |=========================| 951 B 00:00 http://ftp.ipv6.funet.fi/pub/mirrors/ftp.redhat.com/pub/fedora/linux/core/4/...: [Errno 4] IOError: <urlopen error (97, 'Address family not supported by protocol')> Trying other mirror. base 100% |=========================| 1.1 kB 00:00 extras 100% |=========================| 1.1 kB 00:00 Reading repository metadata in from local files primary.xml.gz 100% |=========================| 814 kB 00:18 Extras : ################################################## 2290/2290 Added 2290 new packages, deleted 0 old in 52.11 seconds primary.xml.gz 100% |=========================| 343 kB 00:01 updates-re: ################################################## 1010/1010 Added 1010 new packages, deleted 0 old in 30.92 seconds primary.xml.gz 100% |=========================| 824 kB 00:02 base : ################################################## 2772/2772 Added 2772 new packages, deleted 0 old in 52.70 seconds primary.xml.gz 100% |=========================| 814 kB 00:00 extras : ################################################## 2290/2290 Added 2290 new packages, deleted 0 old in 52.07 seconds Excluding Packages in global exclude list Finished Parsing package install arguments Resolving Dependencies --> Populating transaction set with selected packages. Please wait. ---> Downloading header for nmh to pack into transaction set. nmh-1.1-10.fc4.i386.rpm 100% |=========================| 21 kB 00:00 ---> Package nmh.i386 0:1.1-10.fc4 set to be updated --> Running transaction check
Dependencies Resolved
============================================================================= Package Arch Version Repository Size ============================================================================= Installing: nmh i386 1.1-10.fc4 Extras 1.9 M
Transaction Summary ============================================================================= Install 1 Package(s) Update 0 Package(s) Remove 0 Package(s) Total download size: 1.9 M Is this ok [y/N]: y Downloading Packages: (1/1): nmh-1.1-10.fc4.i38 100% |=========================| 1.9 MB 00:05 Running Transaction Test Finished Transaction Test Transaction Test Succeeded 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!
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*
Paul.
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@xxxxx [~]: rpm -qlv nmh | grep bin root@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
Paul.
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@xxxxx [~]: rpm -qlv nmh | grep bin root@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/nmh
The package has /usr/bin/install-mh & /usr/lib/nmh/install-mh hardlinked to each other, which won't work if the directories are on different partitions.
This is arguably a packaging error, though very few people would come across it.
Paul.
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@xxxxx [~]: rpm -qlv nmh | grep bin root@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
The package has /usr/bin/install-mh & /usr/lib/nmh/install-mh hardlinked to each other, which won't work if the directories are on different partitions.
This is arguably a packaging error, though very few people would come across it.
Paul.
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@xxxxx [~]: rpm -qlv nmh | grep bin root@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.
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@xxxxx [~]: rpm -qlv nmh | grep bin root@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.
Hi
Do you have /usr/bin and /usr/lib/nmh on different partitions?
$ df /usr/bin /usr/lib/nmh
The package has /usr/bin/install-mh & /usr/lib/nmh/install-mh hardlinked to each other, which won't work if the directories are on different partitions.
This is arguably a packaging error, though very few people would come across it.
Do report this nevertheless.
regards Rahul