unattended update-manager

Pierre Frenkiel pierre.frenkiel at laposte.net
Fri May 16 14:18:23 UTC 2008


On Mon, 28 Apr 2008, Mario Vukelic wrote:

> On Mon, 2008-04-28 at 14:48 +0200, PEDRO MACANAS VALVERDE wrote:
>> Is there any list of conf-new  / conf-old files (or a script to detect
>> them) related to a new installation ?
>
> locate dpkg-new
> locate dpkg-old
>
> This should suffice after the locate database was updated. Otherwise,
> something like
>
> sudo find / -name "*.dpkg-old"

   there is faster and more reliable way:

    ==> grep conffile dpkg.log
           2008-05-15 10:23:48 conffile /etc/X11/Xsession keep
           2008-05-15 13:09:00 conffile /etc/mime.types install
           2008-05-15 13:56:17 conffile /etc/cron.daily/apt install
           2008-05-15 14:02:42 conffile /etc/cups/cupsd.conf install
           2008-05-15 16:26:06 conffile /etc/gdm/gdm.conf install
           2008-05-15 16:44:23 conffile /etc/network/if-up.d/mountnfs install
           2008-05-15 20:24:54 conffile /etc/xmp/xmp.conf install
           2008-05-15 20:26:27 conffile /etc/xmp/xmp-modules.conf install
           2008-05-15 21:17:03 conffile /etc/sane.d/dll.conf install
           2008-05-15 22:18:51 conffile /etc/ssh/ssh_config install
           2008-05-16 06:56:06 conffile /etc/ntp.conf install
           2008-05-16 07:53:55 conffile /etc/cron-apt/config install
           2008-05-16 08:32:12 conffile /etc/openoffice/psprint.conf install

    and what's more, I discovered that the options I wanted in
    update-mamager already exist in dpkg:
        --force-confnew
        --force-confold
    it should be a 2-minute work to implement them in update-manager.
    Until this is done, I think the easier way is to replace update-manager,
    just before the upgrade, by a one line script calling the real program
    with one of these options.

Pierre Frenkiel




More information about the ubuntu-users mailing list