On Thu,04.Mar.10, 11:58:53, Mihamina Rakotomandimby wrote: > > r...@second-camel:~# apt-cache policy postfix > postfix: > Installed: 2.5.5-1.1 > Candidate: 2.5.5-1.2-vda0 > Version table: > 2.5.5-1.2-vda0 0 > 500 http://mirror.malagasy.com binary/ Packages <== my repo > *** 2.5.5-1.1 0 > 500 http://mirror.malagasy.com lenny/main Packages > ^^^^^^^^^^^^^^^^^^^^^^^^^^ local mirror of official debian > 100 /var/lib/dpkg/status > > >If the version is lower (apt-cache will tell you) then you will indeed > >need some pinning. You might be able to pin by 'postfix-vda', but if > >you need more guidance please post the output of above mentioned > >apt-cache command. > > Above is the output you need to guide me :-) > > what to put in /etc/apt/preference so that the priority is given to > "deb http://mirror.malagasy.com/GS binary/", just for "postfix"?
Look at the "Candidat:" line. apt will install your version, so you don't need a preferences file. If you recompile stuff, may I suggest you use "+" as a separator for your version not "-". It will work better in most cases. Regards, Andrei -- Offtopic discussions among Debian users and developers: http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
signature.asc
Description: Digital signature