/usr/share/apport/whoopsie-upload-all:FileNotFoundError:/usr/share/apport/whoopsie-upload-all@220:main:collect_info:process_report:add_package_info:add_package:get_version:_apt_pkg:_cache:__init__:_check_and_create_required_dirs:makedirs:makedirs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
```
Traceback (most recent call last):
File "/usr/share/
main()
File "/usr/share/
stamps = collect_info()
File "/usr/share/
res = process_report(r)
File "/usr/share/
r.add_
File "/usr/lib/
version = self.add_
File "/usr/lib/
version = packaging.
File "/usr/lib/
pkg = self._apt_
File "/usr/lib/
return self._cache(
File "/usr/lib/
self._apt_cache = apt.Cache(progress, rootdir='/')
File "/usr/lib/
self.
File "/usr/lib/
os.
File "/usr/lib/
makedirs(head, exist_ok=exist_ok)
File "/usr/lib/
mkdir(name, mode)
FileNotFoundError: [Errno 2] No such file or directory: '//var/
```
The Ubuntu Error Tracker has been receiving reports about a problem regarding apport. This problem was most recently seen with package version 2.20.11-
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://
`apt.Cache( progress, rootdir='/')` fails with `FileNotFoundEr ror`. I consider it a bug in python-apt. If the caller should catch that failure, please document that in python-apt and assign back to apport.