Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/uploads/./../../../../../../../lib
الملفات الموجودة في هذا الـ Path:
.
..
X11
apache2
apparmor
apt
aspell
bfd-plugins
binfmt.d
byobu
cgi-bin
cnf-update-db
command-not-found
compat-ld
console-setup
cpp
crda
cryptsetup
dbus-1.0
dovecot
dpkg
dracut
emacsen-common
environment.d
file
finalrd
firewalld
firmware
galera
gcc
girepository-1.0
git-core
gnupg
gnupg2
gold-ld
groff
grub
grub-legacy
hdparm
ifupdown
init
initcpio
initramfs-tools
ispell
kernel
klibc
klibc-BnzSoOUNgFnGkEcRdekugdBENMs.so
libdmmp.so
libdmmp.so.0.2.0
libgalera_smm.so
libhandle.so.1
libhandle.so.1.0.3
libmpathcmd.so
libmpathcmd.so.0
libmpathpersist.so
libmpathpersist.so.0
libmultipath.so
libmultipath.so.0
libnetpbm.so.10
libnetpbm.so.10.0
libopendbx.so.1
libopendbx.so.1.2.0
libopendbxplus.so.1
libopendbxplus.so.1.0.0
libspf2.so.2
libspf2.so.2.1.0
linux
linux-boot-probes
locale
lsb
man-db
mime
modprobe.d
modules
modules-load.d
multipath
mysql
nagios
needrestart
networkd-dispatcher
nodejs
nvidia
open-iscsi
opendbx
opendkim
openssh
os-prober
os-probes
os-release
p7zip
pam.d
perl5
php
pkgconfig
pm-utils
policykit-1
polkit-1
postfix
proftpd
python2.7
python3
python3.10
python3.11
recovery-mode
rsyslog
ruby
sasl2
sendmail
sftp-server
ssl
sysctl.d
systemd
sysusers.d
tc
terminfo
tmpfiles.d
ubiquity
ubuntu-advantage
udev
udisks2
usrmerge
valgrind
x86_64-linux-gnu
xfsprogs

مشاهدة ملف: cnf-update-db

#!/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.")