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

Re: running aptitude and apt-get from cron

Hash: SHA1

On Sat, Jul 05, 2003 at 10:08:45PM +0100, Richard Kimber wrote:
> I have been running 'apt-get-update' from cron during the night.  Root
> gets sent the output which is much as one would see in a terminal.

You might want to check out cron-apt, it's designed to do this and
only email you if there's a problem.

> However, following a recent message from someone (Colin Watson???) to the
> list suggesting that it is better to run aptitude than apt-get directly, I
> have been experimenting with 'aptitude update' instead.  However the
> output from this that is emailed to root is not helpful, and is always of
> the form:-

Colin meant when you run interactively, it is better to use aptitude.
And he's mostly right, I just haven't figured out where all the
special search patterns are documented yet.  I know broken packages is

- -- 
 .''`.     Paul Johnson <baloo@ursine.ca>
: :'  :    proud Debian admin and user
`. `'`
  `-  Debian - when you have better things to do than fix a system
Version: GnuPG v1.2.2 (GNU/Linux)


Reply to: