← Back to issue list

[SRU] ubuntu-bug doesn't know how to file bugs against snaps

View original Launchpad issue

Metadata

Project
snapcraft (launchpad)
Number
#1861082
Type
issue
State
open
Author
~xnox
Labels
id-5e73c372136ba285edff6d4d id-5eeb87fddafe19544a50da51 verification-done-focal verification-needed
Created
Updated
Closed

Current evaluation

SRU request to make ubuntu-bug/apport file bug reports against snaps. Fix was verified on focal (verification-done-focal) and shipped in Groovy; no activity for 6+ years and the 20.04 target is now EOL.

Suggested action: close stale

Reason: The SRU fix is already in place: the body states the change 'has been uploaded to Groovy some while ago where it is being used and tested,' and the verification-done-focal label confirms the focal backport was verified. The target release (Ubuntu 20.04) has reached end of standard support, the issue has had zero comments and no activity for over 6 years, so the original problem no longer applies to any supported release.

Impact: 15 Quick Win: 12.0 Staleness: 90 Complexity: 20 Confidence: 70 Support Request: 10

Issue body

[Impact] Users of Ubuntu 20.04 are not able to easily report bugs against applications provided as a snap. [Test Case] Install subiquity snap: # sudo snap install subiquity --classic subiquity 20.06.1 aus Canonical✓ installiert # snap list | grep subiquity subiquity 20.06.1 1938 latest/stable canonical* classic ubuntu-bug subiquity results in message: # LANGUAGE="en_US" apport-cli subiquity *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ...dpkg-query: no packages found matching subiquity *** You are about to report a bug against the deb package, but you also a have snap published by canonical installed. You can contact them via https://bugs.launchpad.net/subiquity for help. Do you want to continue with the bug report against the deb? What would you like to do? Your options are:   Y: Yes   N: No   C: Cancel === New/Expected Result === ubuntu-bug <package or snap name> should ask the user if he/she wants to report the bug against the snap or deb package, if both are installed. If the snap is chosen, the "Snap" and "SnapSource" fields should be part of the report: # LANGUAGE="en_US" apport-cli subiquity *** Collecting problem information The collected information can be sent to the developers to improve the application. This might take a few minutes. ...dpkg-query: no packages found matching subiquity *** You have two versions of this application installed, which one do you want to report a bug against? Choices:   1: subiquity 20.06.1 (stable) snap   2: subiquity (1938) deb package   C: Cancel Please choose (1/2/C): 1 . *** Send problem report to the developers? After the problem report has been sent, please fill out the form in the automatically opened web browser. What would you like to do? Your options are:   S: Send report (46.1 KB)   V: View report   K: Keep report file for sending later or copying to somewhere else   I: Cancel and ignore future crashes of this program version   C: Cancel Please choose (S/V/K/I/C): V Make sure the following two fields are part of the generated report: == Snap ================================= subiquity 20.06.1 (stable) == SnapSource ================================= subiquity [Regression Potential] Small; the change adds a new add_snap_info() method to report.py and is triggered in the ui.py logic only in cases which would have otherwise lead to an error message. Furthermore, the change has been uploaded to Groovy some while ago where it is being used and tested. [Original Bug Report] Hello, I had problems with subiquity in the focal live server install image. I tried to use 'ubuntu-bug subiquity' to report the bug, but ubuntu-bug apparently cannot file bug reports against snaps. This is frustrating that users need to know which portions of Ubuntu are delivered via debs, which portions are delivered by snaps, and try to find a way to report bugs correctly. ubuntu-bug should know how to report bugs for Canonical software. Thanks

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.8-27b
Impact: 15
Quick Win: 12.0
Staleness: 90
Complexity: 20
Confidence: 70
Support Request: 10
close stale SRU request to make ubuntu-bug/apport file bug reports against snaps. Fix was verified on focal (verification-done-focal) and shipped in Groovy; no activity for 6+ years and the 20.04 target is now EOL.
qwen/qwen3.6-35b-a3b
Staleness: 95
Complexity: 35
Confidence: 90
Support Request: 10
close stale SRU request to enable ubuntu-bug to file reports against snaps. Inactive for over 6 years, targeting EOL Ubuntu 20.04.
qwen/qwen3.6-35b-a3b
Staleness: 98
Complexity: 25
Confidence: 90
Support Request: 5
close stale SRU request to enable ubuntu-bug to file reports against snaps. Labeled verification-done-focal and verification-needed, with no maintainer comments in over six years.
qwen3.6-35b-a3b-mtp-q6
Staleness: 98
Complexity: 20
Confidence: 95
Support Request: 10
close stale SRU tracking ticket for adding snap bug reporting to ubuntu-bug on Ubuntu 20.04. Inactive for over six years with zero comments. The feature has been fully implemented and standardized for years, rendering this ticket obsolete.
qwen3.6-35b-a3b-mtp-q6
Staleness: 95
Complexity: 30
Confidence: 90
Support Request: 10
close stale SRU request to update ubuntu-bug to handle snap package bug reporting. Issue is extremely old with no recent activity or maintainer response.

Update history

No update history recorded yet.

Related issues

No related issues found above the similarity threshold.