수동 설치로 표시된 패키지가 많이 있습니다. 이렇게 하면 어떤 손해가 있나요?

수동 설치로 표시된 패키지가 많이 있습니다. 이렇게 하면 어떤 손해가 있나요?

내가 물려받은 이전 서버 중 하나에서 다음을 실행했습니다.

 apt-mark showmanual

거의 100개 항목의 목록을 얻었습니다.

adduser apache2 apt apt-listchanges apt-utils aptitude aptitude-common at base-files base-passwd bash bash-completion bc 바인딩9-dnsutils 바인드9-host bsd-mailx bsdextrautils bsdutils busybox bzip2 coreutils cpio cpp croncurl dash dbus dc debconf debconf-i18n debian -archive-keyring debian-faq debianutils diffutils find 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 설치 정보 설치 보고서 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 libgmp 10 libgnutls-deb0 - 28 libgnutls-openssl27 libgpg-error0 libhogweed2 libicu52 libidn11 libirs-export91 libisc-export95 libisccfg-export90 libjson-c2 libkmod2 liblocale-gettext-perl liblockfile-bin liblogging-stdlog0 liblognorm1 liblzma5 libmnl 0 libmount1 libncurses5 libncursesw5 -ac ct1 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 libssl 1.0.0 libstdc++6 libswitch-perl libsystemd0 libtasn 1- 6 libtext-charwidth-perl libtext-iconv-perl libtext-wrapi18n-perl libtinfo5 libudev1 liburi-perl libusb-0.1-4 libusr-1.0-1 libuuid1 libxtables10 로케일 로그인 logrotate lsb-base lsb-release lsof m4 man-db 매뉴얼 페이지 mariadb -클라이언트 mariadb-서버 mawk mime-support mlocate 마운트 mtr-tiny multiarch-support mysql-client mysql-common nano ncal ncpa ncurses-base ncurses-bin ncurses-term net-tools netbase netcat-traditional nfacct nfs-common ntp ntpdate openssh- 클라이언트 openssh-server openssh-sftp-server openssl p7zip-full passwd 패치 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 화면 sed sensible-utils snapd startpar sudo sysstat systemd systemd-sysv sysv-rc sysvinit-utils tar 작업 영어 작업 ssh 서버 작업 el 데이터 texinfo 시간 tnftp 추적 경로 tzdata ucf udev ufw unpack util-linux vim vim- common virtualenv w3m wamerican wget wigtail whois xz-utils zip zlib1g

수동 설치를 위해 패키지(또는 제 경우에는 다수의 패키지)를 표시하면 나중에 잠재적인 문제가 발생합니까?

자동 설치로 표시해야 합니까(그리고 나중에 자동 제거를 사용하여 제거해야 합니까)?

실제로는 Debian 12 Bookworm입니다.

답변1

수동 설치로 표시된 패키지의 유일한 결과는 수동으로 설치되지 않는다는 것입니다 apt autoremove. 수동 설치로 표시된 패키지 세트는 서버에 필요한 패키지를 반영해야 합니다. 예를 들어 Apache 웹 서버가 필요한 경우; apache2수동 설치로 표시 됩니다 .

다음을 실행하여 수동 설치로 표시된 패키지 세트를 자동으로 줄일 수 있습니다.

apt-mark minimize-manual

(루트로).

당신은 또한 볼 수 있습니다왜 그렇게 많은 패키지가 수동 설치로 표시되어 있나요?

관련 정보