Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

I have Ubuntu 10.10 installed on a Thinkpad machine. Recently I installed NVidia CUDA on it. The installation was successful, thanks to this very helpful guide.

Unfortunately, the X server stopped working after the latest software update/upgrade. I could use the shell, but doing sudo /etc/init.d/gdm stop and then start never helped. Doing Ctrl + Alt + F7 changed the screen to the boot log (all those messages that are shown if you load Ubuntu in the failsafe mode). No Gnome, no graphical log-in window.

I reinstalled Ubuntu 10.10 on another partition and reinstalled CUDA. NVidia's dev driver works and I would like to prevent my new Ubuntu from doing this kind of dangerous upgrades again. But still I would like to do sudo apt-get update and sudo apt-get upgrade for all the other packages on the system.

How can I do updates to Ubuntu while excluding NVidia video drivers (and all that xorg.conf stuff) from being updated?

share|improve this question
up vote 0 down vote accepted

You'd either need to use pinning or holding packages from your package manager - holding seems easier - by the looks of things holding is easier

You can do it from your package manager with the 'lock version' option or with dpkg with the command echo packagename hold | dpkg --set-selections . See the link i linked earlier for more details

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .