Re: How to add dependencies that exist in another repository
Andreas Tille <firstname.lastname@example.org> writes:
> On Thu, Nov 11, 2010 at 10:35:34AM +0100, Goswin von Brederlow wrote:
>> I have a package my-apt-config that installs the gpg key for the local
>> repository, a /etc/apt/sources.list.d/ file, /etc/apt/apt.conf.d/ file
>> and /etc/apt/preferences.d/ file with all the right settings for me.
> I completely agree but did not managed to get /etc/apt/preferences.d/
> working as expected. Did I missed a piece of documentation or can you
> provide any working example.
> Kind regards
I just placed a file ther for pining like this:
mrvn@frosties:~% cat /etc/apt/preferences.d/pin
Pin: release v=666.0,o=Debian,a=unstable,n=sid,l=Debian,c=main
mrvn@frosties:~% apt-cache policy
666 http://chocos/debian/ sid/main amd64 Packages