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

Re: to not apt-get upgrade certain packages



On Wed, Sep 14, 2005 at 08:14:26PM -0500, Ganeshram Iyer wrote:
> Hello all,
> I am trying to ensure that certain packages that I have apt-get
> installed are never upgraded (even security). specifically these are
> libwine wine wine-utils. I have version 20041019 the version
> recommended by winetools package
> (http://www.von-thadden.de/Joachim/WineTools/) and I am more than
> happy with this version. the other versions do not work as well (I
> have tried). now everytime i need to do an apt-get upgrade I first
> simulate with a (-s) and see which packages other than the wine*
> packages have to be upgraded and select those manually to be updated
> using apt-get. anyway I can tell apt-get upgrade to never upgrade
> those three packages and leave them untouched? I tried to do something
> with apt-preferences but got nowhere (still a newbie - just 2 months
> with debian - although a year with rpm based distros)
> 

If you use a package manager like dselect or aptitude, then you can tell
it to "hold" the package.  You can also do this directly with dpkg.  In
aptitude, simply pressing equals (=) with the package name selected
places it on hold.  For dpkg and others you will need to read the man
pages, or maybe someone else can explain how.

-Roberto
-- 
Roberto C. Sanchez
http://familiasanchez.net/~roberto

Attachment: pgpJo8YPjlLVe.pgp
Description: PGP signature


Reply to: