这是indexloc提供的服务,不要输入任何密码

Debian Bug report logs - #248596
dpkg-query: Sort -S output

version graph

Package: dpkg; Maintainer for dpkg is Dpkg Developers <debian-dpkg@lists.debian.org>; Source for dpkg is src:dpkg (PTS, buildd, popcon).

Reported by: Victor Porton <porton@ex-code.com>

Date: Wed, 12 May 2004 09:48:01 UTC

Severity: wishlist

Found in version 1.10.10

Reply or subscribe to this bug.

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


Report forwarded to debian-bugs-dist@lists.debian.org, Dpkg Development <debian-dpkg@lists.debian.org>:
Bug#248596; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Victor Porton <porton@ex-code.com>:
New Bug report received and forwarded. Copy sent to Dpkg Development <debian-dpkg@lists.debian.org>. (full text, mbox, link).


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

From: Victor Porton <porton@ex-code.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: Disorderly output of dpkg -S
Date: Wed, 12 May 2004 15:29:52 +0600 (YEKST)
Package: dpkg
Version: 1.10.10
Severity: minor

dpkg -S produces otput with different packages mixed (in the example is out
firstly an entry for gettext then for po-debconf and then again for
gettext).

$ dpkg -S gettextize
gettext: /usr/share/man/man1/gettextize.1.gz
po-debconf: /usr/share/man/man1/debconf-gettextize.1.gz
gettext: /usr/bin/gettextize
libglib2.0-dev: /usr/bin/glib-gettextize
po-debconf: /usr/share/man/fr/man1/debconf-gettextize.1.gz
po-debconf: /usr/bin/debconf-gettextize

It should be out in order (prefereably sorted by apckage name) at least on
a cmd line option.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i586)
Kernel: Linux 2.4.17
Locale: LANG=C, LC_CTYPE=ru_RU.KOI8-R

Versions of packages dpkg depends on:
ii  dselect                     1.10.4       a user tool to manage Debian
packa
ii  libc6                       2.3.2.ds1-11 GNU C Library: Shared
libraries an

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Development <debian-dpkg@lists.debian.org>:
Bug#248596; Package dpkg. (full text, mbox, link).


Acknowledgement sent to Tollef Fog Heen <tfheen@raw.no>:
Extra info received and forwarded to list. Copy sent to Dpkg Development <debian-dpkg@lists.debian.org>. (full text, mbox, link).


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

From: Tollef Fog Heen <tfheen@raw.no>
To: Victor Porton <porton@ex-code.com>, 248596@bugs.debian.org
Subject: Re: Bug#248596: Disorderly output of dpkg -S
Date: Thu, 13 May 2004 07:44:41 +0200
severity 248596 wishlist
thanks

Victor Porton wrote:

> $ dpkg -S gettextize
> gettext: /usr/share/man/man1/gettextize.1.gz
> po-debconf: /usr/share/man/man1/debconf-gettextize.1.gz
> gettext: /usr/bin/gettextize
> libglib2.0-dev: /usr/bin/glib-gettextize
> po-debconf: /usr/share/man/fr/man1/debconf-gettextize.1.gz
> po-debconf: /usr/bin/debconf-gettextize
> 
> It should be out in order (prefereably sorted by apckage name) at least on
> a cmd line option.

Just pipe the output to sort(1) if you need it sorted (for now).

I'm degrading this to wishlist but keeping it open for reference.

- tfheen



Severity set to `wishlist'. Request was from Tollef Fog Heen <tfheen@raw.no> to control@bugs.debian.org. (full text, mbox, link).


Changed Bug title to 'dpkg: Disorderly output of -S' from 'Disorderly output of dpkg -S' Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sun, 29 Mar 2015 00:03:09 GMT) (full text, mbox, link).


Changed Bug title to 'dpkg-query: Disorderly output of -S' from 'dpkg: Disorderly output of -S'. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Sat, 02 Mar 2019 20:06:02 GMT) (full text, mbox, link).


Changed Bug title to 'dpkg-query: Sort -S output' from 'dpkg-query: Disorderly output of -S'. Request was from Guillem Jover <guillem@debian.org> to control@bugs.debian.org. (Mon, 04 Mar 2019 21:45:11 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: Sun Jul 27 18:53:45 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.