Actually the english version of "man apt-get" in the case of "upgrade"
writes the following:
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.
***** When a package is supplied as an argument, the package
will be installed prior to the upgrade action. ****
Aldo
On 10/24/24 19:46, Frank Weißer wrote:
Hello Daniel,
# man apt-get
(german translation) doesn't tell anything else. apt-get upgrade
upgrades ALL installed packages.
Kind regards
Frank
Daniel Roberts:
Hello,
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?
Dan