[Bug 283500] Re: Synaptic, update-manager, apt-get and wget should share proxy settings
ender
ender46 at gmail.com
Thu Apr 19 15:39:01 UTC 2012
I don't think this issue is fixed in 12.04 beta.
I have set my proxy settings in Network Settings, in ~/.bashrc, in
/etc/apt.conf and in /etc/wgetrc (as I used to do in 10.04 and 10.10).
Web browsers work, wget works and updates (both graphical and via apt-
get) work, except for the flashplugin-installer, which times out when
trying to download the file:
flashplugin-installer: downloading http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_11.2.202.233.orig.tar.gz
Traceback (most recent call last):
File "/usr/lib/update-notifier/package-data-downloader", line 234, in process_download_requests
dest_file = urllib.urlretrieve(files[i])[0]
File "/usr/lib/python2.7/urllib.py", line 93, in urlretrieve
return _urlopener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.7/urllib.py", line 239, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.7/urllib.py", line 207, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 344, in open_http
h.endheaders(data)
File "/usr/lib/python2.7/httplib.py", line 954, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 814, in _send_output
self.send(msg)
File "/usr/lib/python2.7/httplib.py", line 776, in send
self.connect()
File "/usr/lib/python2.7/httplib.py", line 757, in connect
self.timeout, self.source_address)
File "/usr/lib/python2.7/socket.py", line 571, in create_connection
raise err
IOError: [Errno socket error] [Errno 110] Connection timed out
I never heard of /etc/environment, and looking at the file I see nothing proxy related:
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games"
LANGUAGE="en_US:en"
LANG="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
It's definely a regression since with this very configuration I could update flash in 10.04 no problem. Should I open a new bug report or continue with this one? Also if you need more info on my system I'll be happy to provide it, I'm running an updated 12.04, with 3.2.0-23-generic kernel, x86_64.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/283500
Title:
Synaptic, update-manager, apt-get and wget should share proxy
settings
Status in The synaptic package manager:
New
Status in “apt” package in Ubuntu:
Fix Released
Status in “synaptic” package in Ubuntu:
Fix Released
Status in “update-manager” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: synaptic
I installed Intrepid on one of my lab machines today. It needs to use
a proxy server to get updates.
What I did was:
Go to Synaptic, Settings->Preferences->Network
I then entered my proxy server information there. Things seemed to
work since I could then refresh packages, so I closed it.
The update manager then told me I had updates to install, so I clicked on the update manager. The update manager, however, doesn't use Synaptic's proxy configuration settings -- it uses its own. So, everything failed, and in order to fix it I had to go to the Gnome Network Proxy preferences and configure one there globally (then click "apply system-wide")
This is all less than ideal.
I can't think of a use case where a user would want to have different
proxy configuration for Synaptic and update manager (or command-line
apt-get, for that matter). So, they should use the same setting, in a
standard way. It would be nice if Synaptic made it obvious if it was
using a system-wide setting that Gnome set as well - something like a
checkbox or radio button for "use system-wide proxy settings".
To manage notifications about this bug go to:
https://bugs.launchpad.net/synaptic/+bug/283500/+subscriptions
More information about the foundations-bugs
mailing list