Bug 488183 - mkinitrd fails with: "cp: cannot stat `/usr/lib64//libparted-1.8.so.8.0.0': No such file or directory"
Summary: mkinitrd fails with: "cp: cannot stat `/usr/lib64//libparted-1.8.so.8.0.0': N...
Keywords:
Status: CLOSED DUPLICATE of bug 502221
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-03 02:21 UTC by John Ellson
Modified: 2009-05-25 08:24 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-25 08:24:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Ellson 2009-03-03 02:21:53 UTC
Description of problem:
mkinitrd fails with: "cp: cannot stat `/usr/lib64//libparted-1.8.so.8.0.0': No such file or directory"

Probably because this file doesn't exist since parted moved stuff around.  Perhaps it should be looking for: /lib64/libparted-1.8.so.8.0.0

Version-Release number of selected component (if applicable):
mkinitrd-6.0.78-2.fc11.x86_64

How reproducible:
100%

Steps to Reproduce:
1. mkinitrd /boot/initrd-2.6.29-0.179.rc6.git5.fc11.x86_64.img 2.6.29-0.179.rc6.git5.fc11.x86_64
2.
3.
  
Actual results:
cp: cannot stat `/usr/lib64//libparted-1.8.so.8.0.0': No such file or directory

Expected results:


Additional info:
The installed kernel panics during boot.  I haven't checked yet, but it could be for the same reason.

Comment 1 Hans de Goede 2009-03-03 09:07:28 UTC
Can you do "ls -l /usr/lib64/libparted*" please and paste the output here? I think you've got a dangling libparted-1.8.so.8 symlink under there.

Comment 2 John Ellson 2009-03-03 21:53:58 UTC
root@ontap:~# yum reinstall parted
...
Removed:
  parted.x86_64 0:1.8.8-14.fc11                                                 

Installed:
  parted.x86_64 0:1.8.8-14.fc11                                                 

Complete!
root@ontap:~# ls /usr/lib*/libpart* /lib*/libpart*
/lib64/libparted-1.8.so.8      /usr/lib64/libparted-1.8.so.8
/lib64/libparted-1.8.so.8.0.0  /usr/lib64/libparted.so
root@ontap:~#

Comment 3 John Ellson 2009-03-03 22:01:50 UTC
sorry, that was supposed to be ls -l...

the two in /usr/lib64 were softlinks, but not dangling


I just did:

# rm /usr/lib*/libpart* /lib*/libpart*
# yum reinstall parted

now the links in /usr/lib64/ are gone.

Looks like parted rpm isn't cleaning up properly.


mkinitrd seems happier now ...   rebooting ....

Comment 4 Hans de Goede 2009-03-08 10:06:50 UTC
Ok, I think you've hit some packaging bug in parted, closing as not a bug (because it is not an mkinitrd bug).

Comment 5 Hans de Goede 2009-05-25 08:23:58 UTC
Ok, so I can reproduce this now, and this is a real issue, re-opening and
then closing as a dup of the bug were this will be tracked, please see that
bug for more details and add yourself to the CC if you want to kept up2date.

Comment 6 Hans de Goede 2009-05-25 08:24:24 UTC

*** This bug has been marked as a duplicate of bug 502221 ***


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