SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2012-09-29 05:38:52

lwfitz
#! Die Hard
From: Monrovia, CA
Registered: 2012-01-19
Posts: 886
Website

Nividia uninstaller problems / cant update <SOLVED>

I got an error while running

sudo apt-get update
luke@crunchbang-desktop:~$ sudo apt-get update
[sudo] password for luke: 
Hit http://security.debian.org wheezy/updates InRelease                        
Hit http://http.us.debian.org wheezy InRelease                                 
Get:1 http://liquorix.net sid InRelease [6,714 B]                              
Ign http://liquorix.net sid InRelease                                          
Hit http://security.debian.org wheezy/updates/main amd64 Packages              
Ign http://liquorix.net sid/main amd64 Packages/DiffIndex                      
Hit http://ftp.debian.org wheezy InRelease                                     
Ign http://packages.crunchbang.org waldorf InRelease                           
Hit http://http.us.debian.org wheezy/non-free amd64 Packages/DiffIndex         
Hit http://ftp.debian.org wheezy/main amd64 Packages/DiffIndex                 
Hit http://packages.crunchbang.org waldorf Release.gpg                         
Hit http://http.us.debian.org wheezy/contrib amd64 Packages/DiffIndex          
Hit http://http.us.debian.org wheezy/main amd64 Packages/DiffIndex             
Hit http://ftp.debian.org wheezy/contrib amd64 Packages/DiffIndex              
Hit http://ftp.debian.org wheezy/non-free amd64 Packages/DiffIndex             
Hit http://http.us.debian.org wheezy/contrib Translation-en/DiffIndex          
Hit http://http.us.debian.org wheezy/main Translation-en/DiffIndex             
Hit http://http.us.debian.org wheezy/non-free Translation-en/DiffIndex         
Hit http://packages.crunchbang.org waldorf Release                             
Hit http://ftp.debian.org wheezy/contrib Translation-en/DiffIndex              
Hit http://ftp.debian.org wheezy/main Translation-en/DiffIndex                 
Hit http://packages.crunchbang.org waldorf/main amd64 Packages        
Hit http://ftp.debian.org wheezy/non-free Translation-en/DiffIndex    
Hit http://liquorix.net sid/main amd64 Packages                                
Ign http://liquorix.net sid/main Translation-en_US                             
Ign http://security.debian.org wheezy/updates/main Translation-en_US           
Ign http://liquorix.net sid/main Translation-en                                
Ign http://security.debian.org wheezy/updates/main Translation-en              
Ign http://packages.crunchbang.org waldorf/main Translation-en_US              
Ign http://packages.crunchbang.org waldorf/main Translation-en                 
Fetched 6,714 B in 9s (742 B/s)                                                
W: GPG error: http://liquorix.net sid InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3EFF4F272FB2CD80
E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 

So I ran

sudo dpkg --configure -a

And the nvidia uninstaller keeps trying to run. Im not sure why cuz earlier today I wasnt getting this error. Anyways I ran the uninstaller and it sticks here

luke@crunchbang-desktop:~$ sudo dpkg --configure -a
Setting up nvidia-installer-cleanup (20120630+3) ...

Welcome to the NVIDIA Software Installer for Unix/Linux


If you plan to no longer use the NVIDIA driver, you should make sure that no X
screens are configured to use the NVIDIA X driver in your X configuration file.
If you used nvidia-xconfig to configure X, it may have created a backup of your
original configuration. Would you like to run `nvidia-xconfig
--restore-original-backup` to attempt restoration of the original X
configuration file?
  [default: (N)o]: 

and wont do anything at all. I noticed I had some strange lock ups earlier so maybe that had something to do with this same problem?
Maybe I should just re-run smxi and totally uninstall nvidia and reinstall the drivers?

Also I noticed that at the same time this occured the border around my windows was broken and some of my installed themes dont load correctly now.

Last edited by lwfitz (2012-09-30 02:30:59)

Offline

Help fund CrunchBang, donate to the project!

#2 2012-09-29 20:08:21

mynis01
#! Die Hard
From: 127.0.0.1
Registered: 2010-07-02
Posts: 1,965

Re: Nividia uninstaller problems / cant update <SOLVED>

Maybe try uninstalling nvidia-installer-cleanup? It will probably take a bunch of dependencies with it resulting in you having to reinstall all your nvidia stuff. If it doesn't fix the problem, you could at least upgrade everything else before you reinstall the nvidia stuff. smxi might fix the problem too.

Offline

#3 2012-09-30 02:30:24

lwfitz
#! Die Hard
From: Monrovia, CA
Registered: 2012-01-19
Posts: 886
Website

Re: Nividia uninstaller problems / cant update <SOLVED>

mynis01 wrote:

Maybe try uninstalling nvidia-installer-cleanup? It will probably take a bunch of dependencies with it resulting in you having to reinstall all your nvidia stuff. If it doesn't fix the problem, you could at least upgrade everything else before you reinstall the nvidia stuff. smxi might fix the problem too.


nvidia-installer-cleanup just kept freezing and I couldnt run an upgrade cuz nvidia-installer-cleanup kept trying to run neutral

I got things to working again by going through the smxi process until it completely errored on me (at new driver install). By that point it had removed all of nvidia including nvidia-installer-cleanup.
I ran

 sudo dpkg --configure -a

and without nvidia-installer-cleanup there things finally ran ok. Then I was able to kill x and run smxi again.

Offline

#4 2013-07-05 04:15:25

iherreraro
New Member
Registered: 2013-07-05
Posts: 1

Re: Nividia uninstaller problems / cant update <SOLVED>

Hello All.

I had the same error, due to a different initial condition. I will post my problem and solution (which was very much based on the one posted above), which I expect will aid someone with the same problem in an easy manner.

First of all, I am running a Debian Wheezy amd64 distribution,
Second, I downloaded and installed the proprietary drivers from NVIDIA, disabled default nouveau-driver and installed from source.

After some compatibility issues with some programs, I decided I had to switch to the supported Debian drivers by installing the packages

 install libgl1-nvidia-glx:i386 nvidia-vdpau-driver:i386 

. I issued the following commands to do so (in order to use the multiarch packages):

sudo dpkg --add-architecture i386
sudo apt-get update
apt-get install libgl1-nvidia-glx:i386 nvidia-vdpau-driver:i386

This downloads a bunch of packages, and before installing the Distribution's drivers, it attemps to execute the

nvidia-installer-cleanup

command. But... sadly this stalls as shown in the first message from this thread. The way I solved this was by following this steps:

1. Change to Command Line interface (Ctrl+Alt+F1).
2. Log in.
3. Stop the gdm3 manager:

 sudo /etc/init.d/gdm3 stop 

(Be sure to be part of the sudoers group)
4. Uninstalling nvidia-driver with the Nvidias own command:

 sudo nvidia-uninstall 

(this lets nvidia-installer-cleanup nothing to do, and thus to bypass the initial stalling).
5. Do not restore the initial (before proprietary drivers) X Conf file.
6. Run the

 sudo dpkg --configure -a 

7.

 sudo apt-get install libgl1-nvidia-glx:i386 nvidia-vdpau-driver:i386 

8

 sudo reboot 

I hope this is a little bit easier to follow for anyone experiencing the same problem. It took me a while to figure it out, as this is not a very recurrent problem.

big_smile

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo