[Solved] "Permission denied" in general | Ubuntu 19.10 | snap 2.42.5

Hi everyone

Just migrated 2 days ago from Windows 7 to Ubuntu and bumped into AppArmor and Snap-Store problems. In the section about “denied” entries you might start seeing where problems started. I then installed the Hello-World application because I expected that would be the litmus / smoke / sanity test here. If it’s the incorrect group, let me know and I’ll figure out how to update it.

Hope the information is useful.

Note that I have GNOME, KDE, and XFCE installed. Using KDE because I found it did freeze like GNOME for me.

:~$ snap version
snap 2.42.5
snapd 2.42.5
series 16
ubuntu 19.10
kernel 5.3.0-26-generic

~$ uname -r
5.3.0-26-generic

:~$ freemind
cannot self-bind mount /run/snapd/ns: Permission denied
:~$ snap-store
cannot self-bind mount /run/snapd/ns: Permission denied
~$ hello-world
internal error, please report: running “hello-world” failed: open /snap/hello-world/29/meta/snap.yaml: permission denied

~$ snap list

Name                    | Version                    | Rev   | Tracking  | Publisher   | Notes
core                    | 16-2.42.5                  | 8268  | stable    | canonical✓  | core
core18                  | 20200113                   | 1650  | stable    | canonical✓  | base
freemind                | 1.1.0-Beta-2               | 4     | stable    | jibel       | -
gnome-3-28-1804         | 3.28.0-16-g27c9498.27c9498 | 110   | stable/…  | canonical✓  | -
gnome-calculator        | 3.34.1+git1.d34dc842       | 544   | stable/…  | canonical✓  | -
gnome-characters        | v3.32.1+git3.b9120df       | 375   | stable/…  | canonical✓  | -
gnome-logs              | 3.34.0                     | 81    | stable/…  | canonical✓  | -
gtk-common-themes       | 0.1-28-g1503258            | 1440  | stable/…  | canonical✓  | -
hello-world             | 6.4                        | 29    | stable    | canonical✓  | -
kde-frameworks-5-core18 | 5.61.0                     | 32    | stable    | kde✓        | -
okular                  | 19.04.2                    | 63    | stable    | kde✓        | -
remmina                 | v1.3.10+git1.4dc89d74      | 3810  | stable    | remmina✓    | -
snap-store              | 20191114.a9948d5           | 209   | stable    | canonical✓  | -
wine-platform-runtime   | v1.0                       | 62    | stable    | mmtrt       | -

~$ snap changes

ID | Status | Spawn                  | Ready                   | Summary
32 | Done |  yesterday at 17:48 SAST | yesterday at 17:48 SAST | Remove "freemind" snap
33 | Done |  yesterday at 17:49 SAST | yesterday at 17:50 SAST | Install "snap-store" snap
34 | Done |  yesterday at 17:50 SAST | yesterday at 17:50 SAST | Connect snap-store:network-manager to core:network-manager
35 | Done |  yesterday at 18:00 SAST | yesterday at 18:01 SAST | Remove "snap-store" snap
36 | Done |  yesterday at 18:01 SAST | yesterday at 18:01 SAST | Install "snap-store" snap
37 | Done |  yesterday at 19:21 SAST | yesterday at 19:21 SAST | Install "freemind" snap
38 | Done |  yesterday at 20:01 SAST | yesterday at 20:01 SAST | Remove "freemind" snap
39 | Done |  yesterday at 20:02 SAST | yesterday at 20:02 SAST | Install "freemind" snap
40 | Done |  today at 00:38 SAST     | today at 00:38 SAST     | Install "hello-world" snap

~$ snap connections freemind

Interface       | Plug                     | Slot             | Notes
cups-control    | freemind:cups-control    | -                | -
desktop         | freemind:desktop         | :desktop         | -
desktop-legacy  | freemind:desktop-legacy  | :desktop-legacy  | -
home            | freemind:home            | :home            | -
network         | freemind:network         | :network         | -
x11             | freemind:x11             | :x11             | -

~$ snap connections snap-store

Interface                 | Plug                                 | Slot                             | Notes
content[gnome-3-28-1804]  | snap-store:gnome-3-28-1804           | gnome-3-28-1804:gnome-3-28-1804  | -
content[gtk-3-themes]     | snap-store:gtk-3-themes              | gtk-common-themes:gtk-3-themes   | -
content[icon-themes]      | snap-store:icon-themes               | gtk-common-themes:icon-themes    | -
content[sound-themes]     | snap-store:sound-themes              | gtk-common-themes:sound-themes   | -
dbus                      | -                                    | snap-store:snap-store            | -
desktop                   | snap-store:desktop                   | :desktop                         | -
desktop-legacy            | snap-store:desktop-legacy            | :desktop-legacy                  | -
gsettings                 | snap-store:gsettings                 | :gsettings                       | -
network                   | snap-store:network                   | :network                         | -
network-manager           | snap-store:network-manager           | -                                | -
password-manager-service  | snap-store:password-manager-service  | :password-manager-service        | -
snapd-control             | snap-store:snapd-control             | :snapd-control                   | -
system-observe            | snap-store:system-observe            | :system-observe                  | -
unity7                    | snap-store:unity7                    | :unity7                          | -
upower-observe            | snap-store:upower-observe            | :upower-observe                  | -
wayland                   | snap-store:wayland                   | :wayland                         | -

~$ snap connections hello-world

nothing retuned

~$ dmesg | grep denied

