如何获取“apt Upgrade”的手册页?

如何获取“apt Upgrade”的手册页?

获取手册页易于很简单:man apt

问题是,易于有几个“子命令”(例如updateinstallremove),所有命令都有自己的参数和设置。这些参数和选项未在中列出易于的手册页。

如何获取类似命令的更多详细信息apt upgrade

答案1

您应该运行以下命令:

man apt-get

例如:

upgrade
       upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list.
       Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or
       packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install
       status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages
       are available.

相关内容