Mike Leone on 30 Apr 2007 15:54:26 -0000


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Pinning certain packages in Debian testing ...


sean finney (seanius@seanius.net) had this to say on 04/30/07 at 11:22: 
> On Mon, 2007-04-30 at 10:17 -0400, Mike Leone wrote:
> > Would I do this:
> > 
> > echo -e "postfix hold\ postfix-pcre hold\ postfix-ldap hold" | dpkg --set-selections
> > 
> > Will this be enough so that my postfix installation will not be touched,the
> > next time I do a "apt-get upgrade", or do I need to do a "pin" of all 3
> > packages in apt.preferences?
> 
> that seems to do the trick for me in my testing chroot, though i suppose
> it doesn't hurt to be "extra sure" by pinning it in apt.preferences
> too :)

OK. So I would put this, in apt.preferences?

    Package: postfix
    Pin: release a=testing
    Pin-Priority: 2000
              
and repeat for postfix-pcre, postfix-ldap?

> 
> to be sure i asked some folks in debian-devel, and the consensus seems
> to be that for what you want they're basically equivalent, though with
> apt.preferences you might be able to get a little more flexibility and
> reliability (if something happens to your status database, if you
> remove/reinstall the package, manually do/force something, etc).  and
> also, your configuration is in a readable, editable file, which is a
> benefit.
> 
> 
> 
> 	sean



> ___________________________________________________________________________
> Philadelphia Linux Users Group         --        http://www.phillylinux.org
> Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
> General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug