-   Linux - Newbie (
-   -   How to remove proxy in synaptic package manager (

prakashsince92 06-14-2010 03:50 PM

How to remove proxy in synaptic package manager
Hi eveyone,

I use ubuntu 9.10 karmic(x86).

I was using a wifi network in my college,for which i used a proxy. Now i'm back home and am using a broadband connection. When i try to install packages via ..synaptic package manager , it pops with an error saying.. it cannot connect to the proxy "".

Yes ,of course it should not be able to,as i am not in that vicinity anymore.
I have changed the settings to direct connection in preferereces->network in the synaptic package manager

secondly,changed the network proxy settings and applied it system wide.

thirdly, I configured the /etc/apt/apt.conf file..
changed it to
Acquire::http :: proxy "false";

But, nothing will work, still getting that error.. pls help me

bsat 06-15-2010 09:48 AM

turn off the wi fi and give it a try.
check your panel on the top, is the broadband connected ?

mazinoz 06-15-2010 09:55 AM

'changed the network proxy settings and applied it system wide' Where and how?

kc4mts 06-16-2010 12:14 AM

Hello prakashsince92,

I am using 8.04 Ubuntu and if you are using the GUI version of Synaptic Package Manager start it up select settings => preferences => network and click on the button for direct connect to the internet. If you are never going to use that proxy again, you can delete all of the information below the 'Manual proxy configuration" button. I am fairly sure that Synaptic (GUI) for 9.10 Ubuntu uses the same method.


prakashsince92 06-16-2010 05:11 AM

thanks for replying bsat,

Hi bsat, Yes my broadband is connected, ya .. i will give it a shot after turning the wifi off and let you know.

prakashsince92 06-16-2010 05:19 AM

Thnaks for replying mazinoz,

I did it by:
system->prefernces->network proxy->direct internet connection
apply system wide

prakashsince92 06-16-2010 05:22 AM

Hi kc4mts, thanks for replying,

Yes i'm using the GUI version of synaptic,and i have already removed the information below the " manual proxy configuration button" . It did not work

evo2 06-16-2010 07:01 AM

How/where did you set the proxy in the first place?


prakashsince92 06-16-2010 09:49 AM

Hi evo2,
thanks for replying,
I set the proxy in two places:
1)in synaptic, setting->network -> proxy
2)system ->preferences->proxy

evo2 06-16-2010 10:01 AM



I set the proxy in two places:
1)in synaptic, setting->network -> proxy
2)system ->preferences->proxy
Hmm, I'm not so familiar with the gui, so I don't know what the above actions would actually change.

Perhaps the following could help shed some light on the problem. Please open a terminal, run the following commands and then cut and paste the output into the forum:

env | grep -i proxy
grep -ir proxy /etc/apt



prakashsince92 06-16-2010 02:28 PM

Hi evo2, Thanks for your reply
I have actually got the synaptic working now !:) I have already installed a tool called gconf -editor( I really do not know why i installed it then), the proxy settings in that remain in place even after i turn the proxy off synaptic and network proxy. Is this a bug?? But if i edit the proxy setting in this GUI tool, synaptic has started working!

And now executed the code u gave:
the output is:

grep: /etc/apt/secring.gpg: Permission denied
grep: /etc/apt/trustdb.gpg: Permission denied

Its working now! Is there any other way to unset the proxy without using the gconf-editor( It is available in ubuntu universe repository: Application->ubuntu software center->system tools->configuration editor)

Please let me know whether there is anyother way of doing the same.Thanks in advance

evo2 06-16-2010 09:49 PM

Anything you set with gconf-editor can be set on the command line using gconftool-2, or by basically any program that wants to make changes.


prakashsince92 06-17-2010 06:12 AM

Hi evo2,
Can you tell me how to use gconftool-2 or more generally how can i learn command line in linux!
command line looks like the ultimate way out to solve the problems
Thank you

evo2 06-17-2010 04:55 PM

For specific commands read the man page associated with the command. Eg


man gconftool-2
and any other documentation that comes with that package. Eg files in

For more general documentation on the command line there are a bunch of resources on the web. One that comes to mind is the rute book:

(this is actually packaged for Debian (and therefore perhaps Ubuntu) under the name "rutebook")



prakashsince92 06-17-2010 06:34 PM

Thank you, evo2 :)

All times are GMT -5. The time now is 08:08 AM.