nvidia graphics driver failing to activate - proxy

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read this

nvidia graphics driver failing to activate - proxy

Postby diamondd on Fri Mar 20, 2009 3:25 am

Hi guys, I just installed Linux Mint on my system and I've gone to Administration->Hardware Drivers and it's told me I need one of two nvidia drivers which is fair enough but neither are working.

When I try to activate one of them it comes up with a downloading and installing driver window which makes zero progress and disappears after a while and gets replaced by a very uninformative error message that doesn't tell me anything.

Like I said in the subject title I'm at college working behind a proxy which I guess is probably what's causing the issue. I entered the proxy details and applied system wide and I can get on the net and everything but I think its probably still something to do with the proxy that's stopping the driver activation to work.

If anybody could help me out that would be great, are there some terminal commands I should try? I'm assuming I could obtain the drivers directly through that but I'm new to linux so maybe not.

Cheers
diamondd
Level 1
Level 1
 
Posts: 6
Joined: Fri Mar 20, 2009 3:17 am

Linux Mint is funded by ads and donations.
 

Re: nvidia graphics driver failing to activate - proxy

Postby garda on Fri Mar 20, 2009 4:08 am

Try refreshing the package and repositories informations either by pressing CTRL+R in Synaptic or by entering this command in Terminal:
Code: Select all
apt update

Then try to install the restricted drivers again. Restricted graphics drivers are not mandatory to making a usable Linux system, by the way. They are only needed for 3D acceleration and compositing effects.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: nvidia graphics driver failing to activate - proxy

Postby diamondd on Fri Mar 20, 2009 4:18 am

garda wrote:Try refreshing the package and repositories informations either by pressing CTRL+R in Synaptic or by entering this command in Terminal:
Code: Select all
apt update

Then try to install the restricted drivers again. Restricted graphics drivers are not mandatory to making a usable Linux system, by the way. They are only needed for 3D acceleration and compositing effects.

I just tried both of those things but I'm getting this error:

E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable)
E: Unable to lock the list directory

do you know what that could mean?
diamondd
Level 1
Level 1
 
Posts: 6
Joined: Fri Mar 20, 2009 3:17 am

Re: nvidia graphics driver failing to activate - proxy

Postby garda on Fri Mar 20, 2009 4:30 am

That error message pops up if you execute apt commands in Terminal while Synaptic is running. So close Synaptic then execute the above command again and try to install nvidia restricted driver again. If it still will not install, post the error message here.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: nvidia graphics driver failing to activate - proxy

Postby garda on Fri Mar 20, 2009 4:39 am

Edit:
You can also try this (make sure Synaptic is not running before proceeding):
Code: Select all
sudo su

Code: Select all
cd /var/lib/apt/lists/

Code: Select all
mv lock lock.old
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: nvidia graphics driver failing to activate - proxy

Postby diamondd on Fri Mar 20, 2009 4:41 am

garda wrote:That error message pops up if you execute apt commands in Terminal while Synaptic is running. So close Synaptic then execute the above command again and try to install nvidia restricted driver again. If it still will not install, post the error message here.

cool, here's the error message I'm getting now though:

