"snap run" doesn't support not installed packages

Bug #1711847 reported by KAYOver
46
This bug affects 9 people
Affects Status Importance Assigned to Milestone
snapd
Opinion
Wishlist
Unassigned
snapd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

As .snap package costs a lot of space we need ability to store it on removable drives. Now it's impossible to run they from there. Only way to run .snap is to mount it running "sudo snap install --dangerous <.snap location>" command, that copy package into '/var/lib/snapd/snaps' and maybe do some other things.

In theory, it's need to be '(sudo if need) snap run *--dangerous <.snap location>*' here, that will temporary create symlink to my .snap in '/var/lib/snapd/snaps', mount and then run it. If there is many apps in one package, it’s can be done to have exceptions for "one app" .snap’s and for .snap’s that have "main_application: *app name here*" in snapcraft.yaml. Otherwise "Cannot run, this package contains many applications (*names here*) and don't have a "main_application" option defined. Install it instead? [Y/n]" message should be displayed.

Revision history for this message
Oliver Grawert (ogra) wrote :

moved to the proper upstream projects

Changed in snapd (Ubuntu):
status: New → Invalid
KAYOver (sziberov)
description: updated
description: updated
description: updated
KAYOver (sziberov)
description: updated
Revision history for this message
Zygmunt Krynicki (zyga) wrote :

There are many details that would be required to make this work. I won't go into this unless there's a developer committed to work with the core team to design and implement the feature. Please don't see this as a "wont fix", it's just a statement that we're not working on this at the moment.

no longer affects: snappy
Changed in snapd:
importance: Undecided → Wishlist
status: New → Opinion
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.