在我继承的旧服务器之一中,我执行
apt-mark showmanual
我得到了近 100 个条目的列表。
adduser apache2 apt apt-listchanges apt-utils aptitude aptitude-common at base-files base-passwd bash bash-completion bc bind9-dnsutils bind9-host bsd-mailx bsdextrautils bsdutils busybox bzip2 coreutils cpio cpp croncurl dash dbus dc debconf debconf-i18n debian-archive-keyring debian-faq debianutils diffutils 发现 dmsetup dnsutils doc-debian dpkg e2fslibs e2fsprogs failure2ban 文件 findutils g++ gcc gcc-4.8-base gcc-4.9-base gettext-base gnupg gpgv grep groff-base gzip 主机主机名 htop ifupdown inetutils- telnet 信息 init init-system-helpers initscripts insserv install-info 安装报告 iotop iproute2 iptables iputils-ping isc-dhcp-client isc-dhcp-common krb5-locales less libacl1 libapt-inst1.5 libapt-pkg4.12 libasan6 libattr1 libaudit -common libaudit1 libblkid1 libboost-iostreams1.55.0 libbz2-1。0 libc-bin libc6 libcap2 libcap2-bin libclass-isa-perl libcomerr2 libcryptsetup4 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libdns-export100 libestr0 libffi-dev libffi6 libgcc1 libgcrypt20 libgd3 libgdbm3 libgmp10 libgnutls-deb0-28 libgnutls-openssl27 libg pg-error0 libhogweed2 libicu52 libidn11 libirs-export91 libisc-export95 libisccfg-export90 libjson-c2 libkmod2 liblocale-gettext-perl liblockfile-bin liblogging-stdlog0 liblognorm1 liblzma5 libmnl0 libmount1 libncurses5 libncursesw5 libnetfilter-acct1 libnettle4 libnewt0.52 libnfnetlink0 libp11-kit0 libpam-模块libpam-模块-bin libpam -运行时 libpam0g libpcre3 libpipeline1 libpng12-0 libpopt0 libprocps3 libpsl0 libreadline6 libselinux1 libsemanage-common libsepol1 libslang2 libsmartcols1 libsnmp-base libss2 libssl-dev libssl1.0。0 libstdc++6 libswitch-perl libsystemd0 libtasn1-6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo5 libudev1 liburi-perl libusb-0.1-4 libustr-1.0-1 libuuid1 libxtables10 区域设置登录 logrotate lsb-base lsb-release lsof m4 man-db 手册页 mariadb-client mariadb-server mawk mime-support mlocate mount mtr-tiny multiarch-support mysql-client mysql-common nano ncal ncpa ncurses-base ncurses-bin ncurses-term net-tools netbase netcat -传统 nfacct nfs-common ntp ntpdate openssh-client openssh-server openssh-sftp-server openssl p7zip-full passwd patch perl perl-base php-xml php5 php5-gd php5-mysql postfix postfix-sqlite procmail procps python2.7 python3-debian python3-httplib2 readline-common reportbug rpcbind rsync rsyslog screen sed sensible-utils snapd startpar sudo sysstat systemd systemd-sysv sysv-rc sysvinit-utils tar 任务-英语任务-ssh-服务器 任务el 任务el-数据 texinfo 时间 tnftp 跟踪路由tzdata ucf udev ufw 解压缩 util-linux vim vim-common virtualenv w3m wamerican wget Whiptail whois xz-utils zip zlib1g
如果我将一个软件包(或在我的情况下有大量软件包)标记为手动安装,将来是否会出现任何潜在问题?
我应该将它们标记为自动安装(并稍后尝试使用自动删除来删除它们)吗?
实际上它是一个 Debian 12 Bookworm
软件包被标记为手动安装的唯一后果是它不会被
apt autoremove
. 标记为手动安装的软件包集应反映服务器上所需的软件包;例如,如果您需要 Apache Web 服务器,则应apache2
标记为手动安装。您可以通过运行自动减少标记为手动安装的软件包集
(作为根)。
另请参阅为什么我的许多软件包被标记为手动安装