I was the one who originally had this issue and tried to get help on IRC, so I can confirm that this happens on my system as well with ZFS (encrypted) when running "snap remove firefox" during the first boot.
I decided to reproduce it again in order to submit my information but "apport-collect 1970066" suggested that I create a separate report.
When I then ran "apport-bug snapd" it failed (see attached screenshot) with a FileNotFoundError.
When I then tried to let apport-collect send my info anyway then it also failed:
Traceback (most recent call last):
File "/usr/share/apport/apport-gtk", line 597, in <module>
app.run_argv()
File "/usr/lib/python3/dist-packages/apport/ui.py", line 719, in run_argv
return self.run_update_report()
File "/usr/lib/python3/dist-packages/apport/ui.py", line 604, in run_update_report
apport.packaging.get_version(p)
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 163, in get_version
pkg = self._apt_pkg(package)
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 156, in _apt_pkg
return self._cache()[package]
File "/usr/lib/python3/dist-packages/apport/packaging_impl.py", line 121, in _cache
self._apt_cache = apt.Cache(progress, rootdir='/')
File "/usr/lib/python3/dist-packages/apt/cache.py", line 143, in __init__
self._check_and_create_required_dirs(rootdir)
File "/usr/lib/python3/dist-packages/apt/cache.py", line 186, in _check_and_create_required_dirs
open(rootdir + f, "w").close()
PermissionError: [Errno 13] Permission denied: '//var/lib/dpkg/status'
Edit: Regarding this error, I got the same result as in #3 when running apport-collect as root.
I was the one who originally had this issue and tried to get help on IRC, so I can confirm that this happens on my system as well with ZFS (encrypted) when running "snap remove firefox" during the first boot.
I decided to reproduce it again in order to submit my information but "apport-collect 1970066" suggested that I create a separate report.
When I then ran "apport-bug snapd" it failed (see attached screenshot) with a FileNotFoundError.
When I then tried to let apport-collect send my info anyway then it also failed:
Traceback (most recent call last): apport/ apport- gtk", line 597, in <module> python3/ dist-packages/ apport/ ui.py", line 719, in run_argv update_ report( ) python3/ dist-packages/ apport/ ui.py", line 604, in run_update_report packaging. get_version( p) python3/ dist-packages/ apport/ packaging_ impl.py" , line 163, in get_version pkg(package) python3/ dist-packages/ apport/ packaging_ impl.py" , line 156, in _apt_pkg )[package] python3/ dist-packages/ apport/ packaging_ impl.py" , line 121, in _cache python3/ dist-packages/ apt/cache. py", line 143, in __init__ _check_ and_create_ required_ dirs(rootdir) python3/ dist-packages/ apt/cache. py", line 186, in _check_ and_create_ required_ dirs lib/dpkg/ status'
File "/usr/share/
app.run_argv()
File "/usr/lib/
return self.run_
File "/usr/lib/
apport.
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/
open(rootdir + f, "w").close()
PermissionError: [Errno 13] Permission denied: '//var/
Edit: Regarding this error, I got the same result as in #3 when running apport-collect as root.