Debian Bug report logs - #506663
[debi] option to only upgrade already-installed packages

version graph

Package: devscripts; Maintainer for devscripts is Devscripts Devel Team <devscripts-devel@lists.alioth.debian.org>; Source for devscripts is src:devscripts (PTS, buildd, popcon).

Reported by: Colin Watson <cjwatson@debian.org>

Date: Sun, 23 Nov 2008 14:24:01 UTC

Severity: wishlist

Tags: patch

Found in version devscripts/2.10.41

Fixed in version devscripts/2.10.42

Done: adam@adam-barratt.org.uk (Adam D. Barratt)

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Devscripts Devel Team <pkg-devscripts@teams.debian.net>:
Bug#506663; Package devscripts. (Sun, 23 Nov 2008 14:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@debian.org>:
New Bug report received and forwarded. Copy sent to Devscripts Devel Team <pkg-devscripts@teams.debian.net>. (Sun, 23 Nov 2008 14:24:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@debian.org>
To: submit@bugs.debian.org
Subject: [debi] option to only upgrade already-installed packages
Date: Sun, 23 Nov 2008 14:22:29 +0000
[Message part 1 (text/plain, inline)]
Package: devscripts
Version: 2.10.41
Severity: wishlist
Tags: patch

For complex multi-binary packages, I don't always want to install all
the binaries when testing my latest build. For example, ssh-krb5 is a
transitional package that rarely changes and that I don't need to have
installed myself, but I want to test the rest of openssh. Until now I've
just used 'dpkg -l' to remind myself of which binaries I have installed
and then used 'sudo dpkg -i' to install them by hand, but it would be
nice if debi could work that out for me.

The attached patch adds a new option, --upgrade, that uses dpkg-query to
figure out which packages are half-installed or better, and installs
only those.

Thanks,

-- 
Colin Watson                                       [cjwatson@debian.org]
[debi.upgrade.diff (text/x-diff, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Devscripts Devel Team <pkg-devscripts@teams.debian.net>:
Bug#506663; Package devscripts. (Mon, 24 Nov 2008 19:54:06 GMT) (full text, mbox, link).


Acknowledgement sent to "Adam D. Barratt" <adam@adam-barratt.org.uk>:
Extra info received and forwarded to list. Copy sent to Devscripts Devel Team <pkg-devscripts@teams.debian.net>. (Mon, 24 Nov 2008 19:54:06 GMT) (full text, mbox, link).


Message #10 received at 506663@bugs.debian.org (full text, mbox, reply):

From: "Adam D. Barratt" <adam@adam-barratt.org.uk>
To: Colin Watson <cjwatson@debian.org>, 506663@bugs.debian.org
Subject: Re: Bug#506663: [debi] option to only upgrade already-installed packages
Date: Mon, 24 Nov 2008 19:52:34 +0000
On Sun, 2008-11-23 at 14:22 +0000, Colin Watson wrote:
> The attached patch adds a new option, --upgrade, that uses dpkg-query to
> figure out which packages are half-installed or better, and installs
> only those.

Thanks; I've committed the patch to svn.

Regards,

Adam




Tags added: pending Request was from Adam D. Barratt <adam@adam-barratt.org.uk> to control@bugs.debian.org. (Mon, 24 Nov 2008 20:00:02 GMT) (full text, mbox, link).


Reply sent to adam@adam-barratt.org.uk (Adam D. Barratt):
You have taken responsibility. (Sun, 07 Dec 2008 17:48:08 GMT) (full text, mbox, link).


Notification sent to Colin Watson <cjwatson@debian.org>:
Bug acknowledged by developer. (Sun, 07 Dec 2008 17:48:08 GMT) (full text, mbox, link).


Message #17 received at 506663-close@bugs.debian.org (full text, mbox, reply):

From: adam@adam-barratt.org.uk (Adam D. Barratt)
To: 506663-close@bugs.debian.org
Subject: Bug#506663: fixed in devscripts 2.10.42
Date: Sun, 07 Dec 2008 17:17:03 +0000
Source: devscripts
Source-Version: 2.10.42

We believe that the bug you reported is fixed in the latest version of
devscripts, which is due to be installed in the Debian FTP archive:

devscripts_2.10.42.dsc
  to pool/main/d/devscripts/devscripts_2.10.42.dsc
devscripts_2.10.42.tar.gz
  to pool/main/d/devscripts/devscripts_2.10.42.tar.gz
devscripts_2.10.42_amd64.deb
  to pool/main/d/devscripts/devscripts_2.10.42_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 506663@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adam D. Barratt <adam@adam-barratt.org.uk> (supplier of updated devscripts package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 07 Dec 2008 17:04:52 +0000
Source: devscripts
Binary: devscripts
Architecture: source amd64
Version: 2.10.42
Distribution: unstable
Urgency: low
Maintainer: Devscripts Devel Team <pkg-devscripts@teams.debian.net>
Changed-By: Adam D. Barratt <adam@adam-barratt.org.uk>
Description: 
 devscripts - scripts to make the life of a Debian Package maintainer easier
Closes: 506663 506975 507479 507482 507672
Changes: 
 devscripts (2.10.42) unstable; urgency=low
 .
   [ Adam D. Barratt ]
   * checkbashisms: Fix a variable redeclaration warning. Thanks,
     Neutron Soutmun. (Closes: #506975)
   * cvs-deb{i,release}: Use mktemp rather than a temporary directory
     name based on the process ID.
   * debi: Add an "upgrade" option indicating that only those packages
     already installed on the system should be installed, rather than
     all packages listed in the .changes file. Thanks, Colin Watson.
     (Closes: #506663)
   * debsign:
     + Use mktemp rather than a temporary directory name based on the
       process ID. (Closes: #507482)
     + Use temporary files rather than redirecting gpg's stdin and stdout,
       enabling the use of pinentry-gtk2. (Closes: #507479)
   * uscan:
     + Remove the downloads.sourceforge.net example from the manpage.
       It no longer works due to changes in the website structure. Thanks,
       Alexander Block.
     + Be more intelligent with redirects and relative filenames. This should
       help in situations where the watchfile contains http://example.com/foo
       which is a redirect to http://example.com/foo/, with the latter
       containing relative filenames.
   * uupdate: Use mktemp rather than a temporary directory name based on
     the process ID.
 .
   [ Christoph Berg ]
   * rmadison: Add debug.debian.net.
 .
   [ Patrick Schoenfeld ]
   * dget: Fix misspelt wget option (should be --no-cache instead of
     --no-chache) (Closes: #507672)
 .
   [ James Vega ]
   * debcheckout: Use B<> and I<> to denote the different options sections
     instead of =head2/=head3 since the latter cause pod2usage not to display
     any options when running debcheckout -h.
Checksums-Sha1: 
 25ec7cac0acbcadd1b170d4f5b0fcbf75828b0f4 1363 devscripts_2.10.42.dsc
 717d224d1dfd9842c71882ab1c1cc32eff731d2f 632907 devscripts_2.10.42.tar.gz
 6f3c4ec0eca01a1efd6058d6a0b6b42cfad0009a 543678 devscripts_2.10.42_amd64.deb
Checksums-Sha256: 
 2ffd539581731f9149adb38f2d16ae5eb229fac1c728f24d2dbef9c787ac94d0 1363 devscripts_2.10.42.dsc
 9ebc6e8d7fd54ba37687bf872c2c96106777c83cae36e2ac1075c7b3a97170bc 632907 devscripts_2.10.42.tar.gz
 c0e67ac6e484e37dd0d9f08fb86c93187c75a72081300c44a78ff4b11c12d341 543678 devscripts_2.10.42_amd64.deb
Files: 
 3192966ebb8a80c504f7115b25660d3b 1363 devel optional devscripts_2.10.42.dsc
 093293e7398e0b99fd2ef7f439f9c82a 632907 devel optional devscripts_2.10.42.tar.gz
 8719a7c3018020a202ce265ca580110c 543678 devel optional devscripts_2.10.42_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkk8A2oACgkQokcE1TReOoU09ACfXg2xSN9mMntYoc3OEJt1/iEV
b6EAn2k7NC/LXfdGsnplhRsnwQmIcvGu
=U9pc
-----END PGP SIGNATURE-----





Information forwarded to debian-bugs-dist@lists.debian.org, Devscripts Devel Team <pkg-devscripts@teams.debian.net>:
Bug#506663; Package devscripts. (Tue, 09 Dec 2008 02:12:04 GMT) (full text, mbox, link).


Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Devscripts Devel Team <pkg-devscripts@teams.debian.net>. (Tue, 09 Dec 2008 02:12:04 GMT) (full text, mbox, link).


Message #22 received at 506663@bugs.debian.org (full text, mbox, reply):

From: Guillem Jover <guillem@debian.org>
To: Colin Watson <cjwatson@debian.org>, 506663@bugs.debian.org
Subject: Re: Bug#506663: [debi] option to only upgrade already-installed packages
Date: Tue, 9 Dec 2008 04:02:29 +0200
Hi,

On Sun, 2008-11-23 at 14:22:29 +0000, Colin Watson wrote:
> Package: devscripts
> Version: 2.10.41
> Severity: wishlist
> Tags: patch

> For complex multi-binary packages, I don't always want to install all
> the binaries when testing my latest build. For example, ssh-krb5 is a
> transitional package that rarely changes and that I don't need to have
> installed myself, but I want to test the rest of openssh. Until now I've
> just used 'dpkg -l' to remind myself of which binaries I have installed
> and then used 'sudo dpkg -i' to install them by hand, but it would be
> nice if debi could work that out for me.

You could use 'dpkg -iO' in that case.

> The attached patch adds a new option, --upgrade, that uses dpkg-query to
> figure out which packages are half-installed or better, and installs
> only those.

I guess the patch could also be greatly simplified that way.

regards,
guillem




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 06 Jan 2009 07:34:06 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Jan 11 02:08:00 2018; Machine Name: beach

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.