You are not logged in.

#1 2014-03-17 11:34:36

serdotlinecho
Member
Registered: 2013-01-26
Posts: 100

libblkid.so.1 missing after upgrading to util-linux 2.24.1-3.

I cannot boot my system after upgrading and reboot. Here's what I've done so far:

[2014-03-17 15:57] [PACMAN] upgraded util-linux (2.24.1-1 -> 2.24.1-3)
[2014-03-17 16:07] [PACMAN] Running 'pacman -S systemd systemd-sysvcompat libsystemd'
[2014-03-17 16:10] [PACMAN] reinstalled libsystemd (211-1)
[2014-03-17 16:10] [ALPM-SCRIPTLET] udevadm: error while loading shared libraries: libblkid.so.1: cannot open shared object file: No such file or directory
.....
[2014-03-17 16:25] [PACMAN] downgraded util-linux (2.24.1-3 -> 2.24.1-1)

chroot and downgrading util-linux to version 2.24.1-1 and the system boot perfectly fine.

On my X session, I tried upgrading util-linux again:

$ LC_MESSAGES=C pacman -Qo /usr/lib/libblkid.so.1
error: failed to read file '/usr/lib/libblkid.so.1': No such file or directory
$ pacman -Qe util-linux
util-linux 2.24.1-3
$ sudo pacman -U /var/cache/pacman/pkg/util-linux-2.24.1-1-i686.pkg.tar.xz
loading packages...
warning: downgrading package util-linux (2.24.1-3 => 2.24.1-1)
.....
.....
$ LC_MESSAGEs=C pacman -Qo /usr/lib/libblkid.so.1
/usr/lib/libblkid.so.1 is owned by libutil-linux 2.24.1-3
$ pacman -Qe util-linux
util-linux 2.2.4.1-1

And I've tried reinstall libutil-linux and util-linux:

$ sudo pacman -S util-linux libutil-linux
warning: libutil-linux-2.24.1-3 is up to date -- reinstalling
.....
.....
$ LC_MESSAGES=C pacman -Qo /usr/lib/libblkid.so.1
error: failed to read file '/usr/lib/libblkid.so.1': No such file or directory
$ sudo pacman -U /var/cache/pacman/pkg/util-linux-2.24.1-1-i686.pkg.tar.xz 
.....
.....
$ LC_MESSAGES=C pacman -Qo /usr/lib/libblkid.so.1
/usr/lib/libblkid.so.1 is owned by libutil-linux 2.24.1-3
$ ls -l /usr/lib/libblkid.so.1.1.0
-rwxr-xr-x 1 root root 252840 Jan 24 22:14 /usr/lib/libblkid.so.1.1.0

I compiled my own systemd 211 and I remember when I installed systemd 211, pacman complain some libraries exists in filesystem and cannot upgrade systemd. I just deleted those libraries, idiot but systemd,systemd-sysvcompat and libsystemd 211 installed just fine.

 $ systemctl --version
systemd 211
+PAM -LIBWRAP -AUDIT -SELINUX -IMA -SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ +SECCOMP -APPARMOR

What should I do next? I'm stuck.


EDIT: Nevermind. I've found the solution, just run this command twice:

 sudo pacman -S util-linux libutil-linux

Last edited by serdotlinecho (2014-03-17 12:04:53)

Offline

Board footer

Powered by FluxBB