[Aptitude-devel] Bug#248561: Bug#248561: still valid?
Axel Beckert
abe at debian.org
Fri Dec 14 13:50:18 GMT 2012
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 at 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
More information about the Aptitude-devel
mailing list