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 apt
>     this 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

Reply via email to