update wrecked shared libraries

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
xdavefournier
Level 1
Level 1
Posts: 5
Joined: Tue Dec 17, 2013 6:50 pm

update wrecked shared libraries

Post by xdavefournier » Tue Dec 17, 2013 6:57 pm

After attempting an update I am missing the shared library libbz2. It appears to be needed
by apt so I can not install it using apt. Is there a way to install it wihtout apt.

The message I get is.

apt-get: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory

gvelim
Level 1
Level 1
Posts: 5
Joined: Sat Jan 25, 2014 1:51 pm

Re: update wrecked shared libraries

Post by gvelim » Sat Dec 27, 2014 7:54 am

same problem here. Performing a find command it shows the libbz2 is lost from the lib folders and also from shared library cache (ldconfig -p)

I recall I replaced the package server to a german ftp site and performed an update. Then I got this problem however not sure if it pre-existed or caused by this change.

Any help would greatly appreciated as most services fail, e.g. MDM fails because libncursesw.so.5 is missing, etc

User avatar
DataMan
Level 6
Level 6
Posts: 1234
Joined: Thu Dec 04, 2008 6:47 am
Location: Carmel, Midwest USA at /var/www
Contact:

Re: update wrecked shared libraries

Post by DataMan » Sat Dec 27, 2014 8:15 am

Suggest that you both launch synaptic. Search for libbz2. If it shows installed, try re-installing it. If it isn't installed, then proceed with the installation.

-DataMan
Linux'd since 2005 Linux ID 422356 Ubuntu ID 15015

gvelim
Level 1
Level 1
Posts: 5
Joined: Sat Jan 25, 2014 1:51 pm

Re: update wrecked shared libraries

Post by gvelim » Sat Dec 27, 2014 7:52 pm

there were 13 libraries missing. I manage to short it out with the below steps

1. created a mint 17.1 usb bootable disk
2. boot from live USB stick and installed freefilesync
3. compared USB live /lib & /lib64 with hard drive's equivalent
4. found the libraries missing and move just these ones over (nothing else!)
5. rebooted as normally
6. apt-get (working now!) update & apt-get upgrade gives error for missed depedencies
7. run apt-get upgrade -f
8. reboot

all went back to normal as before.

The last action I did before I got into this mess was to "purge lists" from the software update manager application

Post Reply

Return to “Software & Applications”