Snap-store can't install deb file from /tmp folder
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snap-store-desktop |
Confirmed
|
Low
|
Unassigned | ||
snapd (Baltix) |
Triaged
|
Medium
|
Unassigned |
Bug Description
Snap-store can't install deb file from /tmp folder and subfolders - I simply downloaded Chrome browser from https:/
Then Snap Store was opened and I got an error message:
Failed to install file: not supported (see attached screenshot)
I've tried to install from the same google-
~$ snap-store.
10:14:53:0213 Gtk Failed to load module "canberra-
10:14:53:0216 Gtk Failed to load module "canberra-
10:14:53:0266 Gs enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-
10:14:53:0266 Gs disabled plugins: dpkg, dummy, fedora-langpacks, fedora-
10:14:53:0367 Gs /etc/PackageKit
10:14:55:0202 Gs failed to copy file, falling back to /tmp/mozilla_
10:14:55:0205 Gs not GsPlugin error g-io-error-quark:1: Error when getting information for file “/tmp/mozilla_
10:14:55:0205 Gs not GsPlugin error g-io-error-quark:1: Error when getting information for file “/tmp/mozilla_
10:14:55:0483 Gs failed to convert file to GsApp: no application was created for running file-to-app with dedupe-flags=7 with refine-
The same issue appears when .deb file is directly in /tmp:
~$ sudo mv -i /tmp/mozilla_
~$ ls /tmp/*.deb && snap-store.
/tmp/google-
10:21:29:0582 Gtk Failed to load module "canberra-
10:21:29:0583 Gtk Failed to load module "canberra-
10:21:29:0631 Gs enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-
10:21:29:0631 Gs disabled plugins: dpkg, dummy, fedora-langpacks, fedora-
10:21:29:0737 Gs /etc/PackageKit
10:21:31:0563 Gs failed to copy file, falling back to /tmp/google-
10:21:31:0566 Gs not GsPlugin error g-io-error-quark:1: Error when getting information for file “/tmp/google-
10:21:31:0566 Gs not GsPlugin error g-io-error-quark:1: Error when getting information for file “/tmp/google-
10:21:31:0864 Gs failed to convert file to GsApp: no application was created for running file-to-app with dedupe-flags=7 with refine-
But errors disappears when I move .deb file from /tmp to home folder - then I get Snap-store window with Install button :
~$ sudo mv -i /tmp/*.deb ~
~$ ls *.deb && snap-store.
google-
10:23:08:0472 Gtk Failed to load module "canberra-
10:23:08:0475 Gtk Failed to load module "canberra-
10:23:08:0518 Gs enabled plugins: desktop-categories, fwupd, os-release, packagekit, packagekit-local, packagekit-offline, packagekit-proxy, packagekit-
10:23:08:0519 Gs disabled plugins: dpkg, dummy, fedora-langpacks, fedora-
10:23:08:0620 Gs /etc/PackageKit
10:23:16:0363 Gs gs_utils_
Maybe software installed from snap packages can't access files in /tmp folder and subfolders?
Changed in snapd (Baltix): | |
milestone: | none → baltix-18.04 |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in snap-store-desktop: | |
status: | New → Invalid |
Thank you for your bug report, that's expected since snaps are confined and don't share a common /tmp with the system, ideally the file portal would be used in those cases though