Answers:
apt full-upgrade
执行与相同的功能apt-get dist-upgrade
。
男人
full-upgrade (apt-get(8))
full-upgrade performs the function of upgrade but will remove currently installed packages if this is needed to upgrade the system as a whole.
适者
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.
apt dist-upgrade
(我刚刚尝试过),也可以做apt full-upgrade
,您在说他们做同样的事情。
apt
的apt-get
命令。sources.debian.org/src/apt/1.6.1/cmdline/apt.cc/?hl=74#L74(虽然实际回购的宏似乎从存储库中丢失了)。
apt
不是apt-get
。将help.ubuntu.com/16.04/serverguide/package-management.html与help.ubuntu.com/14.04/serverguide/package-management.html进行比较。