Re: Debian /etc/apt/sources.list
On (20/10/06 10:45), Olafur Jens Sigurdsson wrote:
> Þ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"? :-)
I don't think so. I believe pinning is used where you're using
packages from different releases. It would be overkill for holding one
package.
Regards
Clive
--
www.clivemenzies.co.uk ...
...strategies for business
Reply to: