Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

On Ubuntu 10.10 machine Upgrade to Ubuntu 11.04 using the update manager. The upgrade fails and leaves the system in an unstable state. When I reboot the system I get a kernel panic on boot. The error points to /opt/abc/runtime/lib/

By researching on this I found that there is a third party software abc causes problem. It has it's own runtime(libc) library. In /lib/ directory there is a link file /lib/ --->/opt/abc/runtime/lib/

If we rename this file to /lib/ or remove this file the the upgrade is success.

Here is the upgrade log of where it crashes(apt-term.log)


Services restarted successfully.

Processing triggers for libc-bin ...

ldconfig deferred processing now taking place

/usr/bin/dpkg: /opt/abc/runtime/lib/ version `GLIBC_2.11' not found (required by /usr/bin/dpkg)

/usr/bin/dpkg: /opt/abc/runtime/lib/ version `GLIBC_2.8' not found (required by /lib/


Could you please let me know what would be the problem of having a run time link library file in /lib directory. Does the ubuntu upgrade check the 3rd part runtime as well?

share|improve this question

By providing a link on /lib to a 3rd party libc, you are causing the dynamic linker to use the 3rd party libc instead of the system library, for all binaries that need libc. You should not do it, it could have broken your system but not allow to launch any system binaries.

If you need a specific application to use it's own library versions, create a script and use the LD_LIBRARY_PATH variable like this:

export LD_LIBRARY_PATH=/opt/abc/lib
share|improve this answer
Thanks João Pinto for quick reply. This answer is really useful. The dinamic linker should use the "/lib/ ->" file as system runtime, it should not use "/lib/ --->/opt/abc/runtime/lib/". Does ubuntu upgrade looks for all the runtime in /lib directory and create problem. Since i am not getting any problem during running the third party binary which has the runtime in /lib. I get only problem during upgrade ubuntu. – user32075 Nov 3 '11 at 17:25

Because of Unity the older versions of Ubuntu(10.10 and lower) can't upgrade seamlessly to Ubuntu 11.04 or 11.10.

I recommend you to back-up your important data and make a fresh install...

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.