Hi!
I tried to create i sym-link libudev-so-0 -> libudev.so.1.4.0, but i accidental overwrite the file.
Is there a way to recover this file? On the DVD its in an RPM-package but Apper and Zypper dont work anymore
Hi!
I tried to create i sym-link libudev-so-0 -> libudev.so.1.4.0, but i accidental overwrite the file.
Is there a way to recover this file? On the DVD its in an RPM-package but Apper and Zypper dont work anymore
You could try to re-install the libudev1 package directly with rpm, maybe this still works?
sudo rpm -i --force /path/to/package.rpm
Or you can also open the rpm package in an Archiving application like Ark or File-Roller and extract the file.
In the worst case, youâd have to boot from a LiveCD to do this though.
OTOH, the DVD might have the file somewhere on it as well, so just copy it over to your system.
If you donât find it, boot from the DVD to the ârescue systemâ, it should be in /usr/lib(64) then.
So mount your root partition and copy over the file.
As that file should be in the initrd, there is also another way:
Add ârd.breakâ to the boot options, the boot will stop then just before the system is switched to your real root partition.
Mount the root partition read-write, and copy over the file, something like this:
mount /sysroot -o rw,remount
cp /usr/lib64/libudev.so.1.4.0 /sysroot/usr/lib64
Then reboot, and everything should workâŚ
Sorry it didnât work. Here is the output:
ronsim@linux-7v2w:~/Downloads> sudo rpm -i --force udev-210-25.5.4.x86_64.rpm
Creating initrd: /boot/initrd-3.16.6-2-desktop
Executing: /usr/bin/dracut --logfile /var/log/YaST2/mkinitrd.log --force /boot/initrd-3.16.6-2-desktop 3.16.6-2-desktop
*** Including module: bash ***
*** Including module: warpclock ***
*** Including module: i18n ***
*** Including module: ifcfg ***
*** Including module: drm ***
*** Including module: plymouth ***
/usr/lib/plymouth/plymouth-populate-initrd: line 232: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 233: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 234: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 235: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 232: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 233: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 234: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 235: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 232: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 233: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 234: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 235: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 232: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 233: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 234: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 235: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 232: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 233: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 234: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 235: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 232: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 233: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 234: dfatal: command not found
/usr/lib/plymouth/plymouth-populate-initrd: line 235: dfatal: command not found
*** Including module: btrfs ***
*** Including module: kernel-modules ***
Omitting driver i2o_scsi
*** Including module: resume ***
*** Including module: rootfs-block ***
*** Including module: terminfo ***
*** Including module: udev-rules ***
Skipping udev rule: 91-permissions.rules
Skipping udev rule: 80-drivers-modprobe.rules
*** Including module: systemd ***
*** Including module: usrmount ***
*** Including module: base ***
*** Including module: fs-lib ***
*** Including module: shutdown ***
*** Including module: suse ***
*** Including modules done ***
*** Installing kernel module dependencies and firmware ***
*** Installing kernel module dependencies and firmware done ***
*** Resolving executable dependencies ***
*** Resolving executable dependencies done***
*** Hardlinking files ***
*** Hardlinking files done ***
*** Stripping files ***
*** Stripping files done ***
*** Generating early-microcode cpio image ***
*** Store current command line parameters ***
Stored kernel commandline:
resume=UUID=ccbba49b-62d5-48c8-85cf-cceb9a0cc043
root=UUID=22da6a84-2bcc-407e-b0a4-e7e7a08ac652 rootflags=rw,relatime,ssd,space_cache rootfstype=btrfs
*** Creating image file ***
*** Creating image file done ***
Update bootloader...
Perl-Bootloader: 2014-12-16 11:33:07 <3> pbl-6081.2 Core::GRUB2::GrubDev2UnixDev.252: Error: did not find a match for hd0 in the device map
Perl-Bootloader: 2014-12-16 11:33:07 <3> pbl-6081.2 Core::RunCommand.1658: Error: '/usr/sbin/grub2-mkconfig -o /boot/grub2/grub.cfg' failed with exit code 127, output:
<<<<<<<<<<<<<<<<
/usr/sbin/grub2-probe: error while loading shared libraries: libudev.so.1: cannot open shared object file: No such file or directory
>>>>>>>>>>>>>>>>
Updating bootloader failed
advarsel: %posttrans(udev-210-25.5.4.x86_64) scriptlet failed, exit status 1
ronsim@linux-7v2w:~/Downloads>
I told you to re-install libudev1, not udev!
Do that and everything should work, unless your initrd (itâs probably missing libudev.so.1.4.0 as well now) and/or boot loader installation is broken now (if I read your errors correctly, nothing should have been done though). So run âsudo mkinitrdâ afterwards. And maybe enter YaST->System->Boot Loader and press OK to re-install that to be sure.
Sorry! i didnât see the â1â at the end.
I did fix this trough LiveDVD and the lib-file is back again and system is again working.
Thanks for help!
Now i manage to create the right sym-link, but it still refuse to install Opera-Beta-27. It still complain about missing libudev.so.0
I will create a new thread for this.
RS