/usr/lib
NameSizeModeActions
apparmor/-0755rm
apt/-0755rm
binfmt.d/-0755rm
byobu/-0755rm
cloud-init/-0755rm
console-setup/-0755rm
cryptsetup/-0755rm
dbus-1.0/-0755rm
dhcpcd/-0755rm
dpkg/-0755rm
dracut/-0755rm
ec2-hibinit-agent/-0755rm
environment.d/-0755rm
file/-0755rm
finalrd/-0755rm
firmware/-0755rm
girepository-1.0/-0755rm
git-core/-0755rm
gnupg/-0755rm
gnupg2/-0755rm
groff/-0755rm
grub/-0755rm
grub-legacy/-0755rm
hdparm/-0755rm
init/-0755rm
initcpio/-0755rm
initramfs-tools/-0755rm
kernel/-0755rm
klibc/-0755rm
linux/-0755rm
linux-aws-7.0-tools-7.0.0-1010/-0755rm
linux-aws-7.0-tools-7.0.0-1012/-0755rm
linux-boot-probes/-0755rm
linux-tools/-0755rm
llvm-18/-0755rm
locale/-0755rm
lsb/-0755rm
man-db/-0755rm
mecab/-0755rm
mime/-0755rm
modprobe.d/-0755rm
modules/-0755rm
modules-load.d/-0755rm
multipath/-0755rm
mysql/-0755rm
nagios/-0755rm
needrestart/-0755rm
netplan/-0755rm
networkd-dispatcher/-0755rm
NetworkManager/-0755rm
open-iscsi/-0755rm
openssh/-0755rm
os-probes/-0755rm
pam.d/-0755rm
pcrlock.d/-0755rm
php/-0755rm
pm-utils/-0755rm
policykit-1/-0755rm
polkit-1/-0755rm
python3/-0755rm
python3.12/-0755rm
recovery-mode/-0755rm
rsyslog/-0755rm
sasl2/-0755rm
shim/-0755rm
snapd/-0755rm
software-properties/-0755rm
ssl/-0755rm
sysctl.d/-0755rm
sysstat/-0755rm
systemd/-0755rm
sysusers.d/-0755rm
tmpfiles.d/-0755rm
ubuntu-advantage/-0755rm
ubuntu-release-upgrader/-0755rm
udev/-0755rm
udisks2/-0755rm
ufw/-0755rm
update-notifier/-0755rm
valgrind/-0755rm
x86_64-linux-gnu/-0755rm
cnf-update-db10750755editdlrm
command-not-found35650755editdlrm
klibc-sw0VayLfV0hmLGCQE9vyfOnj81g.so787840755editdlrm
libmpathcmd.so.0145680644editdlrm
libmpathpersist.so.0391440644editdlrm
libmpathutil.so.0473440644editdlrm
libmultipath.so.03948160644editdlrm
os-release4000644editdlrm
sftp-server883440755editdlrm
Edit: /usr/lib/cnf-update-db (1075B)
#!/usr/bin/python3 import apt_pkg import glob import logging import os import sys from CommandNotFound.db.creator import DbCreator from CommandNotFound import CommandNotFound if __name__ == "__main__": if "--debug" in sys.argv[1:]: logging.basicConfig(level=logging.DEBUG) elif "--verbose" in sys.argv[1:]: logging.basicConfig(level=logging.INFO) apt_pkg.init_config() db = CommandNotFound.dbpath if not os.access(os.path.dirname(db), os.W_OK): print("datbase directory %s not writable" % db) sys.exit(0) if apt_pkg.config.find_b("Acquire::IndexTargets::deb::CNF::DefaultEnabled", True): command_files = glob.glob("/var/lib/apt/lists/*Commands-*") else: command_files = glob.glob("/var/lib/apt/lists/*Contents*") if len(command_files) > 0: umask = os.umask(0o22) col = DbCreator(command_files) col.create(db) os.umask(umask) else: print("Could not find any command metadata") print("Please run 'apt update' before using this command.")