Hello Brian, or anyone else affected,

Accepted apport into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/apport/2.20.9-0ubuntu7.5 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.  Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-bionic to verification-done-bionic. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-bionic. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance for helping!

N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.

** Changed in: apport (Ubuntu Bionic)
       Status: In Progress => Fix Committed

** Tags added: verification-needed-bionic

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1760220

Title:
  ubuntu-bug with program path says as a snap does not belong to a
  package

Status in apport package in Ubuntu:
  Fix Released
Status in apport source package in Bionic:
  Fix Committed
Status in apport source package in Cosmic:
  Fix Committed

Bug description:
  [Impact]
  ubuntu-bug responds with a misleading statement asked to report a bug about 
an executable path which starts with /snap/bin and the response is different 
than if you were to use the snap name e.g. ubuntu-bug juju

  [Test Case]
  1) Run ubuntu-bug /snap/bin/juju
  2) Read "/snap/bin/juju does not belong to a package"

  With the version of apport in -proposed you'll receive a more
  informative message about where you might get help regarding the issue
  you are experiencing.

  [Regression Potential]
  The new code only affects executables that start with '/snap/bin' so the only 
danger is if the newly added code contains an error which would cause a 
traceback.

  Original Report
  ---------------
  apport's ui.py file contains the following code:

   809         # executable?
   810         elif '/' in self.args[0]:
   811             pkg = apport.packaging.get_file_package(self.args[0])
   812             if not pkg:
   813                 optparser.error('%s does not belong to a package.' % 
self.args[0])
   814                 sys.exit(1)
   815             self.args = []
   816             self.options.filebug = True
   817             self.options.package = pkg

  This will not provide any useful information about what to do if the
  'executable' is provided by a snap. Information similar to
  https://code.launchpad.net/~juliank/ubuntu/bionic/apport/snap/+merge/342207
  should be provided if the path is from a snap.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1760220/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to