sean finney on 30 Apr 2007 15:26:53 -0000 |
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 :) 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 Attachment:
signature.asc ___________________________________________________________________________ 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
|
|