nvidia graphics driver failing to activate - proxy

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
garda

Re: nvidia graphics driver failing to activate - proxy

Post by garda »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
garda

Re: nvidia graphics driver failing to activate - proxy

Post by garda »

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.
garda

Re: nvidia graphics driver failing to activate - proxy

Post by garda »

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
garda

Re: nvidia graphics driver failing to activate - proxy

Post by garda »

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.
garda

Re: nvidia graphics driver failing to activate - proxy

Post by garda »

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
garda

Re: nvidia graphics driver failing to activate - proxy

Post by garda »

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?
Locked

Return to “Hardware Support”