Skip to content

Snap lists implicitly installed packages, which causes metapac clean to fail. #73

@VinceGuidry

Description

@VinceGuidry

Hi, when I use metapac to manage snap packages, the snaps install dependencies which then show up as unmanaged, requiring manual dependency management.

vince@vince-framework13:~/src/shared$ metapac c
[Snap]
bare
core18
core20
gnome-3-28-1804
gtk-common-themes
snapd


these packages will be removed

do you want to continue? yes
[sudo] password for vince:
error: cannot remove "bare", "core18", "core20", "gnome-3-28-1804", "gtk-common-themes", "snapd":
       snap "bare" is not removable: snap is being used by snap gtk-common-themes.
Error:
   0: command failed: "sudo snap remove bare core18 core20 gnome-3-28-1804 gtk-common-themes snapd"

Location:
   src/cmd.rs:82

Backtrace omitted. Run with RUST_BACKTRACE=1 environment variable to display it.
Run with RUST_BACKTRACE=full to include source snippets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions