On Mon, 20 May 2013, Cláudio E. Elicker wrote:

> On Mon, 20 May 2013 09:26:12 -0700
> Patrick Bartek <bartek...@yahoo.com> wrote:
> 
> > On Tue, 21 May 2013, Chris Bannister wrote:
> > 
> > > On Sun, May 19, 2013 at 10:48:25PM -0700, Patrick Bartek wrote:
> > > > I tried that.  And a couple of variations.  I got the same
> > > > output as just using plain ol' apt-cache search. As part of the
> > > > test, I searched for an app version that I knew was ONLY in
> > > > backports. It didn't show up in the search. But I had to rush
> > > > off and didn't have the time to try anything else. Tomorrow,
> > > > I'll try again, but be more thorough.
> > > 
> > > Interesting. What is output of:
> > > root@tal:~# apt-cache policy "app version ONLY in backports."
> > > 
> > 
> > root@debian7:~# apt-cache policy libreoffice
> > libreoffice:
> >   Installed: 1:3.5.4+dfsg-4
> >   Candidate: 1:3.5.4+dfsg-4
> >   Version table:
> >      1:4.0.3-2~bpo70+1 0
> >         100 http://ftp.debian.org/debian/ wheezy-backports/main
> > amd64 Packages *** 1:3.5.4+dfsg-4 0
> >         500 http://ftp.us.debian.org/debian/ wheezy/main amd64
> > Packages 100 /var/lib/dpkg/status
> > 
> > B
> > 
> > 
> 
> 
> This incantation will search for packages that are in backports AND
> NOT in stable:
> 
> aptitude search -F"%t %p" '~Awheezy-backports!~Astable'
> 
> 

One would think from what is said in the mans that the -t option would
do that.  Don't know why it doesn't.

Also, I just noticed a funny thing:  Today, when I do 'apt-cache show
libreoffice-writer'  both the 3.5 and new 4.0 versions are listed.  Same
output with or without the -t wheezy-backports.  I'm beginning to think
that the LibreOffice 4 packages have been moved out of backports,
if they were ever there, and into the stable repos.  Guess I'll have to
find another package for my search tests.

Thanks for the search incantation.

B


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130520140425.16dad...@debian7.boseck208.net

Reply via email to