Re: cron.daily error for apt
- From: Bob Proulx <bob@xxxxxxxxxx>
- Date: Mon, 5 Dec 2011 11:06:25 -0700
Pierre Frenkiel wrote:
Bob Proulx wrote:
Actually, the increase is impressive
I changed to one of the listed mirrors.
Oh good.
Right. You removed it. It is a conffile. Therefore the system
respects your changes to that file. Including removing it. The
system views removing a conffile as an intended change from the admin
and preserves that change.
I understand this behaviour for a removed conffile. but not for a modified one:
I imagine that aptitude doesn't know whether this conffile comes from a previous
version or not.
Anyway, if it decides not to install the file, it should:
asks whether to replace or not(cf below), or at least display a warning message.
But you said:
I removed /etc/cron.daily/apt, and did "aptitude reinstall apt"
You said you removed the file. You didn't say you modified it.
aptitude -o DPkg::Options::=--force-confmiss reinstall aptthis works, as the name suggests it, only for removed conffiles.
To replace also the modified files, I added in apt.conf
"--force-confask";
I think there was a time where this was the default with apt-get
Of course asking is still the default for apt-get! But you said you
were using aptitude. Which being different does have different
behaviors. But it is more similar than different.
Bob
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: cron.daily error for apt
- From: John Hasler
- Re: cron.daily error for apt
- From: Pierre Frenkiel
- Re: cron.daily error for apt
- References:
- cron.daily error for apt
- From: Pierre Frenkiel
- Re: cron.daily error for apt
- From: Bob Proulx
- Re: cron.daily error for apt
- From: Pierre Frenkiel
- Re: cron.daily error for apt
- From: Bob Proulx
- Re: cron.daily error for apt
- From: Pierre Frenkiel
- cron.daily error for apt
- Prev by Date: Re: [OT] where should I look for google sync information ?
- Next by Date: Re: [Pkg-fglrx-devel] Bug#650699: Fwd: fglrx-driver
- Previous by thread: Re: cron.daily error for apt
- Next by thread: Re: cron.daily error for apt
- Index(es):