Focal verification root@verify-lp1953610-focal:~# ### Verification root@verify-lp1953610-focal:~# # Install updated command-not-found from -proposed root@verify-lp1953610-focal:~# # https://wiki.ubuntu.com/Testing/EnableProposed root@verify-lp1953610-focal:~# # Update command-not-found. root@verify-lp1953610-focal:~# apt install command-not-found
root@verify-lp1953610-focal:~# # Verify version root@verify-lp1953610-focal:~# dpkg -l | grep command-not-found ii command-not-found 20.04.6 all Suggest installation of packages in interactive bash sessions ii python3-commandnotfound 20.04.6 all Python 3 bindings for command-not-found. root@verify-lp1953610-focal:~# # Force rebuild of DB root@verify-lp1953610-focal:~# rm -rf /var/lib/command-not-found/* root@verify-lp1953610-focal:~# apt update Hit:1 http://security.ubuntu.com/ubuntu focal-security InRelease Hit:2 http://archive.ubuntu.com/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease Hit:5 http://archive.ubuntu.com/ubuntu focal-proposed InRelease Reading package lists... Done Building dependency tree Reading state information... Done All packages are up to date. root@verify-lp1953610-focal:~# ls -lah /var/lib/command-not-found/ total 3.2M drwxr-xr-x 1 root root 62 Mar 10 19:14 . drwxr-xr-x 1 root root 584 Mar 10 19:13 .. -rw-r--r-- 1 root root 3.2M Mar 10 19:14 commands.db -rw-r--r-- 1 root root 3.9K Mar 10 19:14 commands.db.metadata root@verify-lp1953610-focal:~# # Verify success root@verify-lp1953610-focal:~# su - ubuntu ubuntu@verify-lp1953610-focal:~$ lck WARNING:root:could not open file '/etc/apt/sources.list.d/ubuntu-focal-proposed.list' Command 'lck' not found, did you mean: command 'ack' from deb ack (3.3.1-1) command 'ick' from deb intercal (30:0.30-3) command 'lcf' from deb ucf (3.0038+nmu1) command 'ck' from deb python3-ck (1.9.4-1.1) command 'lc' from deb mono-devel (6.8.0.105+dfsg-2) command 'lcp' from deb lsh-client (2.1-12build3) Try: apt install <deb name> ubuntu@verify-lp1953610-focal:~$ ack WARNING:root:could not open file '/etc/apt/sources.list.d/ubuntu-focal-proposed.list' Command 'ack' not found, but can be installed with: apt install ack Please ask your administrator. ubuntu@verify-lp1953610-focal:~$ exit logout root@verify-lp1953610-focal:~# ## END Verification ** Tags removed: verification-needed-focal verification-needed-impish ** Tags added: verification-done-focal verification-done-impish -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1953610 Title: cnf-update-db creates unreadable database if wrong umask To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/command-not-found/+bug/1953610/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs