[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
** Also affects: snapd (Ubuntu Jammy) Importance: Undecided Status: Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
I have found that installing a snap (e.g. chromium) on the first boot without removing a snap (firefox) first also bricks the system, leaving the user without any working web browser since firefox also stops working. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
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 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' ** Attachment added: "This happened when I ran "apport-bug snapd"." https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+attachment/5582938/+files/Screenshot%20from%202022-04-24%2008-32-24.png -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
** Changed in: snapd (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
user@pc:~$ apport-collect 1970066 Package snapd not installed and no hook available, ignoring -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
** Description changed: An installation of 22.04 LTS on a VM or dedicated hardware crashes the system. You can login again but the system (APT, snap) is broken. This video shows the whole process: https://p.haxxors.com/fysoxj8t.webm journald output: https://termbin.com/nas2 + /proc/self/mountinfo: https://termbin.com/cjh1 This only happens on ZFS. Same VM with ext4 has no problems. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command only once, as it will automatically gather debugging information, in a terminal: apport-collect 1970066 When reporting bugs in the future please use apport by using 'ubuntu- bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs. ** Changed in: snapd (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1970066] Re: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1970066 Title: removing firefox snap after fresh 22.04 install with (encrypted) ZFS breaks APT, snapd To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1970066/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs