touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #33065
[Bug 1391349] Re: apport-retrace is failing for Ubuntu RTM 14.09
The problem here is that RTM doesn't produce Contents-*.gz:
http://derived.archive.canonical.com/ubuntu-rtm/dists/14.09/
Colin mentioned the other day that this was a known problem, and there's
some RT for it.
Apport's backends/packaging-apt-dpkg.py is ok: set_mirror() sets the
mirror for the whole __AptDpkgPackageInfo object, so it is also
available in _search_contents() when it calls _get_mirror().
** Package changed: apport (Ubuntu) => launchpad
** Changed in: launchpad
Assignee: Martin Pitt (pitti) => (unassigned)
** Summary changed:
- apport-retrace is failing for Ubuntu RTM 14.09
+ Ubuntu RTM 14.09 does not produce Contents-*.gz
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1391349
Title:
Ubuntu RTM 14.09 does not produce Contents-*.gz
Status in Launchpad itself:
Triaged
Bug description:
I noticed that retraces of crashes from Ubuntu RTM 14.09 are failing
and I suspect it is because of the following in backends/packaging-
apt-dpkg.py:
if age is None or age >= 86400:
url = '%s/dists/%s%s/Contents-%s.gz' % (self._get_mirror(), release, pocket, arch)
try:
src = urlopen(url)
except IOError:
# we ignore non-existing pockets, but we do crash if the
# release pocket doesn't exist
if pocket == '':
raise
Because Ubuntu RTM 14.09 uses a different archive
(derived.archive.canonical.com) than the system one
(archive.ubuntu.com) this will fail.
Given that there is a retracer configuration for this release (and for
all releases), I think it'd make sense to use set_mirror from the same
code to choose the specific mirror. This would need to be done in
apport/sandboxutils.py and would require sorting out the mirror from
the sources.list file in the config_dir.
To manage notifications about this bug go to:
https://bugs.launchpad.net/launchpad/+bug/1391349/+subscriptions
References