[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#145549: marked as done (Command to upgrade a specified package if installed, otherwise do nothing)



Your message dated Thu, 13 Aug 2015 22:23:46 +0200
with message-id <20150813222041.GA1654@debian.org>
and subject line Re: Bug#74067: apt: apt-get: Seconding this wishlist bug
has caused the Debian Bug report #74067,
regarding Command to upgrade a specified package if installed, otherwise do nothing
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
74067: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=74067
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: apt
Version: 0.5.4
Severity: wishlist


I would find it quite useful to have a command (foo, say) so that
if I have package1 and package3 installed, and I do:

  apt-get foo package1 package2 package3

then only package1 and package3 get installed [plus any new dependencies],
but nothing happens to package2.  The reason is that I maintain
several machines with different packages installed, and I like to try
to keep them in sync, without adding additional packages to some of them.
I also like to do my upgrades in small chunks, so I often specify the
packages on the command line.  The above would allow me to use the
same command line on several machines.

"foo" could be "upgrade", and then this would be a natural extension
of the upgrade command.  But "foo" could also be "upgrade-if-installed"
or something else.

Dan

-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux itchy 2.4.19-pre7 #1 Tue Apr 23 01:23:57 EDT 2002 i686
Locale: LANG=C, LC_CTYPE=C

Versions of packages apt depends on:
ii  libc6                         2.2.5-4    GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2        1:2.95.4-7 The GNU stdc++ library



--- End Message ---
--- Begin Message ---
Version: 0.8.0

On Sat, Oct 29, 2005 at 11:21:37AM -0400, Benjamin Mesing wrote:
> Package: apt
> Version: 0.6.41
> Followup-For: Bug #74067
> 
> 
> I just wanted to second this wishlist bug. Being able to update
> installed packages only, is definetely something worth having
> (e.g. for scripted installation of security updates).
> So basically its the opposite of the --no-upgrade option

We reserved this form for another feature (marking packages to
keep/install), but you can use 
apt install --only-upgrade 
-- 
Julian Andres Klode  - Debian Developer, Ubuntu Member

See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.

Be friendly, do not top-post, and follow RFC 1855 "Netiquette".
    - If you don't I might ignore you.

--- End Message ---

Reply to: