Well trying to run get_file_package() before install_packages() didn't work out to well.
Traceback (most recent call last):
File "/home/bdmurray/source-trees/apport/retracer-hack/bin/apport-retrace", line 301, in <module>
options.dynamic_origins)
File "/home/bdmurray/source-trees/apport/retracer-hack/apport/sandboxutils.py", line 185, in make_sandbox
arch=report.get('Architecture'))
File "/home/bdmurray/source-trees/apport/retracer-hack/apport/packaging_impl.py", line 463, in get_file_package
return self._search_contents(file, map_cachedir, release, arch)
File "/home/bdmurray/source-trees/apport/retracer-hack/apport/packaging_impl.py", line 1150, in _search_contents
release = self._distro_release_to_codename(release)
File "/home/bdmurray/source-trees/apport/retracer-hack/apport/packaging_impl.py", line 1133, in _distro_release_to_codename
raise NotImplementedError('Cannot map DistroRelease to a code name without install_packages()')
NotImplementedError: Cannot map DistroRelease to a code name without install_packages()
Well trying to run get_file_package() before install_packages() didn't work out to well.
Traceback (most recent call last): bdmurray/ source- trees/apport/ retracer- hack/bin/ apport- retrace" , line 301, in <module> dynamic_ origins) bdmurray/ source- trees/apport/ retracer- hack/apport/ sandboxutils. py", line 185, in make_sandbox report. get('Architectu re')) bdmurray/ source- trees/apport/ retracer- hack/apport/ packaging_ impl.py" , line 463, in get_file_package contents( file, map_cachedir, release, arch) bdmurray/ source- trees/apport/ retracer- hack/apport/ packaging_ impl.py" , line 1150, in _search_contents release_ to_codename( release) bdmurray/ source- trees/apport/ retracer- hack/apport/ packaging_ impl.py" , line 1133, in _distro_ release_ to_codename rror('Cannot map DistroRelease to a code name without install_ packages( )') rror: Cannot map DistroRelease to a code name without install_packages()
File "/home/
options.
File "/home/
arch=
File "/home/
return self._search_
File "/home/
release = self._distro_
File "/home/
raise NotImplementedE
NotImplementedE