From: Daniel Burrows on
On Fri, Apr 30, 2010 at 08:58:19PM -0700, Daniel Burrows <dburrows(a)debian.org> was heard to say:
> On Fri, Apr 30, 2010 at 12:54:57PM -0500, "Boyd Stephen Smith Jr." <bss(a)iguanasuicide.net> was heard to say:
> > My instinct is that '-t $something' effectively increases the priority of all
> > packages from the $something repository, which may make the dependency
> > resolver pull more from that repository than is absolutely necessary.
>
> If you pass "-t ARCHIVE", that means that versions from ARCHIVE are
> treated as the default package version. It also increases the pin
> priority to 990. aptitude's resolver tries particularly hard to install
> the default package version, and it will tie-break using the priority
> (you can configure both those behaviors extensively, but those are the
> defaults). The story is more extreme with the apt resolver: it won't
> even consider anything but the default version of a package.

That's not quite right.

The default version is the highest-priority available version. It
just happens that setting the pin priority to 990 *normally* has the
effect of changing the default version, but you could theoretically
manually pin another version to be higher.

The second effect of Default-Release is to change how certain
aptitude / apt-get commands choose the target version. This includes
"apt-get source", "apt-get build-dep", "aptitude build-dep", "aptitude
changelog", "aptitude download", and "aptitude show". In aptitude,
it causes arguments with no archive or version specifier to be treated
as if "/default-release" had been included. Unfortunately, it's
dreadfully underdocumented and underspecified.

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100501040733.GF26444(a)emurlahn.burrows.local
From: Mike Viau on

> On Fri, Apr 30, 2010 at 01:26:45PM -0400, Tom H <tomh0665(a)gmail.com> was heard to say:
> > On Fri, Apr 30, 2010 at 1:18 PM, Anand Sivaram <aspnair(a)gmail.com> wrote:
> > >
> > > You could find what all packages from sid are installed in your system by
> > > apt-show-versions | grep unstable
> >
> > Or "aptitude search ~Aunstable"
>

"aptitude search ~Aunstable" seems to show all packages from sid (wheather installed or not)

try " aptitude search ~Aunstable | grep '^i' "



-M


_________________________________________________________________
Hotmail & Messenger are available on your phone. Try now.
http://go.microsoft.com/?linkid=9724461
From: Daniel Burrows on
On Sat, May 01, 2010 at 12:04:07AM -0400, Mike Viau <viaum(a)sheridanc.on.ca> was heard to say:
>
> > On Fri, Apr 30, 2010 at 01:26:45PM -0400, Tom H <tomh0665(a)gmail.com> was heard to say:
> > > On Fri, Apr 30, 2010 at 1:18 PM, Anand Sivaram <aspnair(a)gmail.com> wrote:
> > > >
> > > > You could find what all packages from sid are installed in your system by
> > > > apt-show-versions | grep unstable
> > >
> > > Or "aptitude search ~Aunstable"
> >
>
> "aptitude search ~Aunstable" seems to show all packages from sid (wheather installed or not)
>
> try " aptitude search ~Aunstable | grep '^i' "

Ah, I missed that requirement.

How about this:

$ aptitude versions --group-by=none --show-package-name=always \
-F '%p %d' '?archive(unstable)?installed'

Or for earlier systems:

$ aptitude search '?narrow('?archive(unstable), ?installed)'

Daniel


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100501041056.GG26444(a)emurlahn.burrows.local
From: Mike Viau on

> Fri, 30 Apr 2010 21:10:56 -0700 <dburrows(a)debian.org> wrote:
> On Sat, May 01, 2010 at 12:04:07AM -0400, Mike Viau <viaum(a)sheridanc.on.ca> was heard to say:
> >
> > > On Fri, Apr 30, 2010 at 01:26:45PM -0400, Tom H <tomh0665(a)gmail..com> was heard to say:
> > > > On Fri, Apr 30, 2010 at 1:18 PM, Anand Sivaram <aspnair(a)gmail..com> wrote:
> > > > >
> > > > > You could find what all packages from sid are installed in your system by
> > > > > apt-show-versions | grep unstable
> > > >
> > > > Or "aptitude search ~Aunstable"
> > >
> >
> > "aptitude search ~Aunstable" seems to show all packages from sid (wheather installed or not)
> >
> > try " aptitude search ~Aunstable | grep '^i' "
>
> Ah, I missed that requirement.
>
> How about this:
>
> $ aptitude versions --group-by=none --show-package-name=always \
> -F '%p %d' '?archive(unstable)?installed'
>
> Or for earlier systems:
>
> $ aptitude search '?narrow('?archive(unstable), ?installed)'
>

debian01:~# aptitude search '?narrow('?archive(unstable), ?installed)'

-bash: syntax error near unexpected token `('


_________________________________________________________________
Live connected. Get Hotmail & Messenger on your phone.
http://go.microsoft.com/?linkid=9724462
From: Tom H on
On Sat, May 1, 2010 at 12:04 AM, Mike Viau <viaum(a)sheridanc.on.ca> wrote:
>> On Fri, Apr 30, 2010 at 01:26:45PM -0400, Tom H <tomh0665(a)gmail.com> was
>> heard to say:
>> > On Fri, Apr 30, 2010 at 1:18 PM, Anand Sivaram <aspnair(a)gmail.com>
>> > wrote:
>> > >
>> > > You could find what all packages from sid are installed in your system
>> > > by
>> > > apt-show-versions |  grep unstable
>> >
>> > Or "aptitude search ~Aunstable"
>>
>
> "aptitude search ~Aunstable" seems to show all packages from sid (wheather
> installed or not)
>
> try " aptitude search ~Aunstable | grep '^i' "

Oops!

"aptitude search ~Aunstable~i"


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/j2r6d4219cc1004302146t8aeac35ax923069b8544415d1(a)mail.gmail.com