[   87.958581] audit: type=1400 audit(1579773001.700:77): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/home/nicolaas/snap/gog-galaxy-wine/" pid=1694 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[   87.958954] audit: type=1400 audit(1579773001.700:78): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/home/nicolaas/snap/snap-store/" pid=1694 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[13223.402949] audit: type=1400 audit(1579786137.354:79): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/freemind/4/" pid=20858 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[13223.417487] audit: type=1400 audit(1579786137.370:80): apparmor="DENIED" operation="ptrace" profile="/usr/bin/snap" pid=20858 comm="snap-confine" requested_mask="read" denied_mask="read" peer="unconfined"
[13275.504374] audit: type=1400 audit(1579786189.451:81): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/freemind/4/" pid=20911 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[13275.512181] audit: type=1400 audit(1579786189.459:82): apparmor="DENIED" operation="ptrace" profile="/usr/bin/snap" pid=20911 comm="snap-confine" requested_mask="read" denied_mask="read" peer="unconfined"
[14842.672584] audit: type=1400 audit(1579787756.639:83): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/freemind/4/" pid=21430 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[14842.678889] audit: type=1400 audit(1579787756.643:84): apparmor="DENIED" operation="ptrace" profile="/usr/bin/snap" pid=21430 comm="snap-confine" requested_mask="read" denied_mask="read" peer="unconfined"
[17367.592032] audit: type=1400 audit(1579790281.581:87): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/freemind/common/" pid=24806 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[17446.369267] audit: type=1400 audit(1579790360.358:89): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/freemind/common/" pid=24888 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[18083.855577] audit: type=1400 audit(1579790997.852:91): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/freemind/common/" pid=3691 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[18183.009579] audit: type=1400 audit(1579791097.005:93): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/freemind/common/" pid=3807 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[19245.230821] audit: type=1400 audit(1579792159.243:100): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/var/cache/snapd/commands.db" pid=4294 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=0
[20850.499936] audit: type=1400 audit(1579793764.541:101): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/var/cache/snapd/commands.db" pid=5996 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=0
[21006.328602] audit: type=1400 audit(1579793920.372:102): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/var/cache/snapd/commands.db" pid=6220 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=0
[21313.168925] audit: type=1400 audit(1579794227.218:112): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/root/snap/freemind/4/" pid=6622 comm="snap" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[21374.310882] audit: type=1400 audit(1579794288.359:118): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/var/cache/snapd/commands.db" pid=7683 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=0
[21722.433123] audit: type=1400 audit(1579794636.489:169): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/snap/snap-store/209/meta/snap.yaml" pid=8200 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[21732.673981] audit: type=1400 audit(1579794646.733:170): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/snap/snap-store/209/meta/snap.yaml" pid=8225 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[21761.956861] audit: type=1400 audit(1579794676.013:173): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/snap-store/209/" pid=8260 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[21778.770926] audit: type=1400 audit(1579794692.830:177): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/home/nicolaas/snap/snap-store/common/" pid=8294 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=1000
[21976.460790] audit: type=1400 audit(1579794890.521:188): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/var/cache/snapd/commands.db" pid=8527 comm="snap" requested_mask="c" denied_mask="c" fsuid=1000 ouid=0
[22250.404714] audit: type=1400 audit(1579795164.469:196): apparmor="DENIED" operation="mkdir" profile="/usr/bin/snap" name="/root/snap/snap-store/" pid=8709 comm="snap" requested_mask="c" denied_mask="c" fsuid=0 ouid=0
[22394.253326] audit: type=1400 audit(1579795308.319:281): apparmor="DENIED" operation="getattr" info="Failed name lookup - disconnected path" error=-13 profile="/usr/bin/snap" name="" pid=9245 comm="snap-confine" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[46212.680246] audit: type=1400 audit(1579819127.061:347): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/snap/hello-world/29/meta/snap.yaml" pid=24849 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[46233.744077] audit: type=1400 audit(1579819148.126:348): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/snap/hello-world/29/meta/snap.yaml" pid=24872 comm="snap" requested_mask="r" denied_mask="r" fsuid=0 ouid=0
[47076.883286] audit: type=1400 audit(1579819991.277:353): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/snap/hello-world/29/meta/snap.yaml" pid=25356 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[47112.419239] audit: type=1400 audit(1579820026.813:356): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/snap/hello-world/29/meta/snap.yaml" pid=25437 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.199061] audit: type=1400 audit(1579821088.606:357): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/kdeglobals" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.200062] audit: type=1400 audit(1579821088.606:358): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/kdeglobals" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.200769] audit: type=1400 audit(1579821088.606:359): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/kdeglobals" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.212135] audit: type=1400 audit(1579821088.618:360): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/proc/sys/kernel/core_pattern" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.217798] audit: type=1400 audit(1579821088.626:361): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/kdeglobals" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.218340] audit: type=1400 audit(1579821088.626:362): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/breezerc" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.432266] audit: type=1400 audit(1579821088.838:363): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/kdeglobals" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48174.432739] audit: type=1400 audit(1579821088.838:364): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/nicolaas/.config/emaildefaults" pid=25768 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
[48175.900498] audit: type=1400 audit(1579821090.306:365): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/kdeglobals" pid=25780 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[48175.901635] audit: type=1400 audit(1579821090.306:366): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/share/kubuntu-default-settings/kf5-settings/kdeglobals" pid=25780 comm="soffice.bin" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[49104.117699] audit: type=1400 audit(1579822018.538:373): apparmor="DENIED" operation="open" profile="/usr/bin/snap" name="/snap/hello-world/29/meta/snap.yaml" pid=26067 comm="snap" requested_mask="r" denied_mask="r" fsuid=1000 ouid=0

~$ sudo systemctl status snapd

● snapd.service - Snappy daemon
   Loaded: loaded (/lib/systemd/system/snapd.service; enabled; vendor preset: enabled)
   Active: active (running) since Thu 2020-01-23 11:48:41 SAST; 13h ago
 Main PID: 653 (snapd)
    Tasks: 21 (limit: 4915)
   Memory: 52.1M
   CGroup: /system.slice/snapd.service
           └─653 /usr/lib/snapd/snapd

Jan 23 18:18:48 HP-ProBook snapd[653]: autorefresh.go:397: auto-refresh: all snaps are up-to-date
Jan 23 19:21:46 HP-ProBook snapd[653]: api.go:952: Installing snap "freemind" revision unset
Jan 23 20:01:56 HP-ProBook runuser[13607]: pam_unix(runuser:session): session opened for user nicolaas by (uid=0)
Jan 23 20:01:56 HP-ProBook runuser[13607]: pam_unix(runuser:session): session closed for user nicolaas
Jan 23 20:02:05 HP-ProBook snapd[653]: api.go:952: Installing snap "freemind" revision unset
Jan 23 20:45:15 HP-ProBook snapd[653]: api.go:952: Installing snap "snap-store" revision unset
Jan 23 21:31:30 HP-ProBook snapd[653]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
Jan 23 21:32:33 HP-ProBook snapd[653]: hotplug.go:199: hotplug device add event ignored, enable experimental.hotplug
Jan 23 23:33:32 HP-ProBook snapd[653]: 2020/01/23 23:33:32 Unsolicited response received on idle HTTP channel starting with "HTTP/1.0 408 Request Time-out\r\nCache-Control:
Jan 24 00:38:31 HP-ProBook snapd[653]: api.go:952: Installing snap "hello-world" revision unset

System specifications
Operating System: Kubuntu 19.10 (DISTRIB_CODENAME=eoan)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.4
Kernel Version: 5.3.0-26-generic
OS Type: 64-bit
Processors: 4 × Intel® Core™ i3 CPU M 350 @ 2.27GHz
Memory: 7,6 GiB of RAM

This is unexpected, I’m not aware of any package shipping a profile AppArmor profile for /usr/bin/snap.
Can you collect the output of the following commands?

  • sudo apparmor_status |grep snap
  • dpkg -S /etc/apparmor.d/usr.bin.snap

@mborzecki Thanks for looking at this.

$ sudo apparmor_status | grep snap

   /home/nicolaas/snap
   /snap
   /snap/core/8268/usr/lib/snapd/snap-confine
   /snap/core/8268/usr/lib/snapd/snap-confine//mount-namespace-capture-helper
   /snap/snap-store/209/snap
   /usr/bin/snap
   /usr/bin/snap//null-/snap/core/8268/usr/bin/snap
   /usr/lib/snapd/snap-confine
   /usr/lib/snapd/snap-confine//mount-namespace-capture-helper
   snap-update-ns.core
   snap-update-ns.freemind
   snap-update-ns.gnome-calculator
   snap-update-ns.gnome-characters
   snap-update-ns.gnome-logs
   snap-update-ns.hello-world
   snap-update-ns.okular
   snap-update-ns.remmina
   snap-update-ns.snap-store
   snap.core.hook.configure
   snap.freemind.freemind
   snap.gnome-calculator.gnome-calculator
   snap.gnome-characters.gnome-characters
   snap.gnome-logs.gnome-logs
   snap.hello-world.env
   snap.hello-world.evil
   snap.hello-world.hello-world
   snap.hello-world.sh
   snap.okular.okular
   snap.remmina.remmina
   snap.remmina.winpr-hash
   snap.remmina.winpr-makecert
   snap.snap-store.snap-store

~$ dpkg -S /etc/apparmor.d/usr.bin.snap
dpkg-query: no path found matching pattern /etc/apparmor.d/usr.bin.snap

~$ ls /etc/apparmor.d/

abstractions        lightdm-guest-session  sbin.syslogd              usr.bin.evince                        usr.lib.libreoffice.program.soffice.bin  usr.sbin.dnsmasq         usr.sbin.nmbd             usr.sbin.traceroute
apache2.d           local                  sbin.syslog-ng            usr.bin.firefox                       usr.lib.libreoffice.program.xpdfimport   usr.sbin.haveged         usr.sbin.nscd
bin.ping            lsb_release            snap                      usr.bin.man                           usr.lib.snapd.snap-confine.real          usr.sbin.identd          usr.sbin.rsyslogd
disable             nvidia_modprobe        snap.snap-store.209.snap  usr.bin.snap                          usr.sbin.avahi-daemon                    usr.sbin.ippusbxd        usr.sbin.smbd
force-complain      sbin.dhclient          tunables                  usr.lib.libreoffice.program.oosplash  usr.sbin.cups-browsed                    usr.sbin.mdnsd           usr.sbin.smbldap-useradd
home.nicolaas.snap  sbin.klogd             usr.bin.chromium-browser  usr.lib.libreoffice.program.senddoc   usr.sbin.cupsd                           usr.sbin.mysqld-akonadi  usr.sbin.tcpdump

Can you run:

dpkg -S /etc/apparmor.d/snap

In either case, yes, please remove (or set aside to another directory) the aforementioned snap. Rebooting will fix the issue.

As @zyga-snapd mentioned, please remove /etc/apparmor.d/snap and /etc/apparmor.d/usr.bin.snap. I can’t quite figure out why you have both files, given that dpkg belives they weren’t shipped by any installed package.

@zyga-snapd
Yes, executing “dpkg -S snap” returns ALOT of information.

  • @mborzecki
    I just need to confirm definition of “remove” in this context.
  1. rm snap / rm usr.bin.snap
    or
  2. sudo snap remove snap / sudo snap remove usr.bin.snap

I suspect #2 above will return errors.

After the reboot, what should I expect to see when I execute “snap-store” or “freemind”?

Regards,

Please use the full path. dpkg -S /etc/apparmor.d/snap as well as dpkg -S /etc/apparmor.d/usr.bin.snap

Use sudo mv /etc/apparmor.d/snap ~/mysterious.snap and sudo mv /etc/apparmor.d/usr.bin.snap ~/mysterious.user.bin.snap and then reboot.

@zyga-snapd

Different results are returned when including the full path in the commands.

:/etc/apparmor.d$ dpkg -S /etc/apparmor.d/snap
dpkg-query: no path found matching pattern /etc/apparmor.d/snap
:/etc/apparmor.d$ dpkg -S /etc/apparmor.d/usr.bin.snap
dpkg-query: no path found matching pattern /etc/apparmor.d/usr.bin.snap

Running the command from “/etc/apparmor.d/” location the following is returned.

:/etc/apparmor.d$ dpkg -S usr.bin.snap
dpkg-query: no path found matching pattern usr.bin.snap
:/etc/apparmor.d$ dpkg -S snap

lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/monitorconfig.xml
snap: /usr/share/snap/HMM/A.gambiae.hmm
snap: /usr/share/doc/snap/examples/DNA
snapd: /usr/share/doc/snapd
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-page.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-bounding-box-midpoints.svg
snap: /usr/share/snap/HMM/Os.hmm
snap: /usr/share/snap/HMM/nGASP.hmm
gnome-software-plugin-snap: /usr/share/doc/gnome-software-plugin-snap/changelog.Debian.gz
pulseaudio: /usr/lib/pulse-13.0/modules/module-snap-policy.so
snapd: /usr/lib/systemd/system-environment-generators/snapd-env-generator
plasma-discover-snap-backend: /usr/share/doc/plasma-discover-snap-backend
snap: /usr/share/doc/snap/00README.gz
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-intersection.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-bounding-box-corners.svg
snapd: /usr/share/dbus-1/services/io.snapcraft.Launcher.service
code: /usr/share/code/v8_context_snapshot.bin
friendly-recovery: /lib/recovery-mode/options/apt-snapshots
snap: /usr/lib/debian-med/share/man/man1/snap.1.gz
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap.svg
snapd: /usr/lib/snapd/snap-gdb-shim
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-page.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-node.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-intersection.svg
plasma-discover-backend-snap: /usr/share/lintian/overrides/plasma-discover-backend-snap
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-nodes-path.svg
snap: /usr/share/snap/HMM/Nasonia.hmm
snapd: /usr/lib/snapd/system-shutdown
yaru-theme-icon: /usr/share/icons/Yaru/256x256@2x/apps/snap-store.png
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/32/snapborder.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-nodes-smooth.svg
plasma-discover-backend-snap: /usr/lib/kauth/libexec/libsnap_helper
snapd: /lib/systemd/system/snapd.autoimport.service
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/32/snappoints.svg
libsane-common: /usr/share/man/man5/sane-snapscan.5.gz
plasma-discover-snap-backend: /usr/share/doc/plasma-discover-snap-backend/changelog.Debian.gz
plasma-discover-backend-snap: /usr/share/libdiscover/categories/snap-backend-categories.xml
linux-modules-extra-5.3.0-26-generic: /lib/modules/5.3.0-26-generic/kernel/drivers/media/rc/keymaps/rc-snapstream-firefly.ko
linux-headers-5.3.0-18-generic: /usr/src/linux-headers-5.3.0-18-generic/include/config/dm/snapshot.h
libsnappy1v5:amd64: /usr/lib/x86_64-linux-gnu/libsnappy.so.1.1.7
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-guideline.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-nodes-cusp.svg
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/install/build_fpc_snaphot_rpm.sh
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-bounding-box-center.svg
snap: /usr/share/snap/HMM/B.malayi.hmm
libsane:amd64: /usr/lib/x86_64-linux-gnu/sane/libsane-snapscan.so.1
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-bounding-box-edges.svg
snap: /usr/share/doc/snap/changelog.Debian.gz
libsnapd-glib1:amd64: /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1.0.0
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-nodes-intersection.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-extension.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-nodes-path.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-bounding-box-corners.svg
snapd: /usr/bin/snap
libsnappy1v5:amd64: /usr/share/doc/libsnappy1v5/copyright
snapd: /usr/lib/snapd/snap-mgmt
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-nodes-path.svg
libsane:amd64: /usr/lib/x86_64-linux-gnu/sane/libsane-snapscan.so.1.0.27
code: /usr/share/code/snapshot_blob.bin
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-guideline.svg
snap: /usr/share/snap/HMM/nGASPr.hmm
snapd: /lib/systemd/system/snapd.snap-repair.timer
snapd: /var/lib/snapd/lib/gl
snapd: /lib/udev/snappy-app-dev
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-nodes-cusp.svg
language-pack-en-base: /usr/share/locale-langpack/en_GB/LC_MESSAGES/snapd-glib.mo
yaru-theme-icon: /usr/share/icons/Yaru/16x16@2x/mimetypes/application-vnd.snap.png
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-bounding-box-center.svg
gimp-data: /usr/share/gimp/2.0/icons/Color/24x24/apps/gimp-prefs-image-windows-snapping.svg
linux-headers-5.3.0-26-generic: /usr/src/linux-headers-5.3.0-26-generic/include/config/tracer/snapshot.h
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-orthogonal.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-text-baseline.svg
snap: /usr/share/snap/HMM/A.thaliana.hmm
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-grid-guide-intersections.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-nodes-cusp.svg
snapd: /var/lib/snapd/lib/glvnd
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-guideline.svg
libsnappy1v5:amd64: /usr/share/doc/libsnappy1v5/changelog.Debian.gz
plasma-discover-backend-snap: /usr/lib/x86_64-linux-gnu/qt5/plugins/discover/snap-backend.so
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/sc_snapborder.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-guideline.svg
yaru-theme-icon: /usr/share/icons/Yaru/24x24@2x/mimetypes/application-vnd.snap.png
libsnapd-qt1:amd64: /usr/share/doc/libsnapd-qt1/changelog.Debian.gz
snapd: /usr/lib/snapd/snap-device-helper
snap: /usr/share/snap/Zoe
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-text-baseline.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-nodes-intersection.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-nodes-center.svg
media-player-info: /usr/share/media-player-info/htc_snap.mpi
snapd: /usr/lib/snapd/snap-confine
plasma-discover-backend-snap: /usr/share/doc/plasma-discover-backend-snap
plasma-discover-backend-snap: /usr/share/applications/org.kde.discover.snap.urlhandler.desktop
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-bounding-box-edges.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-text-baseline.svg
snapd: /usr/bin/snapctl
gimp-data: /usr/share/gimp/2.0/icons/Color/scalable/apps/gimp-prefs-image-windows-snapping.svg
snap: /usr/share/snap/HMM/thale
snap: /usr/share/snap/HMM/worm1.hmm
snapd: /snap
snap: /usr/share/snap/HMM/Acanium.hmm
snap: /usr/share/doc/snap/examples
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-bounding-box-center.svg
snapd: /lib/systemd/system/snapd.snap-repair.service
snap: /usr/share/snap/HMM/mosquito
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-bounding-box-midpoints.svg
snapd: /etc/xdg/autostart/snap-userd-autostart.desktop
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-bounding-box-corners.svg
lazarus-doc-2.0: /usr/share/doc/lazarus/2.0.2/lcl/lcl/extctrls/tcustomsplitter.autosnap.html
yaru-theme-icon: /usr/share/icons/Yaru/256x256@2x/mimetypes/application-vnd.snap.png
snap: /usr/share/snap/Zoe/blosum62
linux-headers-5.3.0-18: /usr/src/linux-headers-5.3.0-18/scripts/package/snapcraft.template
bash-completion: /usr/share/bash-completion/completions/portsnap
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-bounding-box-center.svg
snapd: /var/lib/snapd/apparmor/snap-confine
snap: /usr/lib/debian-med/bin/snap
snapd: /var/lib/snapd/apparmor
plasma-discover-backend-snap: /usr/share/polkit-1/actions/org.kde.discover.libsnapclient.policy
snapd: /lib/systemd/system/snapd.core-fixup.service
linux-headers-5.3.0-18-generic: /usr/src/linux-headers-5.3.0-18-generic/include/config/tracer/snapshot.h
libsnapd-qt1:amd64: /usr/share/doc/libsnapd-qt1
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-page.svg
plasma-discover-backend-snap: /usr/share/dbus-1/system.d/org.kde.discover.libsnapclient.conf
snap: /usr/share/doc/snap/examples/DNA/worm.dna.gz
snap: /usr/share/snap/HMM/brugia
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-intersection.svg
yaru-theme-icon: /usr/share/icons/Yaru/24x24@2x/apps/snap-store.png
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/kdenlive-snap.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap.svg
snapd: /usr/lib/snapd/etelpmoc.sh
lazarus-doc-2.0: /usr/share/doc/lazarus/2.0.2/lcl/lcl/lcltype/spi_setsnaptodefbutton.html
snapd: /usr/bin/snapfuse
yaru-theme-icon: /usr/share/icons/Yaru/32x32/apps/snap-store.png
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-nodes-intersection.svg
snap: /usr/share/snap/HMM/C.intestinalis.hmm
gnome-software-plugin-snap: /usr/share/doc/gnome-software-plugin-snap/copyright
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-nodes-center.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-extension.svg
snapd: /var/lib/snapd/desktop
snap: /usr/share/snap/HMM/At.hmm
gimp-data: /usr/share/gimp/2.0/icons/Symbolic/24x24/apps/gimp-prefs-image-windows-snapping.svg
snapd: /usr/share/man/man8/snapd-env-generator.8.gz
snap: /usr/share/snap/HMM/mam39-ro.hmm
snapd: /var/lib/snapd/lib
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-orthogonal.svg
snapd: /usr/share/man/man8/snap-discard-ns.8.gz
snapd: /usr/lib/snapd
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-nodes-rotation-center.svg
snap: /usr/share/snap/HMM/mamiso.hmm
yaru-theme-icon: /usr/share/icons/Yaru/24x24/apps/snap-store.png
snap: /usr/share/snap/HMM/mam54.hmm
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/kdenlive-snap.svg
snapd: /usr/lib/systemd/user/snapd.session-agent.socket
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-bounding-box-midpoints.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-nodes-center.svg
snapd: /usr/share/applications/snap-handle-link.desktop
libsnapd-glib1:amd64: /usr/share/doc/libsnapd-glib1/copyright
plasma-discover-snap-backend: /usr/share/doc/plasma-discover-snap-backend/copyright
linux-headers-5.3.0-26: /usr/src/linux-headers-5.3.0-26/scripts/package/snapcraft.template
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-node.svg
yaru-theme-icon: /usr/share/icons/Yaru/32x32/mimetypes/application-vnd.snap.png
breeze-icon-theme: /usr/share/icons/breeze/preferences/32/yast-snapper.svg
snapd: /lib/systemd/system/snapd.failure.service
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-orthogonal.svg
snapd: /var/cache/snapd
snap: /usr/share/doc/snap/run-unit-test
libsnapd-glib1:amd64: /usr/share/doc/libsnapd-glib1
yaru-theme-icon: /usr/share/icons/Yaru/48x48/mimetypes/application-vnd.snap.png
snapd: /usr/lib/snapd/snapd.core-fixup.sh
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-nodes-rotation-center.svg
linux-modules-5.3.0-26-generic: /lib/modules/5.3.0-26-generic/kernel/drivers/md/dm-snapshot.ko
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-nodes-rotation-center.svg
snapd: /usr/share/dbus-1/services/io.snapcraft.Settings.service
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-bounding-box-corners.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-nodes-center.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/preferences/32/yast-snapper.svg
snapd: /var/lib/snapd/lib/gl32
snapd: /usr/share/man/man8/snap.8.gz
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-intersection.svg
snapd: /lib/systemd/system/snapd.system-shutdown.service
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-bounding-box.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-nodes-center.svg
snap: /usr/share/snap/HMM/ixodesB.hmm
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-bounding-box-edges.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-bounding-box-midpoints.svg
snapd: /usr/lib/snapd/snap-discard-ns
snap: /usr/share/snap
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-nodes-rotation-center.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/apps/48/ksnapshot.svg
gnome-software-plugin-snap: /usr/lib/x86_64-linux-gnu/gs-plugins-12/libgs_plugin_snap.so
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots
snapd: /usr/lib/snapd/snapd
gnome-software-plugin-snap: /usr/share/doc/gnome-software-plugin-snap
snapd: /usr/lib/snapd/snapctl
snap: /usr/share/snap/HMM/O.sativa.hmm
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-bounding-box.svg
plasma-discover-backend-snap: /usr/share/dbus-1/system-services/org.kde.discover.libsnapclient.service
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-nodes-intersection.svg
snap: /usr/share/snap/HMM/worm
yaru-theme-icon: /usr/share/icons/Yaru/16x16/mimetypes/application-vnd.snap.png
snapd: /usr/lib/snapd/snapd.run-from-snap
lazarus-doc-2.0: /usr/share/doc/lazarus/2.0.2/lcl/lcl/lcltype/vk_snapshot.html
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/sc_snapframe.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-nodes-intersection.svg
snap: /usr/lib/snap/snap
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-node.svg
gir1.2-snapd-1:amd64: /usr/share/doc/gir1.2-snapd-1/changelog.Debian.gz
snapd: /var/lib/snapd/void
yaru-theme-icon: /usr/share/icons/Yaru/24x24/mimetypes/application-vnd.snap.png
lazarus-doc-2.0: /usr/share/doc/lazarus/2.0.2/lcl/lcl/extctrls/tcustomcontrolbar.calcbandheightsnapped.html
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/lc_snapframe.svg
snapd: /usr/lib/snapd/snap-failure
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-node.svg
snap: /usr/share/snap/HMM/mam54-ro.hmm
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/checksnapshotsgui.lpr
snap: /usr/share/doc/snap/README.Debian
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/checksnapshots.lpr
gir1.2-snapd-1:amd64: /usr/share/doc/gir1.2-snapd-1
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-nodes-midpoint.svg
snapd: /usr/lib/snapd/complete.sh
snap: /usr/share/snap/HMM/ciona
snapd: /usr/share/doc/snapd/changelog.gz
yaru-theme-icon: /usr/share/icons/Yaru/256x256/mimetypes/application-vnd.snap.png
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/monitorcfg.pas
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/install/create_lazarus_snapshot_rpm.sh
snapd: /usr/lib/systemd/user/sockets.target.wants/snapd.session-agent.socket
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/checksnapshotsgui.lpi
linux-headers-5.3.0-26-generic: /usr/src/linux-headers-5.3.0-26-generic/include/config/dm/snapshot.h
yaru-theme-icon: /usr/share/icons/Yaru/16x16@2x/apps/snap-store.png
libsnapd-qt1:amd64: /usr/lib/x86_64-linux-gnu/libsnapd-qt.so.1.0.0
snap: /usr/share/snap/HMM/Ce.hmm
snapd: /usr/share/doc/snapd/copyright
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-nodes-intersection.svg
snapd: /usr/lib/environment.d/990-snapd.conf
snapd: /usr/lib/snapd/snap-exec
lazarus-doc-2.0: /usr/share/doc/lazarus/2.0.2/lcl/lcl/extctrls/tcustomcontrolbar.rowsnap.html
libsnapd-qt1:amd64: /usr/lib/x86_64-linux-gnu/libsnapd-qt.so.1
snap: /usr/share/man/man1/snap-hmm.1.gz
snapd: /var/lib/snapd/lib/vulkan
snapd: /lib/systemd/system-generators/snapd-generator
breeze-icon-theme: /usr/share/icons/breeze/actions/22/kdenlive-snap.svg
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/checksnapshots.lpi
libreoffice-help-common: /usr/share/libreoffice/help/media/screenshots/modules/sdraw/ui/dlgsnap/SnapObjectDialog.png
linux-modules-extra-5.3.0-18-generic: /lib/modules/5.3.0-18-generic/kernel/drivers/media/rc/keymaps/rc-snapstream-firefly.ko
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-bounding-box.svg
linux-headers-5.3.0-18: /usr/src/linux-headers-5.3.0-18/include/net/psnap.h
snap: /usr/share/snap/HMM/C.elegans.hmm
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-extension.svg
linux-headers-5.3.0-26: /usr/src/linux-headers-5.3.0-26/include/net/psnap.h
yaru-theme-icon: /usr/share/icons/Yaru/48x48/apps/snap-store.png
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-text-baseline.svg
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/sc_snappoints.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-nodes-midpoint.svg
yaru-theme-icon: /usr/share/icons/Yaru/48x48@2x/apps/snap-store.png
snapd: /var/lib/snapd/auto-import
snapd: /usr/lib/snapd/snap-seccomp
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-grid-guide-intersections.svg
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/ftplister.pas
snap: /usr/share/doc/snap/README.test
snap: /usr/share/snap/HMM/mam39.hmm
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-extension.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-page.svg
snapd: /var/lib/snapd
gimp-data: /usr/share/gimp/2.0/icons/Symbolic/scalable/apps/gimp-prefs-image-windows-snapping.svg
snapd: /usr/lib/snapd/snap-repair
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-guideline.svg
snap: /usr/lib/snap
snap: /usr/share/snap/HMM/Dm.hmm
snapd: /usr/share/polkit-1/actions/io.snapcraft.snapd.policy
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-bounding-box-edges.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-page.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-node.svg
snapd: /usr/share/man/man8/snap-confine.8.gz
gimp-data: /usr/share/gimp/2.0/icons/Symbolic-Inverted/24x24/apps/gimp-prefs-image-windows-snapping.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-text-baseline.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-bounding-box-center.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-bounding-box-center.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-extension.svg
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/install/macosx/makefpcsnapshot.sh
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-bounding-box-corners.svg
gimp-data: /usr/share/gimp/2.0/icons/Symbolic-Inverted/scalable/apps/gimp-prefs-image-windows-snapping.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap.svg
lazarus-doc-2.0: /usr/share/doc/lazarus/2.0.2/lcl/lcl/lcltype/spi_getsnaptodefbutton.html
snap: /usr/share/snap/HMM/D.melanogaster.hmm
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-grid-guide-intersections.svg
yaru-theme-icon: /usr/share/icons/Yaru/32x32@2x/mimetypes/application-vnd.snap.png
snap: /usr/share/snap/HMM/mam46-ro.hmm
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-orthogonal.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap.svg
snap: /usr/share/snap/HMM/A.mellifera.hmm
libsnapd-qt1:amd64: /usr/share/doc/libsnapd-qt1/copyright
plasma-discover-backend-snap: /usr/share/doc/plasma-discover-backend-snap/changelog.Debian.gz
plasma-discover-backend-snap: /usr/share/metainfo/org.kde.discover.snap.appdata.xml
snapd: /lib/udev/rules.d/66-snapd-autoimport.rules
libsnappy1v5:amd64: /usr/share/doc/libsnappy1v5
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/testmonitorcfg.pas
snapd: /etc/apt/apt.conf.d/20snapd.conf
snapd: /usr/lib/snapd/info
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-bounding-box-edges.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-orthogonal.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-grid-guide-intersections.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-guideline.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-nodes-smooth.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-nodes-path.svg
libsane-common: /etc/sane.d/snapscan.conf
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-nodes-midpoint.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-grid-guide-intersections.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-nodes-cusp.svg
snap: /usr/share/snap/HMM/B.mori.hmm
snapd: /lib/systemd/system/snapd.socket
gir1.2-snapd-1:amd64: /usr/share/doc/gir1.2-snapd-1/copyright
snapd: /etc/apparmor.d/usr.lib.snapd.snap-confine.real
breeze-icon-theme: /usr/share/icons/breeze/actions/16/kdenlive-snap.svg
snap: /usr/share/doc/snap/examples/DNA/thale.dna.gz
snap: /usr/share/snap/HMM/mam46.hmm
yaru-theme-icon: /usr/share/icons/Yaru/256x256/apps/snap-store.png
discord: /usr/share/discord/v8_context_snapshot.bin
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/ftplistertest.pas
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-bounding-box-midpoints.svg
libsnapd-glib1:amd64: /usr/share/doc/libsnapd-glib1/changelog.Debian.gz
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/32/snapframe.svg
libsnappy1v5:amd64: /usr/lib/x86_64-linux-gnu/libsnappy.so.1
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-nodes-smooth.svg
yaru-theme-icon: /usr/share/icons/Yaru/48x48@2x/mimetypes/application-vnd.snap.png
libcairo-perl: /usr/share/doc/libcairo-perl/examples/png/snapping.pl.gz
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-bounding-box-edges.svg
snapd: /usr/lib/systemd/user/snapd.session-agent.service
snap: /usr/share/snap/HMM
snapd: /lib/systemd/system/snapd.seeded.service
linux-modules-5.3.0-18-generic: /lib/modules/5.3.0-18-generic/kernel/drivers/md/dm-snapshot.ko
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-text-baseline.svg
breeze-icon-theme: /usr/share/icons/breeze/apps/48/ksnapshot.svg
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/lc_snappoints.svg
snapd: /lib/systemd/system/snapd.service
snapd: /var/snap
remmina-common: /usr/share/remmina/ui/remmina_snap_info_dialog.glade
language-pack-en-base: /usr/share/locale-langpack/en_GB/LC_MESSAGES/snappy.mo
libreoffice-help-common: /usr/share/libreoffice/help/media/screenshots/modules/sdraw/ui/dlgsnap
snap: /usr/share/doc/snap/copyright
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-bounding-box-midpoints.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-nodes-center.svg
snapd: /usr/lib/snapd/snap-update-ns
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-bounding-box.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-intersection.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/22/snap-node.svg
lazarus-doc-2.0: /usr/share/doc/lazarus/2.0.2/lcl/lcl/extctrls/tcontrolbar.rowsnap.html
snapd: /var/lib/snapd/firstboot
snap: /usr/share/snap/HMM/ixodesA.hmm
plasma-discover-backend-snap: /usr/share/doc/plasma-discover-backend-snap/copyright
snap: /usr/share/doc/snap
snap: /usr/share/snap/HMM/fly
brave-browser: /opt/brave.com/brave/v8_context_snapshot.bin
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-nodes-rotation-center.svg
snapd: /var/lib/snapd/snaps/partial
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-nodes-smooth.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-page.svg
linux-modules-5.3.0-26-generic: /lib/modules/5.3.0-26-generic/kernel/net/802/psnap.ko
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-orthogonal.svg
discord: /usr/share/discord/snapshot_blob.bin
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-bounding-box-corners.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap.svg
snap: /usr/share/snap/HMM/minimal.hmm
snapd: /var/lib/snapd/environment
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-nodes-midpoint.svg
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/16/snap-bounding-box.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-bounding-box.svg
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/runchecksnapshots.bat
yaru-theme-icon: /usr/share/icons/Yaru/16x16/apps/snap-store.png
breeze-icon-theme: /usr/share/icons/breeze/actions/22/snap-intersection.svg
libsnapd-glib1:amd64: /usr/lib/x86_64-linux-gnu/libsnapd-glib.so.1
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/install/macosx/makefpcsrcsnapshot.sh
libreoffice-common: /usr/lib/libreoffice/share/config/soffice.cfg/modules/sdraw/ui/dlgsnap.ui
yaru-theme-icon: /usr/share/icons/Yaru/32x32@2x/apps/snap-store.png
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/snapshots/snapshotsuptodate.pas
snapd: /usr/share/bash-completion/completions/snap
breeze-icon-theme: /usr/share/icons/breeze-dark/actions/24/snap-nodes-rotation-center.svg
snapd: /var/lib/snapd/snaps
snap: /usr/share/snap/HMM/README
linux-modules-5.3.0-18-generic: /lib/modules/5.3.0-18-generic/kernel/net/802/psnap.ko
python3-distupgrade: /usr/lib/python3/dist-packages/DistUpgrade/apt_btrfs_snapshot.py
snap: /usr/share/snap/HMM/rice
breeze-icon-theme: /usr/share/icons/breeze/actions/24/snap-grid-guide-intersections.svg
breeze-icon-theme: /usr/share/icons/breeze/actions/16/snap-extension.svg
snap: /usr/bin/snap-hmm
libreoffice-help-common: /usr/share/libreoffice/help/media/icon-themes/cmd/lc_snapborder.svg
lazarus-src-2.0: /usr/lib/lazarus/2.0.2/tools/install/macosx/makelazsnapshot.sh

