Tony's ramblings on Open Source Software, Life and Photography

Fixing libgl1-mesa Package Problems

I've known for a while that the proprietary NVidia drivers I downloaded some time back screwed with my system, unfortunately I hadn't realized just how bad until I tried upgrading from 8.04 to 8.10.

After the upgrade and reboot, X wouldn't start and my package manager complained about various libgl1-mesa packages. When I tried doing "apt-get -f install" as suggested, I would get the following error:

unable to create `./usr/lib/libGL.so.1.2': No such file or directory
among other things...

There's actually a pretty simple fix... I entered the following in a console:
dpkg-divert --remove /usr/lib/libGL.so.1.2
dpkg-divert --remove /usr/lib/libGL.so.1
apt-get -f install

All was well with the world - I still needed to manually reinstall my proprietary NVidia drivers, but at least now my package system wasn't broken anymore.


Categories:

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <br> <p>
  • Lines and paragraphs break automatically.

More information about formatting options

CAPTCHA
This question is for preventing automated spam submissions. It is case sensitive.
Image CAPTCHA
Enter the characters shown in the image.