Migrating from snapd to snapd-git results in 'broken' snaps

Bug #1741474 reported by Alan Pope 🍺🐧🐱 🦄
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
High
Unassigned

Bug Description

I switched from the outdated snapd package to snapd-git, which gives me snap 2.30.

[alan@manjarovm ~]$ snap version
snap 2.30dev+171219+g5f5180e-1
snapd 2.30dev+171219+g5f5180e-1
series 16
manjaro
kernel 4.9.74-2-MANJARO
Now all my snaps show up as broken.

[alan@manjarovm ~]$ snap list
Name Version Rev Developer Notes
brave 13 brave broken
chromium 128 canonical broken
core 3748 canonical broken
firefox x2 broken
nextcloud 4371 nextcloud broken
node-red 56 dcj broken
I also note that after the switch to snapd-git, my /snap directory is not mounted.

Supposedly this was fixed (for Ubuntu 14.04) in https://github.com/snapcore/snapd/pull/4081

Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

I've posted some findings in the forum topic: https://forum.snapcraft.io/t/on-arch-snaps-show-broken-after-switch-from-snapd-to-snapd-git/3427

Bottom line is, snapd and snapd-git packages from Manjaro's repo do not perform a proper cleanup on removal. Manjaro carries a snapd-git package in their own repositories and it's not the same package as snapd-git from AUR. To get it fixed, we'll need to work with Manjaro to have their packages updated.

Michael Vogt (mvo)
Changed in snapd:
status: New → Triaged
importance: Undecided → High
Revision history for this message
Maciej Borzecki (maciek-borzecki) wrote :

The files for both `snapd` and `snapd-git` packages were updated in Manjaro repositories.

https://github.com/manjaro/packages-community/commit/6ec57b998bc2866c7e7c804aec9d57b5a58a34f9

Michael Vogt (mvo)
Changed in snapd:
status: Triaged → Fix Committed
Changed in snapd:
status: Fix Committed → Fix Released
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.