FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 05-16-2008, 02:18 PM
Pierre Frenkiel
 
Default unattended update-manager

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

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-16-2008, 04:11 PM
Mario Vukelic
 
Default unattended update-manager

On Fri, 2008-05-16 at 16:18 +0200, Pierre Frenkiel wrote:
> grep conffile dpkg.log

Good to know, thanks.


--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 
Old 05-17-2008, 08:02 AM
Pierre Frenkiel
 
Default unattended update-manager

On Fri, 16 May 2008, Pierre Frenkiel wrote:

> 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
oops...
of course, I meant
Until this is done, I think the easier way is to replace dpkg ...

Pierre Frenkiel

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 05:42 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org