update-manager ignores karmic

Bug #466521 reported by Florian Hars
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-cacher (Ubuntu)
Invalid
Undecided
Unassigned
update-manager (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: update-manager

I have a laptop with a fairly standard and up-to-date jaunty (updated once from intrepid), only non-standard thing is
Acquire::http::Proxy "http://192.168.178.20:3142";
in /etc/apt/apt.conf.d/00proxy. Apt-cacher is working at that address (just updated firefox (jaunty) on the laptop through it), updating to karmic through localhost:3142 on that host worked just fine, checking for all releases on the laptop is enabled, and still running update-manager -d or update-manager -c does not show anything except "your system is up to date".

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: update-manager 1:0.111.9
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: update-manager
Uname: Linux 2.6.28-16-generic i686

Revision history for this message
Florian Hars (hars) wrote :
Revision history for this message
Florian Hars (hars) wrote :

The problem is somewhere between update-manager and apt-cacher. I just removed the proxy definition from apt.conf.d and started update-manager, which now noticed the new release. Then I quit update-manager, put the apt-cacher proxy definition back in, started update-manager again and now the laptop started downloading through apt-cacher but failed:

, W:Konnte http://ftp.hosteurope.de/mirror/archive.ubuntu.com/dists/karmic-updates/multiverse/i18n/Translation-de.bz2 nicht holen Fehler beim Lesen vom Server - read (104 Connection reset by peer)
, W:Konnte http://ftp.hosteurope.de/mirror/archive.ubuntu.com/dists/karmic-security/restricted/i18n/Translation-de.bz2 nicht holen Fehler beim Lesen vom Server - read (104 Connection reset by peer)
, W:Konnte http://ftp.hosteurope.de/mirror/archive.ubuntu.com/dists/karmic-security/multiverse/i18n/Translation-de.bz2 nicht holen Fehler beim Lesen vom Server - read (104 Connection reset by peer)
, E:Einige Indexdateien konnten nicht heruntergeladen werden, sie wurden ignoriert oder alte an ihrer Stelle benutzt.'. Retrying (currentRetry: 2)

I had to completely remove german language support, but now it happily downloads the cached karmic packages:

Sat Oct 31 13:45:57 2009|4417|192.168.178.22|HIT|170634|vim-common_7.2.245-2ubuntu2_i386.deb

Revision history for this message
Neil Mayhew (neil.mayhew) wrote :

MetaRelease.py (the Python code that does the check for a new release) uses urllib2 directly, and doesn't use the apt/synaptic settings. Although urllib2 looks at the environment variables for proxy settings, sudo zaps these for security reasons. I was able to make it work by using sudo -s to get a root shell, setting the environment variables, and then running update-manager. My squid access log shows that it fetched http://changelogs.ubuntu.com/meta-release.

I believe this is a bug in MetaRelease.py, which should be changed to use the proxy settings from apt/synaptic.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

Could you please check if the version in jaunty-proposed helps with this problem? It fixes a proxy releated bug.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

@Florian, did you check if the version in jaunty-proposed helps with this problem?

Changed in update-manager (Ubuntu):
status: New → Incomplete
Revision history for this message
Florian Hars (florian-hars) wrote : Re: [Bug 466521] Re: update-manager ignores karmic

Jean-Baptiste Lallement schrieb:
> @Florian, did you check if the version in jaunty-proposed helps with
> this problem?

No, I have no jaunty installation anymore.

Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for following up. I'm closing this report due to your last comment.
Don't hesitate to submit any new bug.

Changed in update-manager (Ubuntu):
status: Incomplete → Invalid
Changed in apt-cacher (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.