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

RE: Debian /etc/apt/sources.list



Thanks for the response clive

Is there an option you can place in the sources.list file so that you
don't have to remember to supply this parameter everytime you use
apt-get?

Cheers

Andrew

-----Original Message-----
From: Clive Menzies [mailto:clive@clivemenzies.co.uk] 
Sent: 20 October 2006 11:21
To: debian-user@lists.debian.org
Subject: Re: Debian /etc/apt/sources.list

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'.

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



-- 
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org 
  
  
CAUTION: This email message and any attachments transmitted with it contains information that is CONFIDENTIAL and may be privileged or otherwise protected from disclosure. If you are not the intended recipient please notify Aspect Capital Limited ("Aspect") immediately (postmaster@aspectcapital.com) and delete all copies of this email message and any attachments transmitted with it from your system. If you are not the intended recipient, any use, disclosure or copying of this email message and any attachments transmitted with it is strictly prohibited.  
  
  
This email message and any attachments transmitted with it cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed or incomplete. Although Aspect routinely screens for viruses, it makes no representation or warranty as to the absence of viruses in this e-mail or any attachments. 
  
  
For further information about Aspect please see our website at http://www.aspectcapital.com. Aspect is authorised and regulated by the Financial Services Authority for investment business. 
  

Reply to: