我有一台运行 Debian 6.0.10 的非常老旧的服务器,我正在逐步将新服务器上的内容迁移到 Debian 10。虽然我很清楚可能存在漏洞,但并没有出现任何实际问题。
因此,作为临时的安全措施,我想我会安装联邦快递工作进展缓慢。但是,它似乎aptitude install ufw
想删除一堆服务器上现有网站可能需要的软件包。
我能够访问所有网站,并且维护一些网站,但我不确定是否有网站实际使用这些软件包,而且我不知道如何轻松找到它们。一个网站上有许多 cpan 安装的软件包。以下是读数:
aptitude install ufw
The following NEW packages will be installed:
ufw
The following packages will be REMOVED:
db4.6-util{u} gnuit{u} libbind9-50{u} libcompress-raw-zlib-perl{u} libdb4.5{u} libdns58{u} libfftw3-3{u} libfile-remove-perl{u} libfreetype6{u} libio-compress-base-perl{u}
libio-compress-zlib-perl{u} libisc50{u} libisccc50{u} libisccfg50{u} libjpeg62{u} libltdl3{u} libltdl3-dev{u} liblwres50{u} libmail-box-perl{u} libmime-types-perl{u} libmpfr1ldbl{u}
libnet-daemon-perl{u} libnet-xwhois-perl{u} libobject-realize-later-perl{u} libplrpc-perl{u} libsuitesparse-3.1.0{u} libuser-identity-perl{u} libyaml-0-1{u} menu{u}
openssl-blacklist{u} python-beaker{u} python-imaging{u} rcs{u} x11-common{u}
服务器上的两个站点使用 Perl 来实现一些重要的功能,因此我对安装持谨慎态度,因为有几个软件包看起来与 perl 类似。
有人能解释一下这个包裹的删除吗?
更新:
apt-get
做得很好,没有问题,虽然它是一个旧版本,我安装时没有验证。ufw
在迁移到 Debian 10 的漫长过程中,将设置得更加安心。
# apt-get install ufw
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
ufw
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 116 kB of archives.
After this operation, 672 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
ufw
Install these packages without verification [y/N]? y
Get:1 http://archive.debian.org/debian/ squeeze/main ufw all 0.29.3-1 [116 kB]
Fetched 116 kB in 0s (639 kB/s)
Preconfiguring packages ...
Selecting previously deselected package ufw.
(Reading database ... 78434 files and directories currently installed.)
Unpacking ufw (from .../archives/ufw_0.29.3-1_all.deb) ...
Processing triggers for man-db ...
Setting up ufw (0.29.3-1) ...
Creating config file /etc/ufw/before.rules with new version
Creating config file /etc/ufw/before6.rules with new version
Creating config file /etc/ufw/after.rules with new version
Creating config file /etc/ufw/after6.rules with new version
Processing triggers for python-central ...
# ufw status
Status: inactive