[Bug 2047742] Re: /usr/lib/cnf-update-db fails

Steve Langasek 2047742 at bugs.launchpad.net
Fri Jan 5 17:43:07 UTC 2024


http://archive.ubuntu.com/ubuntu/dists/noble/main/cnf/ now exists, so I
think this is resolved.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to command-not-found in Ubuntu.
https://bugs.launchpad.net/bugs/2047742

Title:
  /usr/lib/cnf-update-db fails

Status in command-not-found package in Ubuntu:
  Invalid
Status in command-not-found source package in Noble:
  Invalid

Bug description:
  I am running Ubuntu 24.04 on an arm64 system. /usr/lib/cnf-update-db
  fails to create the database.

  File /var/lib/apt/lists/ports.ubuntu.com_ubuntu-
  ports_dists_noble_Contents-arm64.lz4 matches the glob
  "/var/lib/apt/lists/*Contents*".

  But there is no file matching "/var/lib/apt/lists/*Commands-*".

  /usr/lib/cnf-update-db fails to create the database because it tries
  to read "/var/lib/apt/lists/*Commands-*".

  When patching the script to force reading *Contents* a database is
  created in /var/lib/command-not-found.db. And with that database I
  receive hints which packages are missing.


  Best regards

  Heinrich

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/2047742/+subscriptions




More information about the foundations-bugs mailing list