[Bug 2143311] Re: No such file or directory: 'g/Ubuntu 26.04/codename'

Nathan Teodosio 2143311 at bugs.launchpad.net
Thu Mar 5 08:52:17 UTC 2026


Sorry, used the option incorrectly, it is 'apport-retrace -g -S system
./_usr_bin_quaternion.1000.crash'.

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

Title:
  No such file or directory: 'g/Ubuntu 26.04/codename'

Status in apport package in Ubuntu:
  Invalid

Bug description:
  When running apport-retrace 2.33.1-0ubuntu3 with the -S option I get
  in 26.04:

  --->
  /tmp/quatern% apport-retrace -Sg ./_usr_bin_quaternion.1000.crash
  WARNING: cannot determine mirror: cannot determine default mirror: couldn't find configured source contains the `deb` type in g/Ubuntu 26.04
  Traceback (most recent call last):
    File "/usr/bin/apport-retrace", line 713, in <module>
      sys.exit(main(sys.argv[1:]))
               ~~~~^^^^^^^^^^^^^^
    File "/usr/bin/apport-retrace", line 542, in main
      sandbox, cache, outdated_msg = apport.sandboxutils.make_sandbox(
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
          report,
          ^^^^^^^
      ...<6 lines>...
          options.dynamic_origins,
          ^^^^^^^^^^^^^^^^^^^^^^^^
      )
      ^
    File "/usr/lib/python3/dist-packages/apport/sandboxutils.py", line 240, in make_sandbox
      outdated_msg = packaging.install_packages(
          sandbox_dir,
      ...<7 lines>...
          origins=origins,
      )
    File "/usr/lib/python3/dist-packages/apport/packaging_impl/apt_dpkg.py", line 1163, in install_packages
      with open(
           ~~~~^
          os.path.join(configdir, release, "codename"), encoding="utf-8"
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      ) as f:
      ^
  FileNotFoundError: [Errno 2] No such file or directory: 'g/Ubuntu 26.04/codename'
  <---

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




More information about the foundations-bugs mailing list