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

Re: More than one /etc/apt/sources.list possible?



On Thu, Sep 04, 2003 at 01:45:04PM +0200, Pål Dahle wrote:
> Yo,
> 
> I would like my system to inform me whenever there are 
> security related updates available. Setting up
> 
> apt-get update --source /etc/apt/sources.list.security
> 
> as a daily cron job was my initial thought. Unfortunately,
> specifying an alternative source list does not seem to be 
> an option to apt-get.
> 

Try apt-get -o Dir::Etc::SourceList=/foo/bar update

> I guess I could have two different sources.lists and have 
> the sources.list created as a sym link that is moved before 
> and after the cron job is run. This, however, does not sound 
> as an appealing solution to me.
> 
> Anyone got a better solution?
> 

The package cron-apt does the job of apt-get update && apt-get -d
upgrade each day and mails you the output.

-- 
 .''`.  Jason Chambers <chambersj@thingy.org.uk> 
: :'  : Registered linux user #271693 
`. `'`  
  `-    http://www.debian.org/ - The Universal Operating System

Attachment: pgp6N7U0XwURL.pgp
Description: PGP signature


Reply to: