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

Re: Debian /etc/apt/sources.list



Þann 2006-10-20, 11:21:19 (+0100) skrifaði Clive Menzies:
> On (20/10/06 10:57), Andrew Small wrote:
> > I use the command apt-get to keep my system up to date.  The list of
> > repositories I use to get updated 
> > 
> > packages is kept in /etc/apt/sources.list.  I already have a particular
> > package installed which I do not want
> > to update.
> > 
> > How do I get apt-get to ignore updating this package when it is invoked
> > on the command line?
> > Is it possible to put the package name in the sources.list file etc.
> > This would be really useful so that if someone
> > else is managing the system they do not have to be aware that this
> > package should be ignored.
> 
> I use aptitude which has a hold option
>  aptitude hold <packages>...
> 
> I just checked the apt-get man page and couldn't see an equivalent but
> someone else may confirm it works.  If not apt-get should respect
> aptitude's 'wishes'.

Isnt this a job for "pinning"? :-)

Search the web for apt and pinning.

HTH

Oli



Reply to: