On Wed, Jun 10, 2009 at 11:40:49AM +1000, Jayen Ashar wrote:
> Matthew Palmer wrote:
>> On Wed, Jun 10, 2009 at 10:44:46AM +1000, Jayen Ashar wrote:
>>> Is there any documentation on why apt-get is the default for   
>>> debian/ubuntu, when aptitude is installed?
>>
>> Because nobody's put forward a patch to do it differently.
>>
>> Your problem isn't aptitude vs apt-get, though -- apt-get is perfectly
>> capable of resolving and installing dependencies.  My guess is that you
>> haven't setup your preferences correctly to tell Puppet to install dependent
>> packages from your backports repo:
>>
>>   APT prefers stable
>>   APT policy: (500, 'stable')
>>     Basically, your system config is screwed, and it's not Puppet's 
>> fault.  Nor
>> will switching to aptitude solve your problem (unless it ignores repo
>> preferences).
>
> If my system config were screwed, or I didn't set backports in my  
> preferences, then I would have the opposite problem, and backports would  
> take precedence over stable, since backports contains higher versions.  

>From http://backports.org/debian/dists/lenny-backports/Release:

NotAutomatic: yes

Join the dots from there.

> The bug report didn't include my apt_preferences, which contains:
>   Package: *
>   Pin: release a=lenny-backports
>   Pin-Priority: 200

Which almost certainly doesn't do what you want, as per apt_preferences(5).

- Matt



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to