Re: Aptitude Error
On Sat, May 1, 2010 at 1:25 AM, Daniel Burrows <email@example.com> wrote:
> On Sat, May 01, 2010 at 12:46:13AM -0400, Tom H <firstname.lastname@example.org> was heard to say:
>> On Sat, May 1, 2010 at 12:04 AM, Mike Viau <email@example.com> wrote:
>> >> On Fri, Apr 30, 2010 at 01:26:45PM -0400, Tom H <firstname.lastname@example.org> was
>> >> heard to say:
>> >> > On Fri, Apr 30, 2010 at 1:18 PM, Anand Sivaram <email@example.com>
>> >> > wrote:
>> >> > >
>> >> > > You could find what all packages from sid are installed in your system
>> >> > > by
>> >> > > apt-show-versions | grep unstable
>> "aptitude search ~Aunstable~i"
> That'll show packages that are available from sid and that are
> installed on your computer. That could include packages you installed
> from testing, but that are also available from sid. If you want to
> check that the installed version is also available from sid, you'll need
> to wrap it in '?narrow':
> $ aptitude search '?narrow(?archive(unstable), ?installed)'
Many thanks. I have finally understood the purpose of narrow (and had
my misunderstanding of "and" corrected!).