apt update
[sudo] password for dave:
Err http://archive.canonical.com intrepid Release.gpg
Could not connect to archive.canonical.com:80 (91.189.90.142). - connect (113 No route to host)
Err http://archive.canonical.com intrepid/partner Translation-en_AU
Could not connect to archive.canonical.com:80 (91.189.90.142). - connect (113 No route to host)
Ign http://archive.canonical.com intrepid Release
Ign http://archive.canonical.com intrepid/partner Packages
Err http://archive.canonical.com intrepid/partner Packages
Could not connect to archive.canonical.com:80 (91.189.90.142). - connect (113 No route to host)
Err http://packages.linuxmint.com felicia Release.gpg
Could not connect to packages.linuxmint.com:80 (80.86.83.193). - connect (113 No route to host)
Err http://packages.linuxmint.com felicia/main Translation-en_AU
Could not connect to packages.linuxmint.com:80 (80.86.83.193). - connect (113 No route to host)
Err http://packages.linuxmint.com felicia/upstream Translation-en_AU
Could not connect to packages.linuxmint.com:80 (80.86.83.193). - connect (113 No route to host)
Err http://packages.linuxmint.com felicia/import Translation-en_AU
Could not connect to packages.linuxmint.com:80 (80.86.83.193). - connect (113 No route to host)
Ign http://packages.linuxmint.com felicia Release
Ign http://packages.linuxmint.com felicia/main Packages
Ign http://packages.linuxmint.com felicia/upstream Packages
Ign http://packages.linuxmint.com felicia/import Packages
Err http://packages.linuxmint.com felicia/main Packages
Could not connect to packages.linuxmint.com:80 (80.86.83.193). - connect (113 No route to host)
Err http://packages.linuxmint.com felicia/upstream Packages
Could not connect to packages.linuxmint.com:80 (80.86.83.193). - connect (113 No route to host)
Err http://packages.linuxmint.com felicia/import Packages
Could not connect to packages.linuxmint.com:80 (80.86.83.193). - connect (113 No route to host)
Err http://packages.medibuntu.org intrepid Release.gpg
Could not connect to packages.medibuntu.org:80 (88.191.79.39). - connect (113 No route to host) [IP: 88.191.79.39 80]
Err http://packages.medibuntu.org intrepid/free Translation-en_AU
Could not connect to packages.medibuntu.org:80 (88.191.79.39). - connect (113 No route to host) [IP: 88.191.79.39 80]
Err http://packages.medibuntu.org intrepid/non-free Translation-en_AU
Could not connect to packages.medibuntu.org:80 (88.191.79.39). - connect (113 No route to host) [IP: 88.191.79.39 80]
Ign http://packages.medibuntu.org intrepid Release
Ign http://packages.medibuntu.org intrepid/free Packages
Ign http://packages.medibuntu.org intrepid/non-free Packages
Err http://packages.medibuntu.org intrepid/free Packages
Could not connect to packages.medibuntu.org:80 (88.191.79.39). - connect (113 No route to host) [IP: 88.191.79.39 80]
Err http://packages.medibuntu.org intrepid/non-free Packages
Could not connect to packages.medibuntu.org:80 (88.191.79.39). - connect (113 No route to host) [IP: 88.191.79.39 80]
Err http://security.ubuntu.com intrepid-security Release.gpg
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Err http://security.ubuntu.com intrepid-security/main Translation-en_AU
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Err http://security.ubuntu.com intrepid-security/restricted Translation-en_AU
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Err http://security.ubuntu.com intrepid-security/universe Translation-en_AU
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Err http://security.ubuntu.com intrepid-security/multiverse Translation-en_AU
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Ign http://security.ubuntu.com intrepid-security Release
Ign http://security.ubuntu.com intrepid-security/main Packages
Ign http://security.ubuntu.com intrepid-security/restricted Packages
Ign http://security.ubuntu.com intrepid-security/universe Packages
Ign http://security.ubuntu.com intrepid-security/multiverse Packages
Err http://security.ubuntu.com intrepid-security/main Packages
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Err http://security.ubuntu.com intrepid-security/restricted Packages
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Err http://security.ubuntu.com intrepid-security/universe Packages
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
Err http://security.ubuntu.com intrepid-security/multiverse Packages
Could not connect to security.ubuntu.com:80 (91.189.88.37). - connect (113 No route to host)
14% [Connecting to archive.ubuntu.com (91.189.88.31)]^Cdave@dave ~ $

Had a feeling it was gonna keep going so I just killed it.
diamondd
Level 1
Level 1
 
Posts: 6
Joined: Fri Mar 20, 2009 3:17 am

Re: nvidia graphics driver failing to activate - proxy

Postby garda on Fri Mar 20, 2009 4:54 am

Execute this command in Terminal then run apt update again:
Code: Select all
export http_proxy=http://username:password@proxy:port

Of course, you have to replace everything after http:// with the necessary values.
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: nvidia graphics driver failing to activate - proxy

