[Bug 1973470] Re: Ubuntu-bug command can't find Firefox on Lubuntu Kinetic

Benjamin Drung 1973470 at bugs.launchpad.net
Mon Sep 12 10:20:22 UTC 2022


I figured out the reason: /usr/bin/apport-bug sets
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin but
firefox is a snap living in /snap/bin/firefox.

** Changed in: xdg-utils (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: apport (Ubuntu)
       Status: Confirmed => Triaged

-- 
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/1973470

Title:
  Ubuntu-bug command can't find Firefox on Lubuntu Kinetic

Status in apport package in Ubuntu:
  Triaged
Status in xdg-utils package in Ubuntu:
  Invalid

Bug description:
  Test hardware is an Elitebook 8570p, 16 GB RAM, 120 GB SSD.

  While reporting Bug #1973469, I discovered that ubuntu-bug was unable
  to open Firefox at the very end of the process. Sadly, I closed the
  terminal window that contained the initial error, but I was able to
  easily reproduce it reporting this bug. The full console output of
  "ubuntu-bug apport" on Lubuntu Kinetic is:

  
      *** Collecting problem information

      The collected information can be sent to the developers to improve the
      application. This might take a few minutes.
      ..........

      *** 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 (5.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): s

      *** Uploading problem information

      The collected information is being sent to the bug tracking system.
      This might take a few minutes.
      94%

      *** To continue, you must visit the following URL:

  https://bugs.launchpad.net/ubuntu/+source/apport/+filebug/d7ffa3e0-d46d-11ec-a167-40a8f03099c8?

      You can launch a browser now, or copy this URL into a browser on
  another computer.

  
      Choices:
        1: Launch a browser now
        C: Cancel
      Please choose (1/C): 1
      /usr/bin/xdg-open: 882: firefox: not found
      /usr/bin/xdg-open: 882: firefox: not found
      xdg-open: no method available for opening 'https://bugs.launchpad.net/ubuntu/+source/apport/+filebug/d7ffa3e0-d46d-11ec-a167-40a8f03099c8?'

  I am unsure if this problem is in Apport or Lubuntu. ubuntu-bug works
  just fine for me on Ubuntu Kinetic, but not on Lubuntu. I suspect this
  is due to the Snap version of Firefox, but I don't know for sure.
  Since ubuntu-bug is what gave me the error, I'm filing this against
  Apport.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.10
  Package: apport 2.20.11-0ubuntu82
  ProcVersionSignature: Ubuntu 5.15.0-27.28-generic 5.15.30
  Uname: Linux 5.15.0-27-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.20.11-0ubuntu82
  Architecture: amd64
  CasperMD5CheckResult: pass
  CasperVersion: 1.470
  CurrentDesktop: LXQt
  Date: Sun May 15 11:41:07 2022
  LiveMediaBuild: Lubuntu 22.10 "Kinetic Kudu" - Alpha amd64 (20220514)
  PackageArchitecture: all
  SourcePackage: apport
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list