LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 06-14-2010, 03:50 PM   #1
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Rep: Reputation: 0
Exclamation 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
 
Old 06-15-2010, 09:48 AM   #2
bsat
Member
 
Registered: Feb 2009
Posts: 347

Rep: Reputation: 72
turn off the wi fi and give it a try.
check your panel on the top, is the broadband connected ?
 
0 members found this post helpful.
Old 06-15-2010, 09:55 AM   #3
mazinoz
Member
 
Registered: Mar 2003
Location: Mansfield Queensland Australia
Distribution: Debian Squeeze. Various live CD's Win7
Posts: 359

Rep: Reputation: 32
'changed the network proxy settings and applied it system wide' Where and how?
 
0 members found this post helpful.
Old 06-16-2010, 12:14 AM   #4
kc4mts
LQ Newbie
 
Registered: Nov 2008
Posts: 25

Rep: Reputation: 0
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

Last edited by kc4mts; 06-16-2010 at 12:16 AM.
 
Old 06-16-2010, 05:11 AM   #5
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Original Poster
Rep: Reputation: 0
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.

Last edited by prakashsince92; 06-16-2010 at 05:21 AM.
 
Old 06-16-2010, 05:19 AM   #6
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Original Poster
Rep: Reputation: 0
Thnaks for replying mazinoz,

I did it by:
system->prefernces->network proxy->direct internet connection
apply system wide
 
Old 06-16-2010, 05:22 AM   #7
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Original Poster
Rep: Reputation: 0
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
 
Old 06-16-2010, 07:01 AM   #8
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
How/where did you set the proxy in the first place?

Evo2.
 
Old 06-16-2010, 09:49 AM   #9
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Original Poster
Rep: Reputation: 0
Hi evo2,
thanks for replying,
I set the proxy in two places:
1)in synaptic, setting->network -> proxy
2)system ->preferences->proxy
 
Old 06-16-2010, 10:01 AM   #10
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
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.
 
Old 06-16-2010, 02:28 PM   #11
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Original Poster
Rep: Reputation: 0
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

Last edited by prakashsince92; 06-16-2010 at 02:29 PM.
 
Old 06-16-2010, 09:49 PM   #12
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
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.
 
Old 06-17-2010, 06:12 AM   #13
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Original Poster
Rep: Reputation: 0
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
 
Old 06-17-2010, 04:55 PM   #14
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and Scientific Linux
Posts: 5,591

Rep: Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244Reputation: 1244
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.
 
Old 06-17-2010, 06:34 PM   #15
prakashsince92
Member
 
Registered: Jan 2010
Distribution: Ubuntu 10.10 Maverick
Posts: 37

Original Poster
Rep: Reputation: 0
Thank you, evo2

Last edited by prakashsince92; 06-17-2010 at 06:36 PM.
 
  


Reply

Tags
proxy, remove, synaptic


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Difference between Add/Remove Applications and Synaptic Package Manager SHENGTON Linux - Newbie 6 03-24-2009 01:30 PM
Synaptic Package Manager kiwipete Linux - Newbie 6 05-17-2008 09:12 PM
Want Synaptic package Manager too.. DAVE666 Linux - Newbie 6 01-29-2008 12:13 PM
LXer: Simple Package management with Synaptic Package Manager LXer Syndicated Linux News 0 12-05-2006 07:33 PM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 10:30 AM


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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration