This would fix the issue:
=== modified file 'apport/sandboxutils.py' --- apport/sandboxutils.py 2014-08-27 09:53:53 +0000 +++ apport/sandboxutils.py 2014-11-21 00:07:25 +0000 @@ -195,7 +195,9 @@ # crashing binary for path in ('InterpreterPath', 'ExecutablePath'): if path in report: - pkg = apport.packaging.get_file_package(report[path], True, cache_dir, + if sandbox_dir: + new_cache_dir = os.path.join(cache_dir, report['DistroRelease']) + pkg = apport.packaging.get_file_package(report[path], True, new_cache_dir, release=report['DistroRelease'], arch=report.get('Architecture')) if pkg:
This would fix the issue:
=== modified file 'apport/ sandboxutils. py' sandboxutils. py 2014-08-27 09:53:53 +0000 sandboxutils. py 2014-11-21 00:07:25 +0000 packaging. get_file_ package( report[ path], True, cache_dir, join(cache_ dir, report[ 'DistroRelease' ]) packaging. get_file_ package( report[ path], True, new_cache_dir,
release= report[ 'DistroRelease' ],
arch= report. get('Architectu re'))
--- apport/
+++ apport/
@@ -195,7 +195,9 @@
# crashing binary
for path in ('InterpreterPath', 'ExecutablePath'):
if path in report:
- pkg = apport.
+ if sandbox_dir:
+ new_cache_dir = os.path.
+ pkg = apport.
if pkg: