Public bug reported: I've installed apt-btrfs-snapshot then every apt operation shows:
Traceback (most recent call last): File "/usr/bin/apt-btrfs-snapshot", line 29, in <module> from apt_btrfs_snapshot import AptBtrfsSnapshot File "/usr/lib/python3/dist-packages/apt_btrfs_snapshot.py", line 28, in <module> from distutils.spawn import find_executable ModuleNotFoundError: No module named 'distutils.spawn' so I've installed python3-distutils, now apt doesn't work any more: Supported ERROR: Could not statfs: No such file or directory E: Problem executing scripts DPkg::Pre-Invoke 'if [ -x /usr/bin/apt-btrfs-snapshot ] && apt-btrfs-snapshot supported; then apt-btrfs-snapshot snapshot; fi ' E: Sub-process returned an error code also I can't remove packages workaround is renaming /usr/bin/apt-btrfs-snapshot ** Affects: apt-btrfs-snapshot (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1870482 Title: apt-btrfs-snapshot blocks apt To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt-btrfs-snapshot/+bug/1870482/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs