debsums for snapd 2.61.2 failed

Bug #2057491 reported by Leo Lin
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
OEM Priority Project
Confirmed
Critical
Leo Lin
snapd (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Running the debsums over snapd:

    $ debsums snapd

will show the file io.snapcraft.Prompt.service missing:

    debsums: missing file /usr/share/dbus-1/services/io.snapcraft.Prompt.service (from snapd package)

The snapd versions:

    $ snap version
    snap 2.61.2
    snapd 2.61.2
    series 16
    ubuntu 22.04
    kernel 6.1.0-1035-oem

The file was removed in commit 1800201, which is included in the 2.61.2 release and shouldn't be included in debsums checks for later versions.

Revision history for this message
Leo Lin (0xff07) wrote :
Leo Lin (0xff07)
tags: added: oem-priority originate-from-2057436 stella
Andy Chi (andch)
Changed in oem-priority:
assignee: nobody → Leo Lin (0xff07)
importance: Undecided → Critical
status: New → Confirmed
Leo Lin (0xff07)
tags: added: originate-from-2057476 somerville
Leo Lin (0xff07)
tags: added: originate-from-2057727
Atlas Yu (pseudoc)
tags: added: originate-from-2057759 sutton
Revision history for this message
Bin Li (binli) wrote :

commit 5cc6fb163d325c7a778f0e432df322034605df1d
Author: Oliver Calder <email address hidden>
Date: Fri Feb 2 23:39:51 2024 -0600

    i/dbus,wrappers: re-add prompt services to list so they are deleted

    Signed-off-by: Oliver Calder <email address hidden>

    wrappers: add test that old prompt service files are deleted

    Signed-off-by: Oliver Calder <email address hidden>

    interfaces/dbus: add comment that old service files are deleted

    Signed-off-by: Oliver Calder <email address hidden>

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

With the new version of snapd in proposed this issue is gone. Let's wait for the update.

https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2039017

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in snapd (Ubuntu):
status: New → Confirmed
Atlas Yu (pseudoc)
tags: added: originate-from-2057991
Revision history for this message
Atlas Yu (pseudoc) wrote :

https://snapcraft.io/docs/managing-updates#refresh-update-control-1

TL;DR snap (2.58+) will automatically refresh every snap packages, so this leads to the debsums check in failure.

$ apt show snapd
Version 2.58+22.04.1

$ snap version
snap 2.61.2

Andy Chi (andch)
tags: added: originate-from-2058353
Leo Lin (0xff07)
tags: added: originate-from-2058002
Andy Chi (andch)
tags: added: originate-from-2058494
Leo Lin (0xff07)
tags: added: originate-from-2058620
Leo Lin (0xff07)
tags: added: originate-from-2058698
Andy Chi (andch)
tags: added: originate-from-2059083
tags: added: originate-from-2058873
Revision history for this message
Leo Lin (0xff07) wrote :

With snapd 2.61.3 now in -update, this issue no longer appear.

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.