要新安装的软件包与应自动删除的软件包相同!

要新安装的软件包与应自动删除的软件包相同!

在转向基于 Debian 的发行版后,我注意到一件非常奇怪的事情。

root@Am-I-Helpful:~# uname -a
Linux Am-I-Helpful 4.3.0-kali1-amd64 #1 SMP Debian 4.3.3-5kali4
(2016-01-13) x86_64 GNU/Linux

的输出apt-get update && apt-get dist-upgrade是:

root@Am-I-Helpful:~# apt-get update && apt-get dist-upgrade
Hit:1 http://heanet.dl.sourceforge.net/project/ubuntuzilla/mozilla/apt all InRelease
Hit:2 http://kali.mirror.garr.it/mirrors/kali sana InRelease                   
Hit:3 http://kali.mirror.garr.it/mirrors/kali-security sana/updates InRelease
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  libavcodec56 libavformat56 libavresample2 libavutil54 libdvbpsi9
  libfreerdp-rail1.1 libpostproc52 libswscale3 libvncclient0 libvpx1
  libx264-142
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  libavcodec56 libavformat56 libavresample2 libavutil54 libdvbpsi9
  libfreerdp-rail1.1 libpostproc52 libswscale3 libvncclient0 libvpx1
  libx264-142
The following packages have been kept back:
  libarchive13 vlc vlc-nox vlc-plugin-notify vlc-plugin-samba
0 upgraded, 11 newly installed, 0 to remove and 5 not upgraded.
Need to get 0 B/5,605 kB of archives.
After this operation, 14.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

令人惊讶的是:

它说

The following packages were automatically installed and are no longer required:
  libavcodec56 libavformat56 libavresample2 libavutil54 libdvbpsi9
  libfreerdp-rail1.1 libpostproc52 libswscale3 libvncclient0 libvpx1
  libx264-142
Use 'apt autoremove' to remove them.

在另一端,在下一行还指出

The following NEW packages will be installed:
  libavcodec56 libavformat56 libavresample2 libavutil54 libdvbpsi9
  libfreerdp-rail1.1 libpostproc52 libswscale3 libvncclient0 libvpx1
  libx264-142

这些是要求删除的相同软件包列表!我不明白它是如何出现的。

我的内容/etc/apt/sources.list是:

# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free  
#deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 20160120-18:14]/ kali-rolling contrib main non-free  
#deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main  
#deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security/ sana/updates main contrib non-free
deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main

有人可以澄清一下这里发生了什么吗?如何解决这个扑朔迷离的案件?

答案1

没有任何歧义。

Apt 警告您可以删除这些软件包如果你想。如果您使用apt autoremove,它们将被删除。

另一方面,除非您不删除它们,否则它们会定期更新。

相关内容