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
Focal verification lp1953610- focal:~ # ### Verification lp1953610- focal:~ # # Install updated command-not-found from -proposed lp1953610- focal:~ # # https:/ /wiki.ubuntu. com/Testing/ EnableProposed lp1953610- focal:~ # # Update command-not-found. lp1953610- focal:~ # apt install command-not-found
root@verify-
root@verify-
root@verify-
root@verify-
root@verify-
root@verify- lp1953610- focal:~ # # Verify version lp1953610- focal:~ # dpkg -l | grep command-not-found commandnotfound 20.04.6 all Python 3 bindings for command-not-found. lp1953610- focal:~ # # Force rebuild of DB lp1953610- focal:~ # rm -rf /var/lib/ command- not-found/ * lp1953610- focal:~ # apt update security. ubuntu. com/ubuntu focal-security InRelease archive. ubuntu. com/ubuntu focal InRelease archive. ubuntu. com/ubuntu focal-updates InRelease archive. ubuntu. com/ubuntu focal-backports InRelease archive. ubuntu. com/ubuntu focal-proposed InRelease lp1953610- focal:~ # ls -lah /var/lib/ command- not-found/ db.metadata lp1953610- focal:~ # # Verify success lp1953610- focal:~ # su - ubuntu verify- lp1953610- focal:~ $ lck sources. list.d/ ubuntu- focal-proposed. list'
root@verify-
ii command-not-found 20.04.6 all Suggest installation of packages in interactive bash sessions
ii python3-
root@verify-
root@verify-
root@verify-
Hit:1 http://
Hit:2 http://
Hit:3 http://
Hit:4 http://
Hit:5 http://
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
root@verify-
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.
root@verify-
root@verify-
ubuntu@
WARNING:root:could not open file '/etc/apt/
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 sources. list.d/ ubuntu- focal-proposed. list'
WARNING:root:could not open file '/etc/apt/
Command 'ack' not found, but can be installed with:
apt install ack
Please ask your administrator.
ubuntu@ verify- lp1953610- focal:~ $ exit lp1953610- focal:~ # ## END Verification
logout
root@verify-