20

I saw this snippet in some installation instructions:

$ apt-get install update

I know what apt-get install XXXX does and I know what apt-get update does, but I can't find any info on what this combined statement does. What does it do?

0
41

There is no command like this:

$ apt-get install update
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package update

Any arguments given after install will be taken by apt-get as a package name. But since there is no package update, it will fail.

0
37

It attempts to install the package named "update".

0
5

As far as I know there in no package called update which the command apt-get install update should install.

May be they meant apt-get update which updates the apt cache.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.