Debian

apt-get upgrade 是否有任何理由安裝新軟體包?

  • April 10, 2018

我最近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 module執行的,因此確切的咒語尚不清楚,但我不希望這會發生

似乎升級到openjdk-8-jre軟體包可能是罪魁禍首 - 它似乎取決於 libgtk-3-0,然後取決於所有其他人。

我猜有人添加了依賴項,感謝 Java。

引用自:https://serverfault.com/questions/906980