Debian Bug report logs - #544521
dctrl-tools: nice example - and hint for subqueries :)

Package: dctrl-tools; Maintainer for dctrl-tools is Rhonda D'Vine <[email protected]>; Source for dctrl-tools is src:dctrl-tools (PTS, buildd, popcon).

Reported by: Gerfried Fuchs <[email protected]>

Date: Tue, 1 Sep 2009 08:18:02 UTC

Severity: wishlist

Reply or subscribe to this bug.

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


Report forwarded to [email protected], dctrl-tools developers <[email protected]>:
Bug#544521; Package dctrl-tools. (Tue, 01 Sep 2009 08:18:06 GMT) (full text, mbox, link).


Acknowledgement sent to Gerfried Fuchs <[email protected]>:
New Bug report received and forwarded. Copy sent to dctrl-tools developers <[email protected]>. (Tue, 01 Sep 2009 08:18:06 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Gerfried Fuchs <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: dctrl-tools: nice example - and hint for subqueries :)
Date: Tue, 1 Sep 2009 10:11:59 +0200
Package: dctrl-tools
Severity: wishlist


	Hi!

 Like mentioned on IRC, here is an example I came up with today through
kardan asking along the lines, though it's extremely slow because of
multiple queries. The snippet installs all available -dbg packages for
already installed packages:

#v+
$> sudo sync-available  # to have current data
$> grep-status -FStatus ' ok inst' -sPackage -n | \
   xargs -i grep-available -P -X {}-dbg -sPackage -n | \
   xargs sudo aptitude install
#v-

 Not completely sure how to optimize it, I think it might not be really
possible currently - and thus it runs for about 2 minutes before
aptitude picks up the results, on some recent systems.

 So long!
Rhonda




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Thu May 15 13:23:21 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.