Postby diamondd on Fri Mar 20, 2009 5:05 am

ok, this is a real noob question but how can I quit synaptic? I just reboot my computer but I'm still getting that E: lock error when i type apt-get update in the terminal.

i opened up the system monitor but i cant see anything about synaptic in the processes tab
diamondd
Level 1
Level 1
 
Posts: 6
Joined: Fri Mar 20, 2009 3:17 am

Re: nvidia graphics driver failing to activate - proxy

Postby garda on Fri Mar 20, 2009 5:18 am

Enter this command in Terminal:
Code: Select all
ps aux | grep apt

You will get something like this:

garda 15104 0.0 0.0 1860 496 ? Ss 16:10 0:00 /bin/sh -c gksu synaptic
garda 15105 0.1 0.5 15556 6080 ? S 16:10 0:00 gksu synaptic
root 15118 32.0 2.7 65916 28872 ? Rs 16:10 0:14 synaptic
garda 17276 0.0 0.0 3132 764 pts/0 R+ 16:11 0:00 grep --colour=auto apt

Note the number in bold above, that is the pid of Synaptic. Add it to a kill command to close Synaptic by force:
Code: Select all
sudo kill 15118

If Synaptic is not listed in the output of the first command, you may want to proceed with the instructions I posted earlier:
garda wrote:
Code: Select all
sudo su

Code: Select all
cd /var/lib/apt/lists/

Code: Select all
mv lock lock.old

Still not working? Try this one:
Code: Select all
sudo apt-get clean
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: nvidia graphics driver failing to activate - proxy

Postby diamondd on Fri Mar 20, 2009 5:29 am

garda wrote:Still not working? Try this one:
Code: Select all
sudo apt-get clean

thanks, that one worked and then i did apt-get update and that worked as well

but now when i go into synaptic i'm still getting this error when I try to apply:

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/m ... .1_all.deb
404 Not Found
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/m ... 1_i386.deb
404 Not Found
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/r ... 1_i386.deb
404 Not Found
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/r ... 1_i386.deb
404 Not Found
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/m ... 1_i386.deb
404 Not Found
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/m ... 5_i386.deb
404 Not Found

which i'm 99% sure indicates an error on their end. Same sort of errors apply when i try to get any of the packages. If i click on reload in synaptic i also get the following error:

Could not download all repository indexes

The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.
ailed to fetch http://packages.linuxmint.com/dists/fel ... ackages.gz 404 Not Found
Failed to fetch http://security.ubuntu.com/ubuntu/dists ... ackages.gz 404 Not Found
etc, etc
diamondd
Level 1
Level 1
 
Posts: 6
Joined: Fri Mar 20, 2009 3:17 am

Re: nvidia graphics driver failing to activate - proxy

Postby garda on Fri Mar 20, 2009 5:37 am

I just tried to do an apt-get update but I did not get 404 (not found) error. So either there is something wrong with your proxy or you have not correctly setup the proxy information.

Have you entered your proxy informations, either by executing the 'export' command in one of my earlier posts or by adding them in Synaptic > Preferences > Network tab?
User avatar
garda
Level 5
Level 5
 
Posts: 744
Joined: Sat Aug 30, 2008 2:55 am
Location: /root

Re: nvidia graphics driver failing to activate - proxy

Postby diamondd on Fri Mar 20, 2009 12:06 pm

garda wrote:I just tried to do an apt-get update but I did not get 404 (not found) error. So either there is something wrong with your proxy or you have not correctly setup the proxy information.

Have you entered your proxy informations, either by executing the 'export' command in one of my earlier posts or by adding them in Synaptic > Preferences > Network tab?

yeah i did both of those things but neither seem to have worked. It's strange because I can get onto the net with firefox and everything but for some reason the other stuff isnt working.
diamondd
Level 1
Level 1
 
Posts: 6
Joined: Fri Mar 20, 2009 3:17 am

Linux Mint is funded by ads and donations.
 

Return to Hardware Support

Who is online

Users browsing this forum: Bing [Bot] and 10 guests