目前,我正在运行kali linux 2017.2
是否可以升级kali linux 2017.2
到2018.2
?,
apt-get dist-upgrade
但没有任何效果。
谢谢!
答案1
唯一apt-get dist-upgrade
不同的是当有新的依赖项可能会删除现有的包时:
dist-upgrade
dist-upgrade in addition to performing the function of upgrade,
also intelligently handles changing dependencies with new versions
of packages; apt-get has a "smart" conflict resolution system, and
it will attempt to upgrade the most important packages at the
expense of less important ones if necessary. So, dist-upgrade
command may remove some packages. The /etc/apt/sources.list file
contains a list of locations from which to retrieve desired package
files. See also apt_preferences(5) for a mechanism for overriding
the general settings for individual packages.
这通常发生在你更改sources.list
或使用已移至新主版本的存储库时,例如 Debianstable
与使用相比Stretch
。
官方文章Kali sources.list 存储库有更多有关您案例的信息。
Kali 滚动存储库
自 Kali 2016.1 发布以来,kali-rolling 一直是我们当前活跃的存储库。Kali Rolling 用户应在其存储库中包含以下条目
sources.list
:
deb http://http.kali.org/kali kali-rolling main contrib non-free
当您开始使用 Kali 2017.2 时,如果您进行在线更新,则使用apt-get update
并apt-get upgrade
已升级所有软件包,就像使用 Kali 2018.2 一样。它更像是将当前软件包版本捆绑为安装媒介的起点。