Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #274000

Re: Why does "apt-get upgrade {package}" upgrade all packages instead of error?

From Frank Weißer <linux@weisser-ol.de>
Newsgroups linux.debian.user
Subject Re: Why does "apt-get upgrade {package}" upgrade all packages instead of error?
Date 2024-10-24 20:00 +0200
Message-ID <JBahP-3WXj-5@gated-at.bofh.it> (permalink)
References <JB9Yt-3WQW-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Why does "apt-get upgrade {package}" upgrade all packages instead of error? Daniel Roberts <danielmroberts@gmail.com> - 2024-10-24 19:40 +0200
  Re: Why does "apt-get upgrade {package}" upgrade all packages instead  of error? Frank Weißer <linux@weisser-ol.de> - 2024-10-24 20:00 +0200
    Re: Why does "apt-get upgrade {package}" upgrade all packages instead  of error? Aldo Maggi <sentiniate@virgilio.it> - 2024-10-24 20:40 +0200
  Re: Why does "apt-get upgrade {package}" upgrade all packages instead  of error? Felix Miata <mrmazda@stanis.net> - 2024-10-24 20:50 +0200
  Re: Why does "apt-get upgrade {package}" upgrade all packages  instead of error? David Wright <deblis@lionunicorn.co.uk> - 2024-10-25 01:30 +0200

csiph-web