Created
August 16, 2021 21:20
-
-
Save m1stadev/9f96b3d66915556f2cfd2ecbadf8230e to your computer and use it in GitHub Desktop.
Python script for finding missing/extra packages on Procursus's APT repo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import glob | |
def main(): | |
packages = ['golang-1.16-go', 'libgeneral-dev', 'bender', 'libkernrw-dev', 'libxtst-dev', 'libmpg123-0', 'libxcb1', 'libglib2.0-0', 'ruby', 'whois', 'dropbear', 'libmagickcore-7.q16hdri-dev', 'libwebpmux3', 'aom-tools', 'libfox-1.6-0', 'libgpgme11', 'xbitmaps', 'libebml5', 'libgmpxx4ldbl', 'autossh', 'clang-11', 'libideviceactivation-dev', 'lua-luv', 'libgpgmepp6', 'doregon-keyring', 'libsixel1', 'libpcapa-dev', 'ld64', 'libusb-1.0-0', 'sensible-utils', 'libogg-dev', 'rtmpdump', 'libsystem-man', 'xonsh', 'libnghttp2-14', 'build-essential', 'libgeneral0', 'cracklib-runtime', 'launchctl', 'firmware-sbin', 'libpcre1-dev', 'cmark', 'autoconf-archive', 'libboost-iostreams1.76.0', 'libtiff-doc', 'cowsay-off', 'libfribidi0', 'libmd0', 'youtube-dl', 'libopus0', 'libdb18.1', 'file', 'libmagickcore-7.q16hdri-8', 'libxaw7', 'ideviceinstaller', 'libzip-dev', 'python3-glances', 'libtommath1', 'liblto', 'mosh', 'libtiff5', 'gpg-wks-client', 'libvorbis0a', 'libusb-1.0-0-dev', 'giflib-tools', 'libboost-numpy1.76.0', 'golb', 'clang-tools-11', 'nmap-utils', 'libfox-1.6-dev', 'lua-lpeg', 'libglib2.0-dev', 'usbmuxd2', 'libfs6', 'libtomcrypt-dev', 'perl', 'libngtcp2-crypto-gnutls0', 'groff', 'libmagick++-7.q16hdri-4', 'xclip', 'p7zip', 'libredwg0', 'weechat-dev', 'ncdu', 'starship', 'libevent-extra-2.1-7', 'logcleaner', 'libxvidcore-dev', 'libpixman-1-dev', 'libcmark0.29.0', 'libjson-c-dev', 'librav1e0', 'libfs-dev', 'r2ghidra-dec', 'qemu-block-extra', 'libxcb-composite0-dev', 'fish', 'vi', 'hello', 'libsdl2-dev', 'libsixel-bin', 'python3-wcwidth', 'libsnappy1v5', 'libdimentio0', 'libzmq5', 'openssl', 'libxi-dev', 'libncursesw6', 'libxfixes3', 'libgcrypt20-dev', 'libxtst-doc', 'libcairo2', 'ca-certificates', 'cowsay', 'libpipeline1', 'diskdev-cmds', 'libsrt-dev', 'libdca-dev', 'libplist-dev', 'libtiff-dev', 'libintl8', 'ffmpeg', 'bootstrap-cmds', 'nload', 'tesseract-ocr', 'weechat-core', 'lsof', 'libgpgmepp-dev', 'gpgconf', 'libbrotli1', 'libjbig0', 'librpmalloc0', 'gnupg-utils', 'libssh2-dev', 'pup', 'dpkg', 'libxml2-dev', 'libdvdcss-dev', 'libxmuu1', 'apt-file', 'libglib2.0-dev-bin', 'libx11-xcb-dev', 'libtextstyle0v5', 'libfl-dev', 'ondeviceconsole', 'libcaca-dev', 'libxo0', 'libomp1', 'liblz4-dev', 'libz-ng2', 'libarchive13', 'libxcb-keysyms1-dev', 'libsnappy-dev', 'most', 'libflac++-dev', 'lua-luv-dev', 'libfmt-dev', 'libterm-readkey-perl', 'libde265-0', 'libflac-dev', 'libzstd-dev', 'darwintools', 'libtommath-dev', 'lynx', 'libxpm4', 'libnpth0', 'uikittools', 'libopenexr-dev', 'googletest-tools', 'sed', 'liboffsetfinder64-dev', 'wptc-track', 'swift-5.4.1', 'libksba-dev', 'libboost1.76.0-all', 'mesa-common-dev', 'asciidoctor', 'speex', 'libpam-dev', 'rust', 'libwebp-dev', 'texinfo', 'libpaper-dev', 'libxcb-cursor0', 'bash-completion', 'libopenjp2-tools', 'libipatcher-dev', 'libilmbase-dev', '2048', 'libidn2-dev', 'xxhash', 'git', 'libbison-dev', 'libgcrypt20', 'libxcb-xrm0', 'libharfbuzz-bin', 'openssh-client', 'libxcb-xf86dri0-dev', 'libgpg-error-dev', 'libapt-pkg-dev', 'libharfbuzz0b', 'libdpkg-perl', 'libxpm-dev', 'tapi', 'libusbmuxd6', 'dmg2img', 'shell-cmds', 'libuuid-dev', 'tsschecker', 'libmagickwand-7-headers', 'libxcb-ewmh-dev', 'gpg', 'libhidapi0', 'libjson-c5', 'libvidstab-dev', 'libc-ares2', 'm4', 'libhidapi-dev', 'rust-toolchain', 'libavutil56', 'libnghttp3-dev', 'libuv1', 'doas', 'libvterm-dev', 'librav1e-dev', 'python3-xcbgen', 'libunibilium-dev', 'libebml-dev', 'libturbojpeg0-dev', 'libgirepository-1.0-dev', 'libxml-parser-perl', 'libxmu-dev', 'libjbig-dev', 'libinsn-dev', 'expat', 'libxcb-record0-dev', 'xhost', 'liblldb-11', 'libjbig2dec0', 'dpkg-dev', 'bastet', 'libxft2', 'libgd3', 'python3-yaml', 'nano', 'tcsh', 'procursus-keyring', 'libgmp10', 'libpng16-dev', 'libprotoc25', 'libexpat1-dev', 'gpg-wks-server', 'lua5.1', 'libruby3.0', 'libgeoip1', 'libtiffxx5', 'fd', 'libxdmcp-dev', 'libboost-filesystem1.76.0', 'libcwidget4', 'tcpdump', 'libgles2-mesa', 'libimlib2-1', 'libsoxr-dev', 'ghostscript', 'libxxf86vm-dev', 'jp2a', 'moon-buggy', 'libradare2-common', 'lldb-11', 'libvpx-dev', 'libdav1d-dev', 'libxcb-render-util0-dev', 'theos-dependencies', 'docbook-xsl-ns', 'libxinerama1', 'libssl1.1', 'lzfse', 'golang-go', 'libutf8proc2', 'gettext-localizations', 'autoconf', 'idevicehacked-keyring', 'flac', 'libgraphite2-3', 'tor', 'libswresample3', 'figlet', 'libevent-core-2.1-7', 'libglew-dev', 'db18.1-util', 'tmux', 'liblua5.2-dev', 'argon2', 'libxdmcp6', 'libxapian-dev', 'micro', 'xdmx', 'xwallpaper', 'libmagickcore-7-headers', 'libtool', 'libsgmls-perl', 'sl', 'duktape-dev', 'patch', 'gawk', 'libpam2', 'libxcb-render0', 'bison', 'libluajit-5.1-dev', 'libirecovery-utils', 'libslang2', 'libswscale5', 'libturbojpeg0', 'libxcb-xfixes0', 'jbat', 'libsoundio-dev', 'xmlto', 'libiosexec-dev', 'zsh-autosuggestions', 'ye', 'libgs-dev', 'libpcreposix0', 'libxapian30', 'libtheora0', 'libnghttp3-0', 'apt', 'sndfile-programs', 'libpython3.9-dev', 'libsm6', 'libsamplerate0', 'libopenjp2-7', 'libilmbase25', 'liblua5.3-0', 'sshpass', 'libxres1', 'libde265-dev', 'snaputil', 'liblouis-data', 'gnuchess', 'libmpfr6', 'libharfbuzz-icu0', 'python3-prompt-toolkit', 'libisl-dev', 'jq', 'libfontconfig-dev', 'unzip', 'libpcre16-0', 'libredwg-utils', 'libapt-pkg6.0', 'lf', 'libprotobuf-dev', 'libxcb-xf86dri0', 'libevent-2.1-7', 'diffutils', 'odyssey-keyring', 'ruby3.0', 'srt-tools', 'libcurl4-openssl-dev', 'golang-1.16-src', 'cpuminer', 'libxext-dev', 'sqlite3', 'libarchive-tools', 'gddrescue', 'liblouis-dev', 'xserver-xorg-dev', 'zsh', 'libmagickwand-7.q16hdri-8', 'ccache', 'libxml2-utils', 'fontconfig-config', 'libpthread-stubs0-dev', 'pzb', 'wtfutil', 'libimlib2-dev', 'pkg-config', 'libass9', 'liblua5.1-dev', 'ncurses-bin', 'libboost-locale1.76.0', 'libredwg-dev', 'libdav1d5', 'libfragmentzip-dev', 'libgl1-mesa-dri', 'libfontenc1', 'yasm', 'fzf', 'jbigkit-bin', 'libgs9-common', 'libavcodec58', 'liblua50', 'gtk-doc-tools', 'p11-kit', 'libtapi-dev', 'mediacli', 'libssh-dev', 'uuid', 'xauth', 'tmate', 'imagemagick', 'libxcb-xinerama0-dev', 'bsd-progress', 'triehash', 'libxcb-xv0-dev', 'libxcb-dri3-dev', 'libtiff-tools', 'pstree', 'libunistring-dev', 'nickchan-keyring', 'bottom', 'libxml2', 'openssh-server', 'progress', 'gpgv', 'libgeoip-dev', 'liblua5.4-0', 'dash', 'zpaq', 'libxext-doc', 'top', 'tigervnc-scraping-server', 'xcb-proto', 'libevent-openssl-2.1-7', 'redis-server', 'mawk', 'zipmerge', 'libtest-harness-perl', 'dirmngr', 'fortune-mod', 'make', 'libxcb-glx0-dev', 'libmaxminddb0', 'libpam-biometrics', 'swift', 'qemu-system-common', 'libplist3', 'libusbmuxd-tools', 'rsync', 'gobject-introspection', 'pasteboard-utils', 'lua5.3', 'leptonica-progs', 'base', 'libgit2-1.1', 'nmap-common', 'shshd', 'libxcb-randr0', 'nettle-dev', 'libluajit-5.1-2', 'xserver-common', 'xzdec', 'libxkbfile1', 'libtermkey1', 'txt2man', 'xpmutils', 'wimtools', 'lemon', 'libxo-dev', 'libavdevice-dev', 'lrzip-next', 'gzip', 'jlutil', 'libxaw7-dev', 'liblcms2-2', 'gengetopt', 'python3-psutil', 'lz4', 'less', 'libboost-json1.76.0', 'libxt6', 'libtapi', 'libmsgpack-dev', 'libz-ng-dev', 'qemu-system-sparc', 'xserver-xorg-video-dummy', 'libboost-fiber1.76.0', 'libxrandr-dev', 'usbmuxd', 'xapian-tools', 'icu-devtools', 'libpng16-tools', 'libyasm-dev', 'libhogweed6', 'doxygen', 'speedtest-cli', 'libuvwasi0', 'libfribidi-dev', 'libgettexpo-dev', 'myman', 'libp11-kit-dev', 'qemu-system-ppc', 'jbig2dec', 'libtesseract-dev', 'idn2', 'libjemalloc2', 'pinentry', 'libxcb-xtest0', 'libleptonica-dev', 'libusbmuxd-dev', 'lld-11', 'fakeroot', 'libxcb-xtest0-dev', 'joe', 'calc', 'gpgrt-tools', 'libao-dev', 'libgirepository-1.0-1', 'libpostproc-dev', 'libc-ares-dev', 'libxcb-dpms0-dev', 'libidn2-0', 'lua5.2', 'libxrender-dev', 'libcrack2', 'libmsgpackc2', 'libxcb-xinput-dev', 'libuvwasi-dev', 'xserver-xephyr', 'libfontconfig1', 'libxcursor1', 'debugserver', 'zsign', 'cmake', 'upx-ucl', 'term-fireworks', 'bzip2', 'flex', 'libzstd1', 'libx11-doc', 'adv-cmds', 'wget2', 'libonig5', 'libboost-program-options1.76.0', 'caca-utils', 'libp11-kit0', 'libxcb-util1', 'axel', 'libdb18.1-stl', 'vpx-tools', 'libspeex-dev', 'libxfont-dev', 'coreutils', 'libopus-dev', 'libboost-serialization1.76.0', 'libprotobuf-lite25', 'libgraphite2-utils', 'libprotobuf25', 'cargo', 'libsigsegv-dev', 'libx264-dev', 'rubberband-cli', 'python3', 'libavformat-dev', 'img4lib', 'libmpack0', 'libgl1-mesa-glx', 'python3-pygments', 'chariz-keyring', 'bpytop', 'fortunes', 'libxrender1', 'liboffsetfinder64-0', 'libradare2-4.5', 'odcctools', 'libdmx1', 'weechat', 'cmake-data', 'lsdtrip', 'libxcb-xfixes0-dev', 'libxcb-record0', 'gnupg', 'libjq1', 'unrar', 'libxar1', 'libfreetype-dev', 'libavdevice58', 'libmagic-dev', 'libglapi-mesa', 'libev4', 'findutils', 'libdb18.1++', 'libnpth0-dev', 'libsyn123-0', 'libimobiledevice-dev', 'misc-cmds', 'libxcb-cursor-dev', 'amy-keyring', 'libboost-system1.76.0', 'libpcre2-32-0', 'xkbcomp', 'libgmp-dev', 'libx11-dev', 'libfragmentzip0', 'libvdeplug2', 'libpaper1', 'liblua5.2-0', 'libscrypt-kdf1', 'libharfbuzz-gobject0', 'frei0r-plugins-dev', 'libpcre2-dev', 'libapr1-dev', 'libscrypt0', 'libuuid16', 'libzmq-dev', 'libirecovery-dev', 'libxau-dev', 'libjansson4', 'libmp3lame-dev', 'libxcb-shm0', 'libvterm0', 'libxcb-composite0', 'liblua5.4-dev', 'apt-rdepends', 'libisl23', 'libxxf86vm1', 'libgnutls28-dev', 'libirecovery3', 'libxfixes-dev', 'libvorbisfile3', 'libksba8', 'libxcb-res0-dev', 'mtr', 'lolcat', 'attach', 'ed', 'libbrotli-dev', 'libxo-tools', 'lua-mpack', 'libxdamage-dev', 'libflac++6v5', 'rc', 'libltdl-dev', 'libxcb-damage0', 'libmagick++-7.q16hdri-dev', 'libprotoc-dev', 'libdimentio-dev', 'libjq-dev', 'libaom3', 'iokittools', 'pacman', 'libwim-dev', 'x11proto-dev', 'libffi-dev', 'dimentio', 'libcurl4', 'libvidstab1.1', 'libtasn1-6-dev', 'gpg-agent', 'automake', 'libluajit-5.1-common', 'libmpc3', 'libdca-utils', 'libxres-dev', 'libaom-dev', 'libllvm11', 'libpam-google-authenticator', 'gir1.2-freedesktop', 'libglib2.0-bin', 'libxcb-xvmc0-dev', 'libxcb-render-util0', 'mmdb-bin', 'ninja', 'libspeex1', 'openjdk-jre', 'libavcodec-dev', 'bash', 'weechat-curses', 'nghttp2-server', 'libdb18.1++-dev', 'libgpgme-dev', 'libxcb-xkb1', 'libxau6', 'libtheora-dev', 'xnest', 'libicu-dev', 'libopenjp2-7-dev', 'xdmx-tools', 'libreadline-dev', 'libsoundio2', 'chezmoi', 'asciidoc', 'libxcb-dri3-0', 'fontconfig', 'qemu-utils', 'libepoxy0', 'librubberband-dev', 'liblua5.3-dev', 'libao4', 'profile.d', 'libxar-dev', 'text-cmds', 'chntpw', 'libnode-dev', 'frei0r-plugins', 'libboost-container1.76.0', 'libx265-199', 'dos2unix', 'usbfluxd', 'libsndfile1-dev', 'libplist++3v5', 'zipcmp', 'libxcb-xv0', 'libxcb-xinerama0', 'libgl1-mesa-dev', 'libimobiledevice-utils', 'mtree-netbsd', 'gir1.2-glib-2.0', 'python3-libxml2', 'libpaper-utils', 'libnghttp2-dev', 'liblqr-1-0', 'libevent-dev', 'p11-kit-modules', 'libsoxr-lsr0', 'rbw', 'essential', 'ldid', 'libavfilter-dev', 'libpcre2-16-0', 'libxcb-glx0', 'libpython3.9', 'x264', 'libimg4tool-dev', 'libexpat1', 'libiosexec1', 'lame', 'lzip', 'libtermkey-dev', 'tigervnc-xorg-extension', 'libnode83', 'snaprestore', 'libimg4tool0', 'libimg4-dev', 'libvorbisenc2', 'sudo', 'libevent-pthreads-2.1-7', 'libsodium-dev', 'patchutils', 'libglu1-mesa', 'libtesseract4', 'libplist++-dev', 'libsixel-dev', 'sgmlspl', 'libdvdcss2', 'libvorbis-dev', 'libvdeplug-dev', 'vim', 'libucl-dev', 'bat', 'mesa-demos', 'libgd-dev', 'librecode3', 'libsqlite3-1', 'libtextstyle-dev', 'libswresample-dev', 'libxcb-sync1', 'cameronkatri-keyring', 'libboost-log1.76.0', 'libmodule-build-perl', 'socat', 'libwebp7', 'libsamplerate0-dev', 'gettext-base', 'imagemagick-7-common', 'libswscale-dev', 'usbutils', 'openjdk-jdk', 'libheif1', 'tigervnc-standalone-server', 'libxxhash0', 'libassuan0', 'img4tool', 'libxcb-randr0-dev', 'libtool-bin', 'xapian-examples', 'xtrans-dev', 'libmp3lame0', 'libx11-6', 'libreadline8', 'pbzx', 'neovim', 'calc-dev', 'libxcb1-dev', 'libaria2-0-dev', 'libscrypt-kdf-dev', 'xkeyboard-config', 'liblocale-gettext-perl', 'qemu-system-misc', 'libopencore-amrwb0', 'libxcb-damage0-dev', 'libxrandr2', 'gettext', 'weechat-headless', 'libjbig2dec0-dev', 'libgd-tools', 'libargon2-dev', 'xar', 'libharfbuzz-dev', 'libxcb-image0', 'libxcb-image0-dev', 'libyaml-0-2', 'gdbmtool', 'x265', 'xfe', 'curl', 'libmagic1', 'libavfilter7', 'libpcre2-8-0', 'liblzfse-dev', 'plutil', 'ipsw', 'libpcre2-posix3', 'exa', 'libpcre32-0', 'libboost-thread1.76.0', 'libdb18.1-stl-dev', 'libgif7', 'libx11-xcb1', 'libcrypt2', 'xxd', 'libyaml-tiny-perl', 'libpipeline-dev', 'apt-utils', 'libxxhash-dev', 'libjpeg62-turbo-dev', 'libboost-atomic1.76.0', 'liblcms2-utils', 'libassuan-dev', 'libapr1', 'libharfbuzz-subset0', 'libice6', 'liblqr-1-0-dev', 'libvpx6', 'libgif-dev', 'libboost-timer1.76.0', 'libimobiledevice6', 'libxcb-screensaver0-dev', 'libgpg-error0', 'libxcursor-dev', 'libopenexr25', 'libboost-python1.76.0', 'libvterm-bin', 'libdb18.1-dev', 'libev-libevent-dev', 'libgdbm-dev', 'libngtcp2-0', 'libpixman-1-0', 'libtomcrypt1', 'liblzma5', 'lua50', 'nghttp2-client', 'libzip5', 'libxfont2', 'python3.9', 'libtasn1-6', 'libsodium23', 'libgit2-dev', 'libboost-graph1.76.0', 'libxkbfile-dev', 'libboost-type-erasure1.76.0', 'libxcb-icccm4-dev', 'libboost-nowide1.76.0', 'vde2-cryptcab', 'dialog', 'libncurses-dev', 'radare2', 'openexr', 'libboost-regex1.76.0', 'zstd', 'liblua5.1-0', 'libxext6', 'ripgrep', 'libssh-4', 'xtrace', 'libicu69', 'htop', 'lua-inspect', 'file-cmds', 'libcwidget-dev', 'librpmalloc-dev', 'libvde-dev', 'mc', 'po4a', 'mpg123', 'librubberband2', 'libxcb-xrm-dev', 'libboost-math1.76.0', 'libradare2-dev', 'liblualib50', 'libkernrw0', 'luajit', 'jtool2', 'gtime', 'network-cmds', 'itstool', 'libmatroska-dev', 'libgmock-dev', 'libslang2-modules', 'siguza-utils', 'lldb', 'libxcb-dpms0', 'libboost-coroutine1.76.0', 'liblz4-1', 'gnu-getopt', 'xpwn', 'fff', 'liblouis-bin', 'nekofetch', 'libxcb-keysyms1', 'liblua50-dev', 'libclang-cpp11', 'libxcb-icccm4', 'x11-apps', 'rav1e', 'libde265-examples', 'brotli', 'nasm', 'tale-keyring', 'libjpeg-turbo-progs', 'liblouis20', 'cmake-curses-gui', 'libpcrecpp0', 'recode', 'libxcb-shm0-dev', 'libsoxr0', 'libjpeg62-turbo', 'openssh-sftp-server', 'aptitude', 'libvde0', 'clang', 'libwebpdemux2', 'aircrack-ng', 'libdca0', 'tree', 'libpam-modules', 'libopencore-amrwb-dev', 'libavutil-dev', 'rclone', 'libxcb-sync-dev', 'libllvm-polly11', 'libssl-dev', 'libxft-dev', 'libxdamage1', 'librtmp-dev', 'libideviceactivation-utils', 'libxcb-dri2-0', 'libogg0', 'debugserver-11', 'libmagick++-7-headers', 'libx264-161', 'ttyrec', 'liblzfse', 'aria2', 'libboost-chrono1.76.0', 'lua5.4', 'llvm-utils-11', 'libmatroska7', 'liblept5', 'libflac8', 'slsh', 'libx265-dev', 'libplist-utils', 'libunibilium4', 'libuv1-dev', 'libedit-dev', 'nyuszika7h-keyring', 'lld', 'libmaxminddb-dev', 'debootstrap', 'libdpkg-dev', 'libressl', 'xorg-util-macros', 'webp', 'librtmp1', 'libpng16-16', 'ncurses-term', 'libboost-all-dev', 'ngtcp2-client', 'libmpg123-dev', 'libsm-dev', 'libxcb-dri2-0-dev', 'xz-utils', 'scrypt', 'fortunes-off', 'tigervnc-common', 'libxinerama-dev', 'protobuf-compiler', 'libsoundio-progs', 'nettle-bin', 'liblto11', 'libxcb-screensaver0', 'libucl1', 'meson', 'libgdbm6', 'libnettle8', 'libjemalloc-dev', 'qemu-system-data', 'libxi6', 'googletest', 'ghostbin', 'help2man', 'minisign', 'libout123-0', 'libgnutls30', 'libpugixml1', 'libpcapa', 'libtasn1-bin', 'libunrar-dev', 'libheif-dev', 'libpcre1', 'libglew2.2', 'libsndfile1', 'openssh', 'npm', 'libxcb-render0-dev', 'grep', 'debianutils', 'libavformat58', 'libsigsegv2', 'libpod-parser-perl', 'liblzma-dev', 'libxcb-xkb-dev', 'vde2', 'docbook-xml', 'libedit0', 'libboost-test1.76.0', 'libice-dev', 'libxt-dev', 'duktape', 'scdaemon', 'libxvidcore4', 'libclang-common-11-dev', 'libxcb-present-dev', 'libc++-dev', 'netcat', 'curlie', 'gh', 'libssh2-1', 'libcairo2-dev', 'libgtest-dev', 'libxtst6', 'libxmu6', 'libmpc-dev', 'ncurses-doc', 'libduktape206', 'libideviceactivation2', 'libomp-dev', 'inetutils', 'ruby3.0-doc', 'futurerestore', 'liblzo2-dev', 'libfmt7', 'libfreetype6', 'pincrush', 'libgnutlsxx28', 'libmd-dev', 'libxcb-shape0', 'docbook-xsl', 'libdmx-dev', 'libboost-random1.76.0', 'pcregrep', 'qemu-system-x86', 'libsigc++-2.0-0v5', 'libfribidi-bin', 'redis-sentinel', 'nodejs', 'libsqlite3-dev', 'libonig-dev', 'pojavlauncher', 'libmpack-dev', 'developer-cmds', 'dsymutil', 'libyaml-dev', 'libunrar5', 'openjdk-17-jre', 'libjansson-dev', 'bsdiff', 'libmpfr-dev', 'dsymutil-11', 'libglu1-mesa-dev', 'libltdl7', 'libintl-dev', 'libboost-stacktrace1.76.0', 'libffi8', 'fluxbox', 'libboost-context1.76.0', 'basic-cmds', 'dav1d', 'dpkg-repack', 'neofetch', 'man-db', 'propr-keyring', 'libxcb-present0', 'zsh-syntax-highlighting', 'libev-dev', 'usb.ids', 'transmission', 'libipatcher0', 'geoip-bin', 'libinsn0', 'nghttp2-proxy', 'libarchive-dev', 'libaria2-0', 'pfetch', 'libfontenc-dev', 'redis-tools', 'libboost-wave1.76.0', 'packix-keyring', 'ruby3.0-dev', 'liblualib50-dev', 'xserver-xorg-core', 'libapt-pkg-perl', 'wget', 'appuninst', 'libsdl2-2.0-0', 'libcrack-dev', 'libkernrw-utils', 'qemu-system-mips', 'zip', 'qemu-system', 'libc++-11-dev', 'gpgsm', 'libass-dev', 'libxcb-xvmc0', 'libxcb-shape0-dev', 'openjdk-17-jdk', 'tar', 'libslang2-dev', 'liblzo2-2', 'libboost-contract1.76.0', 'libxcb-res0', 'libboost-date-time1.76.0', 'cpio', 'qemu-system-arm', 'libgraphite2-dev', 'libcairo-gobject2', 'libgs9', 'gnutls-bin', 'libsigc++-2.0-dev', 'hexedit', 'ngtcp2-server', 'libargon2', 'libwim15', 'lsd', 'libcaca0', 'libunistring2', 'libao-common', 'libxcb-ewmh2', 'liblcms2-dev', 'libngtcp2-dev', 'llvm-utils', 'shc', 'libx11-data', 'lzop', 'libxcb-util-dev', 'libmagickwand-7.q16hdri-dev', 'libgles2-mesa-dev', 'libsrt1', 'libcrypt-dev', 'libopencore-amrnb-dev', 'screen', 'libxcb-xinput0', 'libcairo-script-interpreter2', 'libutf8proc-dev', 'librecode-dev', 'libxpwn-dev', 'libpostproc55', 'sudoku', 'xvfb', 'system-cmds', 'libepoxy-dev', 'libopencore-amrnb0', 'clang-tools', 'libgettextpo0', 'libscrypt-dev', 'xterm', 'ziptool', 'idevicerestore', 'libfl2', 'pcre2-utils', 'asciidoctor-doc', 'libcmark-dev', 'xfonts-utils', 'autopoint', 'libpugixml-dev'] | |
dists = dict() | |
for f in glob.glob('pool/main/*'): | |
dist = f.split('/')[-1] | |
dists[dist] = dict() | |
if dist not in ('iphoneos-arm64', 'big_sur'): | |
continue | |
for f in glob.glob(f'pool/main/{dist}/*'): | |
if len(glob.glob(f'{f}/*')) == 0: | |
continue | |
if dist == 'big_sur': | |
cfver = str() | |
else: | |
cfver = f.split('/')[-1] | |
dists[dist][cfver] = { | |
'missing': list(), | |
'extras': list() | |
} | |
debs = glob.glob(f'pool/main/{dist}/{cfver}/*') | |
for package in packages: | |
if not any (package == deb.split('/')[-1].split('_')[0].replace('-locale', '') for deb in debs): | |
if package not in dists[dist][cfver]['missing']: | |
dists[dist][cfver]['missing'].append(package) | |
for deb in debs: | |
deb_name = deb.split('/')[-1].split('_')[0].replace('-locale', '') | |
if not any(deb_name == package for package in packages): | |
if deb_name not in dists[dist][cfver]['extras']: | |
dists[dist][cfver]['extras'].append(deb_name) | |
for dist in dists: | |
for cfver in dists[dist]: | |
if cfver == str(): | |
repo = f'{dist}' | |
else: | |
repo = f'{dist}, {cfver}' | |
print(f"Missing packages for {repo}: {', '.join(dists[dist][cfver]['missing'])}") | |
print(f"Extra packages for {repo}: {', '.join(dists[dist][cfver]['extras'])}\n") | |
if __name__ == '__main__': | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment