‘apt-get install update’有什么作用?
我在一些安装说明中看到了这个片段:
$ apt-get install update
我知道什么是apt-get install XXXX
,我知道apt-get update
做了什么,但我找不到任何关于这个组合语句的信息。 它有什么作用?
没有这样的命令:
$ apt-get install update Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package update
install
后给出的任何参数都将由apt-get
作为包名称。 但由于没有软件包update
,它将失败。
它尝试安装名为“update”的包。
据我所知,在没有名为apt-get install update
命令的应用程序包中应该安装。
可能是他们意味着更新apt缓存的apt-get update
。