Posted by: Odzangba | June 25, 2008

Synaptic proxy configuration problems

Synaptic gave me at least 15 minutes of pure unmitigated frustration this afternoon when it started choking with this piece of gibberish:

407 Proxy Authentication Required

I’d already configured my proxy settings in apt.conf and my bashrc file, and had assigned the right values to the http_proxy and ftp_proxy variables, not to mention the fact that synaptic had been working okay earlier in the day with no problems so this came as a surprise. Just to make pin-point the problem, I dropped into the terminal and did a sudo apt-get update… worked fine. Tried installing something with apt-get… worked. Tried downloading something with wget… worked fine. Yet synaptic would still not work.

In the end, I tracked down the problem to gksu. When I launched synaptic like so

gksudo synaptic

The problem just disappears and synaptic works… weird. So I used the Alacarte menu editor (right-click on the menu icon and select ‘Edit Menus’) to change the entry for synaptic package manager from

gksu /usr/sbin/synaptic

to

gksudo /usr/sbin/synaptic

I don’t know what caused this problem and I probably should file a bug report somewhere…


Responses

  1. thanks a lot!!!
    that really worked……
    in my case i needed to set “export http_proxy……..” firrst


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Categories

%d bloggers like this: