我最近apt-get update
在服务器上运行,输出显示它正在安装一堆新软件包。这可能是什么原因?我应该担心吗?
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Reading task descriptions...
Building tag database...
Resolving dependencies...
The following NEW packages will be installed:
adwaita-icon-theme{a} at-spi2-core{a} colord{a} colord-data{a}
gconf-gsettings-backend{a} glib-networking{a} glib-networking-common{a}
glib-networking-services{a} gsettings-desktop-schemas{a}
libatk-bridge2.0-0{a} libatspi2.0-0{a} libcairo-gobject2{a} libcolord2{a}
libcolorhug2{a} libcroco3{a} libexif12{a} libfile-copy-recursive-perl{a}
libgphoto2-6{a} libgphoto2-l10n{a} libgphoto2-port10{a} libgtk-3-0{a}
libgtk-3-bin{a} libgtk-3-common{a} libgudev-1.0-0{a} libgusb2{a}
libieee1284-3{a} libjson-glib-1.0-0{a} libjson-glib-1.0-common{a}
libpam-systemd{a} libpolkit-agent-1-0{a} libpolkit-backend-1-0{a}
libpolkit-gobject-1-0{a} libproxy1{a} librest-0.7-0{a} librsvg2-2{a}
librsvg2-common{a} libsane{a} libsane-common{a} libsane-extras{a}
libsane-extras-common{a} libsoup-gnome2.4-1{a} libsoup2.4-1{a}
libv4l-0{a} libv4lconvert0{a} libwayland-client0{a} libwayland-cursor0{a}
libxkbcommon0{a} policykit-1{a} sane-utils{a} update-inetd{a}
The following packages will be upgraded:
curl libcurl3 libcurl3-gnutls libicu52 libvorbis0a libvorbisenc2
libvorbisfile3 openjdk-8-jre openjdk-8-jre-headless openssl tzdata
11 packages upgraded, 50 newly installed, 0 to remove and 0 not upgraded.
...
该命令是使用 ansible 运行的模块,所以确切的咒语尚不清楚,但我不希望这种情况发生
答案1
似乎软件包升级openjdk-8-jre
可能是罪魁祸首——它似乎依赖于 libgtk-3-0,而这又取决于所有其他的。
我猜有人添加了依赖项,感谢 Java。