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

Heinrich Schuchardt 2047742 at bugs.launchpad.net
Sun Dec 31 03:40:59 UTC 2023


Public bug reported:

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

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: command-not-found (Ubuntu Noble)
     Importance: Undecided
         Status: New

** Also affects: command-not-found (Ubuntu Noble)
   Importance: Undecided
       Status: New

-- 
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:
  New
Status in command-not-found source package in Noble:
  New

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