You are not logged in.
Hi,
I just got an shocking error: libreadline5 not found. This just happened after i wanted to install mutt. My mistake was, that i didn't seen that pacman wanted to update readline too.
I didn't reboot the system until now, so the machine is still working. After using the search function, there were suggestions to use arch live, mount the system partition and do a 'pacman -r /mnt -Syu'. My doubt of this solution is this:
After that, you have to edit _all_ the config files yourself, since nothing will be autoconfigured.
Bash couldn't be started, but luckily i have zsh on my machine and i could get root with 'su -s zsh'. Than i was able to copy the contents of the old readline5 package from /var/cache/pakman to /lib. Now the contents are as follows:
ls -l /lib/libread*
-rw-r--r-- 1 root root 295956 12. Jun 23:02 /lib/libreadline.a
lrwxrwxrwx 1 root root 16 12. Jun 23:02 /lib/libreadline.so -> libreadline.so.6
lrwxrwxrwx 1 root root 18 18. Jul 11:17 /lib/libreadline.so.5 -> libreadline.so.5.2
-r-xr-xr-x 1 root root 235875 18. Jul 11:04 /lib/libreadline.so.5.0
-r-xr-xr-x 1 root root 235875 18. Jul 11:04 /lib/libreadline.so.5.2
lrwxrwxrwx 1 root root 18 12. Jun 23:02 /lib/libreadline.so.6 -> libreadline.so.6.0
-r-xr-xr-x 1 root root 246513 12. Jun 23:02 /lib/libreadline.so.6.0
ls -l /lib/libhist*
-rw-r--r-- 1 root root 34610 12. Jun 23:02 /lib/libhistory.a
lrwxrwxrwx 1 root root 15 12. Jun 23:02 /lib/libhistory.so -> libhistory.so.6
lrwxrwxrwx 1 root root 17 18. Jul 11:18 /lib/libhistory.so.5 -> libhistory.so.5.2
-r-xr-xr-x 1 root root 33657 18. Jul 11:03 /lib/libhistory.so.5.0
-r-xr-xr-x 1 root root 33657 18. Jul 11:04 /lib/libhistory.so.5.2
lrwxrwxrwx 1 root root 17 12. Jun 23:02 /lib/libhistory.so.6 -> libhistory.so.6.0
-r-xr-xr-x 1 root root 33977 12. Jun 23:02 /lib/libhistory.so.6.0
Now it looks like bash and pacman are working without problems:
yaourt -S enscript
Gives no warnings or error messages any more.
MY QUESTION IS: Is it rather safely to do a reboot, login as root, and do a pacman -Syu?
BTW: I know, it was my mistake, not to see, that pacman wanted to update readline. However, in my mind, pacman should NOT destroy the system, just because i'm installing mutt (not from testing!). There should be somewhat like a subroutine, preventing these accidents.
Last edited by temoflux (2009-07-19 07:30:11)
Offline
Emergency answer: If you got a shell, install the old readline package from cache using pacman -U .. then do a -Syu
Offline
yeah, pacman -Syu, i didn't downgrade before it, but maybe the developers/TUs, together, did a great work in it in these day to fix it.
Offline
Hi,
After some issues about using the old readline 5 from cache with pacman -U, i decided to left the files in /lib that i copied manually and done a reboot. Arch is booting, i see no error messages or warnings. So everything seems to work fine. So thanks for the helping answers!
Offline