我想了解有关此命令的更多信息:
sudo apt-get dist-upgrade
答案1
看man apt-get
:
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. The
dist-upgrade command may therefore 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.
答案2
要了解命令,请使用该man
命令阅读其手册页(简称“manpage”)。
例如,要了解apt-get
,请键入以下命令:
man 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. The dist-upgrade
command may therefore 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.
要再次退出手册查看器,只需按Q。
这sudo
是必需的,因为该命令需要 root 权限才能执行必要的系统范围操作。