Bug 481258

Summary: ghostwriter snap: "foo-install-cups" plug produces confusing warning on installation
Product: [KDE Neon] neon Reporter: Raphael Kubo da Costa <rakuco>
Component: SnapsAssignee: Scarlett Moore <sgmoore>
Status: RESOLVED FIXED    
Severity: normal CC: neon-bugs-null
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Snap   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Raphael Kubo da Costa 2024-02-12 11:12:20 UTC
I've run `snap install ghostwriter` on an Ubuntu 22.04 installation. It seems to have succeeded, but it also produced a cryptic warning in the process:

$ snap install ghostwriter
2024-02-12T12:00:03+01:00 INFO cannot update "cups", will not have required content "foo": snap has no updates available
ghostwriter 23.08.4 from KDE✓ installed

Regardless of whether the warning should have been shown at all, the "foo" part got me confused. It seems to come from <https://invent.kde.org/packaging/snapcraft-kde-applications/-/blob/7c80c0c285153f5951c028c164279bd65e591bc2/ghostwriter/snapcraft.yaml#L49>; using a more descriptive name than "foo" would be helpful.
Comment 1 Scarlett Moore 2025-01-24 14:38:48 UTC
It was for auto install of cups as suggested by documentation. Though I have removed it as it silently broke other things. One must snap install cups manually now.