[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Description changed: - 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. + [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 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] + Minimal; 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 ** Summary changed: - ubuntu-bug doesn't know how to file bugs against snaps + [SRU] ubuntu-bug doesn't know how to file bugs against snaps ** Branch linked: lp:~slyon/apport/apport-focal-snap-handling -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: [SRU] ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Changed in: apport (Ubuntu Focal) Assignee: (unassigned) => Lukas Märdian (slyon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
This bug was fixed in the package apport - 2.20.11-0ubuntu40 --- apport (2.20.11-0ubuntu40) groovy; urgency=medium * Build-depend on python3-requests-unixsocket. -- Brian Murray Wed, 10 Jun 2020 12:30:43 -0700 ** Changed in: apport (Ubuntu) Status: Triaged => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Branch linked: lp:~ubuntu-core-dev/ubuntu/groovy/apport/ubuntu -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Branch linked: lp:~slyon/apport/apport-snap-handling -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
My Merge Proposal can be found here: https://code.launchpad.net/~slyon/apport/apport/+merge/385120 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Branch linked: lp:~slyon/apport/apport -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Changed in: apport (Ubuntu) Assignee: (unassigned) => Lukas Märdian (slyon) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Tags removed: champagne -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Also affects: apport (Ubuntu Focal) Importance: Undecided Status: Triaged ** Changed in: apport (Ubuntu Focal) Milestone: None => ubuntu-20.04.1 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
Based on the latest comments, "incomplete" is wrong, we have enough information here for apport to start using the contact field. ** Changed in: apport (Ubuntu) Status: Incomplete => Triaged -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
I encountered this when trying to report a bug in the snap-store, which as far as I can tell is the new default package manager. It looks pretty silly to see Apport disclaiming responsibility for the package manager. It knows the snap is published by "canonical". Maybe everything published by "canonical" should be special-cased. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Tags added: id-5e73c372136ba285edff6d4d -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
So, in addition to the contact: field on all seeded snaps / canonical snaps. Re: installers We generally do have special cases in ubuntu-bug for "debian-installer", "ubiquity", and "subiquity", as anybody should be able file bug reports against "installation". Whether or not, they are installing or completed the install. That needs more special cases in apport. For snaps that don't declare contact Maybe we should direct people at the snapstore URL to try to find who published the package there? Or like direct them at "snaps-on-ubuntu" project that has lots of bugs against any snap out there? I wonder how other distributions handle the "where to file bugs against snaps on $DISTRO". -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
** Changed in: snapd Status: New => Triaged ** Changed in: snapd Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
aha, so: $ snap info --verbose git-ubuntu | grep contact contact: https://bugs.launchpad.net/usd-importer/+filebug I wonder, if we can improve apport to actually upload / start filing a bug report on launchpad, if it points to a launchpad +filebug url? Can we enforce for contact to be set to something sensible, for all Canonical published projects? Also does apport know how to open bug reports against launchpad "upstream" (not ubuntu distro-package) projects? And i guess also github issues? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
I think it's worth mentioning that 'ubuntu-bug git-ubuntu' does present a dialog telling you that "it is about a snap published by canonical. Contact them via https://bugs.launchpad.net/usd-importer/+filebug for help". So apport does try to point you in the right direction. You can see this code in apport/ui.py. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
So, snaps in the snapstore can declare a contact url, where one can file bug reports. I don't see these to be exposed on the system, but maybe I don't know the localhost APIs for that. I do wonder if there can be some standartesation done, for example, if the contact url is +filebug on a launchpad project, maybe apport should be able to file bugs against the launchpad project for that snap. Ie. ideally ubuntu-bug core20 subiquity git-ubuntu would all work. @snapd @snapcraft @snapstore - is there a standard for where to file bug reports, and how can apport query and use it? Can we start enforcing branced snaps to provide that? ** Also affects: snapd Importance: Undecided Status: New ** Also affects: snapcraft Importance: Undecided Status: New ** Also affects: snapstore Importance: Undecided Status: New ** Changed in: apport (Ubuntu) Status: Confirmed => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/snapcraft/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1861082] Re: ubuntu-bug doesn't know how to file bugs against snaps
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: apport (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1861082 Title: ubuntu-bug doesn't know how to file bugs against snaps To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1861082/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs