Snap-store can't install cab file

Bug #1957143 reported by Bin Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snap-store-desktop
New
Undecided
Unassigned

Bug Description

On my laptop, we found snap-store couldn't install cab file which is firmware.

[Steps to reproduce]
1. Download the firmware
https://fwupd.org/lvfs/devices/com.lenovo.ThinkPadN2VTF.firmware
2.In nautilus find the new firmware and double click
3. snap-store will show up and prompt "Failed to install file: not supported"

[Version]
ubuntu: 20.04.3
snap-store: 3.38.1

[Other information]
Tried gnome-software, it works fine.

Revision history for this message
Bin Li (binli) wrote :

Jan 12 12:57:37 Padme3-P1-4 systemd[1431]: Started snap.snap-store.ubuntu-software-local-file.25e6d198-0de0-43f4-88c5-01e7614aa140.scope.
Jan 12 12:57:37 Padme3-P1-4 audit[4299]: SECCOMP auid=1000 uid=1000 gid=1000 ses=3 pid=4299 comm="snap-store" exe="/snap/snap-store/558/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fbbd1ce189d code=0x50000
Jan 12 12:57:37 Padme3-P1-4 audit[3169]: AVC apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/home/u/14906af023e28777f2f72c4b396bcebef5f5317c55d9e32b1f2eb16d4e2f5f10-Lenovo-ThinkPad-P1-Gen-3rd-Thunderbolt-Firmware-N2VTF08W-Secured.cab" pid=3169 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 12 12:57:37 Padme3-P1-4 kernel: audit: type=1326 audit(1641963457.788:49): auid=1000 uid=1000 gid=1000 ses=3 pid=4299 comm="snap-store" exe="/snap/snap-store/558/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7fbbd1ce189d code=0x50000
Jan 12 12:57:37 Padme3-P1-4 kernel: audit: type=1400 audit(1641963457.788:50): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/home/u/14906af023e28777f2f72c4b396bcebef5f5317c55d9e32b1f2eb16d4e2f5f10-Lenovo-ThinkPad-P1-Gen-3rd-Thunderbolt-Firmware-N2VTF08W-Secured.cab" pid=3169 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=1000
Jan 12 12:57:37 Padme3-P1-4 systemd[1431]: snap.snap-store.ubuntu-software-local-file.25e6d198-0de0-43f4-88c5-01e7614aa140.scope: Succeeded.
Jan 12 12:57:37 Padme3-P1-4 snap-store[3169]: failed to convert file to GsApp: no application was created for running file-to-app on plugin=packagekit-local with dedupe-flags=7 with refine-flags=require-license,require-url,require-size,require-version,require-history,require-setup-action,require-origin,require-related,require-menu-path,require-provenance,require-icon,require-permissions,require-origin-hostname,require-runtime,require-screenshots,require-categories,require-project-group,require-developer-name,require-kudos,content-rating with timeout=60 with file=/home/u/14906af023e28777f2f72c4b396bcebef5f5317c55d9e32b1f2eb16d4e2f5f10-Lenovo-ThinkPad-P1-Gen-3rd-Thunderbolt-Firmware-N2VTF08W-Secured.cab
Jan 12 12:57:38 Padme3-P1-4 tracker-store[4256]: OK

Revision history for this message
Bin Li (binli) wrote :

From the log, it looks like the apparmor denied this operation. Is it by design?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.