I'm on Karmic Koala, upgrading to Lucid Lynx.
I renamed all of the /usr/local/lib/libreadline* to /usr/local/lib/badreadline*
sudo mv libreadline.old badlibreadline.old
sudo mv libreadline.so badlibreadline.so
sudo mv libreadline.so.6 badlibreadline.so.6
sudo mv libreadline.so.6.1 badlibreadline.so.6.1
sudo mv libreadline.so.6.1.old badlibreadline.so.6.1.old
Just to make sure I got all of the libreadlines:
ls -l libreadline*
ls: cannot access libreadline*: No such file or directory
To see that the badreadlines were what I expected:
ls -l badlibreadline*
-rw-r--r-- 1 root root 1114564 2010-04-13 02:26 badlibreadline.a
-rw-r--r-- 1 root root 1114564 2010-04-09 04:04 badlibreadline.old
lrwxrwxrwx 1 root root 16 2010-04-13 02:26 badlibreadline.so -> libreadline.so.6
lrwxrwxrwx 1 root root 22 2010-04-13 02:36 badlibreadline.so.6 -> libreadline.so.6.1.old
-r-xr-xr-x 1 root root 662613 2010-04-13 02:26 badlibreadline.so.6.1
-r-xr-xr-x 1 root root 662613 2010-04-09 04:04 badlibreadline.so.6.1.old
Then I created a symbolic link from /lib/readline.so.6 to /usr/local/readline.so.6:
sudo ln -s /lib/libreadline.so.6 /usr/local/lib/libreadline.so.6
It appears that this fixed the libreadline problem, because prior to the sudo apt-get upgrade I'm doing a sudo apt-get update:
Crunches along just fine:
Hit Index of / karmic-updates/multiverse Packages
Err Index of / karmic/main Packages
404 Not Found
Hit Index of / karmic-backports/main Packages
Hit Index of / karmic-proposed/restricted Sources
Hit Index of / karmic-proposed/main Sources
Hit Index of / karmic-proposed/multiverse Sources
Hit Index of / karmic-proposed/universe Sources
Fetched 5,042B in 8s (617B/s)
---
Then:
W: GPG error: Index of / karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2836CB0A8AC93F7A
W: Failed to fetch http://ppa.launchpad.net/ubuntu-ppa/backports/ubuntu/dists/karmic/main/binary-amd64/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
I believe (somewhat) that this is past the libreadline.so.6 problem.
However, there is no "Fajar A. Nugraha in Launchpad" URI.
Where to from here?