Question:
How come Ubuntu still attempts to install modules that failed, even when I apt-get install something else?
Charlie
2013-03-16 19:47:30 UTC
I recently had issues installing the nVidia drivers through the terminal using apt-get install nvidia-current. The install constantly broke stating that there were errors while building the package. It muffed up my X server causing me to have to recreate a new config file in the X11 directory.

I face-palmed after I realized I could have easily gotten the package on nvidia's website. I downloaded and let nvidia's installer easily take care of the rest. The installation was successful.

Now everytime I use apt-get install, the installer installs the program I download and at the end, attempts to install the same failed nvidia-current package. How do I stop this?
Three answers:
anonymous
2013-03-16 21:53:23 UTC
When you ask for help with stuff like this, you need to include the actual error messages.



what would try first is to sudo apt-get purge {packagename}. If that doesn't work, report the errors.



I had this error on debian when I switched from the debian driver to the binary driver from the nivida site. I had to use a dkpg command to list all packages that included the nvidia name, pipe it though grep, and do a sudo dpkg -r nvidia-packagename to get rid of them all.



I think the command was sudo dpkg -l | grep nvidia...but you could look that up.



As for the xconfig file...why did you have to create a new one...when you didn't have a correct driver anyway? When you finish installing an nivida driver, it usually runs a program that backs up and creates a new xorg.conf file that is "optimized" for your system...if it doesn't you can run this command by typing sudo nvidia-xconfig
salmona
2016-10-08 06:48:30 UTC
In Linux you in user-friendly terms choose the uninstall option, by no skill choose complete removing when you consider which you run the possibility of it removing dependency records that different courses could want and required for them to paintings. In do away with all equipment records, Linux has no concept that different courses use the comparable dependency records that have been put in. you're able to desire to finally finally end up with an working equipment that doesn't paintings precise or won't paintings in any respect.
t
2013-03-16 20:37:41 UTC
sudo apt-get remove nvidia-current


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...