This means the file was not shipped by any package. It must have been created by something later on.

[Solved]

Thank you @zyga-snapd and @mborzecki for you help and guidance.
Everything mentioned in the original post works now. I will mark the above solutions for other readers.

Is the category “snapd” correct, or should it be “snap” instead since it seems most was related to “snap”?

For record purposes, below are the results after the applying the solution. Not sure what the “illegal” WARNINGS are for and who the maintainers are, but at least the results are consistent with when I started on Ubuntu. :slight_smile:

~$ snap-store
09:45:19:0499 Gs enabled plugins: odrs, rewrite-resource, snap, icons, key-colors, key-colors-metadata
09:45:19:0499 Gs disabled plugins: appstream, desktop-categories, desktop-menu-path, dpkg, dummy, epiphany, fedora-pkgdb-collections, generic-updates, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, os-release, provenance, provenance-license, repos, shell-extensions
09:45:29:0631 Gs failed to create an app for ////system/*
09:45:29:0639 Gs updates-shell: failed to get updates: no plugin could handle get-updates
09:45:29:0640 Gs failed to create an app for ////system/*
09:45:29:0640 Gs failed to get system app
09:45:29:0640 Gs Only 0 apps for recent list, hiding
09:45:31:0046 Gs hiding category games featured applications: found only 0 to show, need at least 9
09:45:31:0144 Gs hiding category audio-video featured applications: found only 0 to show, need at least 9
09:45:31:0951 GsPluginSnap Failed to load snap icon: local snap has no icon
09:45:32:0474 GsPluginSnap Failed to load snap icon: local snap has no icon
09:45:33:0946 GsPluginSnap Failed to load snap icon: local snap has no icon
09:45:34:0422 GsPluginSnap Failed to load snap icon: local snap has no icon

