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

Re: how to prevent apt-get upgrading a package?



joost@topaz.mdcc.cx (Joost Kooij) writes:

> On Sun, Jul 01, 2001 at 02:07:08PM +0100, Anthony Campbell wrote:
> > Is it possible to tell apt-get to hold a package and not upgrade it when
> > using dist-upgrade? 
> 
> It's called dselect.  But it is a secret.  If you tell anyone about it,
> the cabal will have to send a mob onto you.  ;-)

bah. dselect is one of the most confusing things I have ever
seen. Much easier to do:

dpkg --get-selections > selections

then edit the file "selections" so that the word "hold" is replaced
with "installed" for the package you want to hold, and then:

dpkg --set-selections < selections

dselect is evil, I am sure of it. 


Cheers, Stig
-- 
 17:38:29 up 3 days, 22:55,  4 users,  load average: 0.20, 0.06, 0.01



Reply to: