I tried to debug a gnome-shell crash in Ubuntu 20.04, but unfortunately apport-retrace is unable to build a sandbox, it fails with urllib.error.HTTPError: HTTP Error 404: Not Found, here is the whole cmd:
user@ubuntu:~$ apport-retrace -R --sandbox system --cache /var/crash/sandbox/ --stdout /var/crash/_usr_bin_gnome-shell.1000.crash
Traceback (most recent call last):
File "/usr/bin/apport-retrace", line 322, in <module>
sandbox, cache, outdated_msg = apport.sandboxutils.make_sandbox(
File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 220, in make_sandbox
pkgs = needed_runtime_packages(report, sandbox_dir, pkgmap_cache_dir, pkg_versions, verbose)
File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 92, in needed_runtime_packages
pkg = apport.packaging.get_file_package(l, True, pkgmap_cache_dir,
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 490, in get_file_package
return self._search_contents(file, map_cachedir, release, arch)
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 1324, in _search_contents
src = urlopen(url)
File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 531, in open
response = meth(req, response)
File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
response = self.parent.error(
File "/usr/lib/python3.8/urllib/request.py", line 569, in error
return self._call_chain(*args)
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found
I tried to debug a gnome-shell crash in Ubuntu 20.04, but unfortunately apport-retrace is unable to build a sandbox, it fails with urllib. error.HTTPError : HTTP Error 404: Not Found, here is the whole cmd:
user@ubuntu:~$ apport-retrace -R --sandbox system --cache /var/crash/sandbox/ --stdout /var/crash/ _usr_bin_ gnome-shell. 1000.crash apport- retrace" , line 322, in <module> sandboxutils. make_sandbox( python3/ dist-packages/ apport/ sandboxutils. py", line 220, in make_sandbox runtime_ packages( report, sandbox_dir, pkgmap_cache_dir, pkg_versions, verbose) python3/ dist-packages/ apport/ sandboxutils. py", line 92, in needed_ runtime_ packages packaging. get_file_ package( l, True, pkgmap_cache_dir, python3/ dist-packages/ apport/ packaging_ impl.py" , line 490, in get_file_package contents( file, map_cachedir, release, arch) python3/ dist-packages/ apport/ packaging_ impl.py" , line 1324, in _search_contents python3. 8/urllib/ request. py", line 222, in urlopen python3. 8/urllib/ request. py", line 531, in open python3. 8/urllib/ request. py", line 640, in http_response python3. 8/urllib/ request. py", line 569, in error chain(* args) python3. 8/urllib/ request. py", line 502, in _call_chain python3. 8/urllib/ request. py", line 649, in http_error_default req.full_ url, code, msg, hdrs, fp) error.HTTPError : HTTP Error 404: Not Found
Traceback (most recent call last):
File "/usr/bin/
sandbox, cache, outdated_msg = apport.
File "/usr/lib/
pkgs = needed_
File "/usr/lib/
pkg = apport.
File "/usr/lib/
return self._search_
File "/usr/lib/
src = urlopen(url)
File "/usr/lib/
return opener.open(url, data, timeout)
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
response = self.parent.error(
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
urllib.