~$ hello-world
Hello World!

~$ freemind

Picked up _JAVA_OPTIONS: -Duser.home=/home/nicolaas/snap/freemind/4
Checking Java Version…
Checking Java Version done.
java.io.FileNotFoundException: /home/nicolaas/snap/freemind/4/.freemind/auto.properties (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.(FileInputStream.java:157)
at freemind.main.FreeMindStarter.readUsersPreferences(FreeMindStarter.java:166)
at freemind.main.FreeMindStarter.main(FreeMindStarter.java:60)
Panic! Error while loading default properties.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by freemind.main.FreeMindStarter (file:/snap/freemind/4/freemind/lib/freemind.jar) to field sun.awt.X11.XToolkit.awtAppClassName
WARNING: Please consider reporting this to the maintainers of freemind.main.FreeMindStarter
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

STDOUT: User patterns file /home/nicolaas/snap/freemind/4/.freemind/patterns.xml not found.
STDOUT: User patterns file /home/nicolaas/snap/freemind/4/.freemind/patterns.xml not found.

you seem to have installed the snap package alongside with the snapd package … the snap packaging format is only provided by the snapd package, i assume the snap DNA sequencer package has a maintainer (postinst/preinst) script that generates the apparmor profile (which in turn then clashes with the profile for the snap command that snapd ships …)

$ apt-cache show snap
...
Description-en: location of genes from DNA sequence with hidden markov model
 SNAP is a general purpose gene finding program suitable for both eukaryotic
 and prokaryotic genomes. SNAP is an acroynm for Semi-HMM-based Nucleic Acid
 Parser.
...

@zyga-snapd perhaps the packaging should be updated to have snapd add a proper “Conflicts/Breaks” against “snap”

1 Like

We already have

Conflicts: snap (<< 2013-11-29-1ubuntu1)

but it’s clearly not sufficient.

Edit: installed the snap package from 19.10, version 2013-11-29-9. None /etc/apparmor.d/{snap,usr.bin.snap} were created, so it’s still unclear how it ended up in the user’s system.

1 Like

@mborzecki

I might be able to help there a bit since I just recent installed Ubuntu 19.10 and my /var/log/apt/history.log file is still relatively short’ish.
The order of apt-get executions on record I see are:

1. apt-get --yes -oDebug::pkgDepCache::AutoInstall=yes install linux-generic... [A LOT OF PACKAGES. This may be the initial installation of linux.]
2. apt-get --yes -oDebug::pkgDepCache::AutoInstall=yes install linux-generic... [A LOT OF PACKAGES. This may be the initial installation of linux.]
3. apt-get install tasksel
4. apt-get install sddm
5. apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -q -y -o APT::Install-Recommends=true -o APT::Get::AutomaticRemove=true -o APT::Acquire::Retries=3 install kubuntu-desktop^
6. apt-get -o APT::Status-Fd=4 -o APT::Keep-Fds::=5 -o APT::Keep-Fds::=6 -q -y -o APT::Install-Recommends=true -o APT::Get::AutomaticRemove=true -o APT::Acquire::Retries=3 install xubuntu-desktop^
7. apt-get install htop
8. apt-get install libgl1-mesa-dri:i386 libgl1-mesa-glx:i386 libc6:i386
9. apt-get install monodevelop
10. apt-get install fpc
11. apt-get install lazarus
12. apt-get install kdevelop

At this point, I used Snap-Store to install FreeMind and ran into the issue where FreeMind could not access removable devices. I saw Snap-Store provided some very basic permissions, but no permissions for accessing removable media. This is when I first read about AppArmor and tried to “solve” the permission issue. One thing lead to another…

13. apt-get install apparmor-utils

At this point I think I tried to revert permissions to default.
14. apt-get install --reinstall apparmor
At this point Snap-Store GUI didn’t load anymore.

15. apt-get install --reinstall snapd

At this point, I took a break from improving my 4-letter vocabulary and focused on getting my migration done on the things I still can. During this period I got in contact with the AppArmor and Snapcraft team.

16. apt-get install handbrake-gtk
17. apt-get install handbrake-cli
18. apt-get remove openjdk-8-jre-headless
19. apt-get install openjdk-8-jre
20. apt-get install simplescreenrecorder
21. apt-get install python-tk
22. apt-get install cups-pdf

Hope this helps with the forensics. :slight_smile:

Regards,