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

Re: apt and crontab.



On Mon, Jul 22, 2002 at 07:38:04AM -0400, Deedra Waters wrote:
> My upgrade ran last night and tried to upgrade bash and a few other
> things. In the past bash or any program with a config file has always
> upgraded with no problem and has always chosen the default config file,
> but this time, it got to the question of the bash config file and just
> quit. Is there a way to change this so it will just go back to choosing
> the default?

Get apt-get to pass the --force-confdef option to dpkg (the apt.conf(5)
man page describes how to adjust the options apt-get passes to dpkg).
You only need that if you've changed the default conffile or if
something's gone wrong.

My personal opinion is that it's not yet wise to upgrade Debian without
user intervention, though. The debconf noninteractive frontend goes a
long way towards this goal, but until dpkg's conffile prompt can use it
it won't be really reliable. If you look in 'dpkg --force-help' you'll
see that --force-confdef is marked as a dangerous option; this is
because sometimes conffiles change in a way that requires human
interaction to resolve. For now I'd generally advise passing -dy to
apt-get to perform only the download in a cron job.

Cheers,

-- 
Colin Watson                                  [cjwatson@flatline.org.uk]


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: