Contents.gz files exist multiple times in sandboxes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Apport |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
ubuntu@
/srv/daisy.
/srv/daisy.
/srv/daisy.
/srv/daisy.
/srv/daisy.
/srv/daisy.
and on a production retracer - https:/
This is because needed_
While make_sandbox (in sandboxutils.py) does not add DistroRelease to cache_dir before calling get_file_package.
Subsequently, we have multiple copies of Contents-amd64.gz and for many runs of apport-retrace end up downloading the files twice as many times.
Further evidence of the issue:
PYTHONPATH= $PYTHONPATH: ~/source- trees/apport/ trunk/ python ~/source- trees/apport/ trunk/bin/ apport- retrace -v -S /home/bdmurray/ Documents/ canonical/ retracer- config --sandbox-dir /tmp/test- double- contents -C /tmp/test- double- contents /mnt/sec- machines/ nautilus- libbz2- numbertwo. crash 192.168. 10.1 trusty InRelease ddebs.ubuntu. com trusty- proposed/ multiverse amd64 Packages runtime_ packages cache_dir: /tmp/test- double- contents/ Ubuntu 14.04 64-linux- gnu/libdbus- 1.so.3. 7.6 is needed, but cannot be mapped to a package x86_64- linux-gnu/ libexempi. so.3.2. 3 is needed, but cannot be mapped to a package double- contents double- contents/ usr/bin/ nautilus does not exist (report specified package nautilus 1:3.10. 1-0ubuntu9. 3)
Ign http://
....
Hit http://
Fetched 594 B in 6s (3531 kB/s)
Fetched 0 B in 0s (0 B/s)
Extracting downloaded debs...
needed_
....
WARNING: /lib/x86_
WARNING: /usr/lib/
make_sandbox cache_dir: /tmp/test-
WARNING: Cannot find package which ships ExecutablePath
ERROR: ExecutablePath /tmp/test-