touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #33059
[Bug 1391349] Re: apport-retrace is failing for Ubuntu RTM 14.09
Looking more closely, install_packages calls self.set_mirror with the
apt sources from the configuation, however get_file_package is called
outside of the packaging backend (by sandboxutils.py) so the mirror
information is lost. Perhaps get_file_package just needs to use
self.set_mirror directly.
--
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:
apport-retrace is failing for Ubuntu RTM 14.09
Status in “apport” package in Ubuntu:
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/ubuntu/+source/apport/+bug/1391349/+subscriptions
References