Debian Bug report logs - #248561
aptitude: display origin (%O) in format strings

version graph

Package: aptitude; Maintainer for aptitude is Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>; Source for aptitude is src:aptitude.

Reported by: hungerburg <dub@lazy.shacknet.nu>

Date: Wed, 12 May 2004 01:18:01 UTC

Severity: wishlist

Found in versions 0.2.14.1-2, 0.2.15.2-1

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Daniel Burrows <dburrows@debian.org>:
Bug#248561; Package aptitude. Full text and rfc822 format available.

Acknowledgement sent to hungerburg <dub@lazy.shacknet.nu>:
New Bug report received and forwarded. Copy sent to Daniel Burrows <dburrows@debian.org>. Full text and rfc822 format available.

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

From: hungerburg <dub@lazy.shacknet.nu>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: aptitude: does not show repository used
Date: Wed, 12 May 2004 03:14:05 +0200
Package: aptitude
Version: 0.2.14.1-2
Severity: wishlist


It was great, if the package detail view would display, where from a
package will be downloaded - like the entry in apt-sources that got it
on the list.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.6
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-5-3 0.5.24       Advanced front-end for dpkg
ii  libc6                       2.3.2.ds1-12 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.3-7    GCC support library
ii  libncurses5                 5.4-3        Shared libraries for terminal hand
ii  libsigc++-1.2-5c102         1.2.5-1      Type-safe Signal Framework for C++
ii  libstdc++5                  1:3.3.3-7    The GNU Standard C++ Library v3

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org:
Bug#248561; Package aptitude. Full text and rfc822 format available.

Acknowledgement sent to Daniel Burrows <dburrows@debian.org>:
Extra info received and forwarded to list. Full text and rfc822 format available.

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

From: Daniel Burrows <dburrows@debian.org>
To: hungerburg <dub@lazy.shacknet.nu>, 248561@bugs.debian.org
Subject: Re: Bug#248561: aptitude: does not show repository used
Date: Wed, 12 May 2004 11:41:25 -0400
  If the repository has an approriate Release file, the %t display
escape will show this information.  (it shows the Archive from which the
package comes).

  Daniel

-- 
/-------------------- Daniel Burrows <dburrows@debian.org> -------------------\
|                The only thing worse than infinite recursion                 |
|                is infinite recursion.                                       |
\----------------- The Turtle Moves! -- http://www.lspace.org ----------------/



Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Burrows <dburrows@debian.org>:
Bug#248561; Package aptitude. Full text and rfc822 format available.

Acknowledgement sent to Jörg Thönnes <Joerg.Thoennes@macd.com>:
Extra info received and forwarded to list. Copy sent to Daniel Burrows <dburrows@debian.org>. Full text and rfc822 format available.

Message #15 received at 248561@bugs.debian.org (full text, mbox):

From: Jörg Thönnes <Joerg.Thoennes@macd.com>
To: Debian Bug Tracking System <248561@bugs.debian.org>
Subject: Re: aptitude: does not show repository used
Date: Thu, 12 Aug 2004 11:59:13 +0200
Package: aptitude
Version: 0.2.15.2-1
Followup-For: Bug #248561


If I add %t I can see whether the package is coming from stable, testing
or unstable.  But still I cannot see the website where the package is
coming from.

Jörg

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-5-3 0.5.26       Advanced front-end for dpkg
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.4-3    GCC support library
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libsigc++-1.2-5c102         1.2.5-1      Type-safe Signal Framework for C++
ii  libstdc++5                  1:3.3.4-3    The GNU Standard C++ Library v3

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Burrows <dburrows@debian.org>:
Bug#248561; Package aptitude. Full text and rfc822 format available.

Acknowledgement sent to Jörg Thönnes <Joerg.Thoennes@macd.com>:
Extra info received and forwarded to list. Copy sent to Daniel Burrows <dburrows@debian.org>. Full text and rfc822 format available.

Message #20 received at 248561@bugs.debian.org (full text, mbox):

From: Jörg Thönnes <Joerg.Thoennes@macd.com>
To: Debian Bug Tracking System <248561@bugs.debian.org>
Subject: aptitude: display Origin of the package
Date: Thu, 12 Aug 2004 12:06:13 +0200
Package: aptitude
Version: 0.2.15.2-1
Followup-For: Bug #248561


Now I found the exact name what I wanted to be displayed: The Origin of
the package.  I can search for it using ~O, but it cannot be displayed.
I would suggest to use %O to display it.

Thanks, Jörg

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (600, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=C, LC_CTYPE=C

Versions of packages aptitude depends on:
ii  apt [libapt-pkg-libc6.3-5-3 0.5.26       Advanced front-end for dpkg
ii  libc6                       2.3.2.ds1-13 GNU C Library: Shared libraries an
ii  libgcc1                     1:3.3.4-3    GCC support library
ii  libncurses5                 5.4-4        Shared libraries for terminal hand
ii  libsigc++-1.2-5c102         1.2.5-1      Type-safe Signal Framework for C++
ii  libstdc++5                  1:3.3.4-3    The GNU Standard C++ Library v3

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Daniel Burrows <dburrows@debian.org>:
Bug#248561; Package aptitude. (Sat, 04 Oct 2008 14:51:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Holger Steiger" <Holger_Steiger@gmx.de>:
Extra info received and forwarded to list. Copy sent to Daniel Burrows <dburrows@debian.org>. (Sat, 04 Oct 2008 14:51:02 GMT) Full text and rfc822 format available.

Message #25 received at 248561@bugs.debian.org (full text, mbox):

From: "Holger Steiger" <Holger_Steiger@gmx.de>
To: 248561@bugs.debian.org
Subject: aptitude: display Origin of the package
Date: Sat, 04 Oct 2008 16:48:25 +0200
You could also use
$ apt-cache showpkg <package-name>
In the section "Versions:" displayed you see a path which tells you from which website the package aws downloaded.

Sorry for the advertisments in my mail, GMX adds that stuff.

Holger
-- 
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx




Changed Bug title to 'aptitude: display origin (%O) in format strings' from 'aptitude: does not show repository used' Request was from Daniel Hartwig <mandyke@gmail.com> to control@bugs.debian.org. (Fri, 09 Dec 2011 04:33:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>:
Bug#248561; Package aptitude. (Fri, 14 Dec 2012 13:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to thomas@koch.ro:
Extra info received and forwarded to list. Copy sent to Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>. (Fri, 14 Dec 2012 13:33:03 GMT) Full text and rfc822 format available.

Message #32 received at 248561@bugs.debian.org (full text, mbox):

From: Thomas Koch <thomas@koch.ro>
To: 248561@bugs.debian.org
Subject: still valid?
Date: Fri, 14 Dec 2012 14:31:01 +0100
Hi,

I just added the following to my /etc/apt/apt.conf.d/mine:

Aptitude::UI::Package-Display-Format "%c%a%M %p %t %v %V";

Now I see, whether a package comes from testing, unstable or experimental.

Compare
file:///usr/share/doc/aptitude/html/en/ch02s05s05.html#configPackage-Display-
Format

Is this a solution of this issue?

Regards,

Thomas Koch, http://www.koch.ro



Information forwarded to debian-bugs-dist@lists.debian.org, Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>:
Bug#248561; Package aptitude. (Fri, 14 Dec 2012 13:51:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Axel Beckert <abe@debian.org>:
Extra info received and forwarded to list. Copy sent to Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>. (Fri, 14 Dec 2012 13:51:06 GMT) Full text and rfc822 format available.

Message #37 received at 248561@bugs.debian.org (full text, mbox):

From: Axel Beckert <abe@debian.org>
To: thomas@koch.ro, 248561@bugs.debian.org
Subject: Re: [Aptitude-devel] Bug#248561: still valid?
Date: Fri, 14 Dec 2012 14:50:18 +0100
Hi Thomas,

Thomas Koch wrote:
> I just added the following to my /etc/apt/apt.conf.d/mine:
> 
> Aptitude::UI::Package-Display-Format "%c%a%M %p %t %v %V";
> 
> Now I see, whether a package comes from testing, unstable or experimental.

Yes.

> Is this a solution of this issue?

No. That was already mentioned in
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248561#15

Run "apt-cache policy". You'll get entries like this one:

 500 http://security.debian.org/debian-security/ squeeze/updates/main amd64 Packages
     release v=6.0,o=Debian,a=stable,n=squeeze,l=Debian-Security,c=main

%t shows what is printed behind "a=" (i.e. "stable"), not what's
printed behind "o=" (i.e. "Debian") which what is requested.

You though can display the origin by grouping by origin:

Aptitude::UI::Default-Grouping "status,pattern(?architecture(foreign) => Foreign architecture, ?true ||),section(subdir,passthrough),pattern(~O, ?true ||),pattern(~A, ?true ||),pattern(!~M~i => Explicitly installed, ~M => Installed via dependencies, ?true ||),section(topdir),priority";

(That line does some more things, but includes grouping by Origin,
too. It's left as execise to the reader to figure out which part is
the grouping by Origin. :-)

HTH.

		Regards, Axel
-- 
 ,''`.  |  Axel Beckert <abe@debian.org>, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-    |  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5



Information forwarded to debian-bugs-dist@lists.debian.org, Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>:
Bug#248561; Package aptitude. (Fri, 11 Apr 2014 15:27:10 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jan Blunck <jblunck@infradead.org>:
Extra info received and forwarded to list. Copy sent to Aptitude Development Team <aptitude-devel@lists.alioth.debian.org>. (Fri, 11 Apr 2014 15:27:10 GMT) Full text and rfc822 format available.

Message #42 received at 248561@bugs.debian.org (full text, mbox):

From: Jan Blunck <jblunck@infradead.org>
To: aptitude-devel@lists.alioth.debian.org
Cc: 248561@bugs.debian.org, stbuehler@web.de
Subject: aptitude: display origin (%O) in format strings
Date: Fri, 11 Apr 2014 17:25:30 +0200
[Message part 1 (text/plain, inline)]
[Please CC me on replies.]

Hello Aptitude developers,

I've come across the problem described in bug 248561 (
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=248561) and I would like
to propose the attached changes which add the %O format field to display
the Origin of a package.

This functionality is specifically helpful when using multiple different
3rd party repositories with packages for the same target suite/codename.
For users of the Open Build Service this would dramatically improve the
usability of the presented information.

Thanks,
Jan
[Message part 2 (text/html, inline)]
[commit-c8797bd.txt (text/plain, attachment)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 17 11:20:23 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.