[SLL] apt-get

Chris Fischer chris at protek.cc
Thu Aug 10 16:28:53 PDT 2006


Bill Thompson wrote:

> I would suggest not using apt-pinning unless you are intimately familiar
> with Debian releases. IMHO it's very easy to bork your system with
> pinning.
> 
> I would suggest looking at the "aptitude" utility as opposed to
> apt-get. Aptitude has a "hold" function on the command line that you
> can use to do exactly what you are asking for. If you do the following:
> 
> # aptitude hold slapd
> # aptitude update
> # aptitude upgrade
> 
> You should see that the upgradeable packages will be installed, but
> slapd and it's dependencies will be held back. Keep in mind that any
> package that depends on slapd will be held back as well.
> 

Very cool! I'll definitely give that a try.

Thanks!

Chris



More information about the linux-list mailing list