[Bug 1760220] [NEW] ubuntu-bug with program path says as a snap does not belong to a package

Brian Murray brian at ubuntu.com
Fri Mar 30 21:10:15 UTC 2018


Public bug reported:

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.

** Affects: apport (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bionic snaps

** Tags added: bionic snaps

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, 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:
  New

Bug description:
  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



More information about the foundations-bugs mailing list