LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to remove proxy in synaptic package manager (http://www.linuxquestions.org/questions/linux-newbie-8/how-to-remove-proxy-in-synaptic-package-manager-814112/)

prakashsince92 06-14-2010 02: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 "172.16.1.5:8080".

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 08: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 08:55 AM

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

kc4mts 06-15-2010 11:14 PM

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.

Alan

prakashsince92 06-16-2010 04: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 04:19 AM

Thnaks for replying mazinoz,

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

prakashsince92 06-16-2010 04: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 06:01 AM

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

Evo2.

prakashsince92 06-16-2010 08: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 09:01 AM

Hi,

Quote:

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:
Code:

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

Cheers,

Evo2.

prakashsince92 06-16-2010 01: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:

/etc/apt/apt.conf:#use_proxy=off;
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 08: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.

Evo2.

prakashsince92 06-17-2010 05: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 03:55 PM

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

Code:

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

usr/share/doc/packagename/gconftool-2
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:

http://rute.2038bug.com/index.html.gz

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

Cheers,

Evo2.

prakashsince92 06-17-2010 05:34 PM

Thank you, evo2 :)


All times are GMT -5. The time now is 09:39 PM.