sean finney on 30 Apr 2007 15:26:53 -0000

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

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

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


Attachment: signature.asc
Description: This is a digitally signed message part

Philadelphia Linux Users Group         --
Announcements -
General Discussion  --