Daniel Roberts composed on 2024-10-24 13:19 (UTC-0400):

> I've run into this a few times over the years and it can be a headache to
> resolve.

> Passing a package name to "apt-get update" results in the response "E: The
> update command takes no arguments". However, passing a package name to
> "apt-get upgrade" results in the argument being ignored and all packages
> upgraded.

> Is there some reason that this is the case? Is it a bug that has
> always existed and never fixed?

It's not like dnf or zypper or urpmi. If you wish to upgrade a package, you
apt-get install it, to replace the existing version with the current version.
Upgrading is a distro process, not a package process, as is updating. Updating 
is
for the mirror information that upgrade and install processes need, not already
installed packages.
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to