我对 Linux 很陌生。我正在尝试了解 APT,并希望清楚地了解此命令的输出。我能从中得到什么信息?
apt-get update
:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:4 http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu xenial InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Fetched 306 kB in 0s (377 kB/s)
Reading package lists... Done
Run Code Online (Sandbox Code Playgroud)
什么是点击,什么是获取?谢谢。
如果您确实想知道,可以下载源代码的副本:
git clone git://anonscm.debian.org/apt/apt.git
Run Code Online (Sandbox Code Playgroud)
但我对状态词的理解是:
Hit:
将元数据与远程站点进行比较。
Get:
从远程站点获取新的改进版本。
Ign:
发生非严重错误。
Err:
发生严重错误。
归档时间: |
|
查看次数: |
8459 次 |
最近记录: |