[Debian-eeepc-devel] Bug#541426: Bug#541426: /etc/default/eeepc-acpi-scripts not classified as configfile?

Björn Wiberg bjorn.wiberg at home.se
Fri Aug 14 19:44:34 UTC 2009


Hello Paul!

Thank you for your reply!

On Fri, 14 Aug 2009, Paul Menzel wrote:
> I am not sure, but is not there an option to set the priority for dpkg
> when to ask such questions. Maybe you have to set it to high and a
> default, if the maintainer’s or your file should be installed or kept.

I believe this is set via the debconf/priority option:

sprinkle:~# debconf-show eeepc-acpi-scripts

sprinkle:~# debconf-show debconf
   debconf-apt-progress/preparing:
   debconf-apt-progress/title:
   debconf-apt-progress/info:
   debconf-apt-progress/media-change:
   debconf/frontend: Dialog
   debconf/priority: high
sprinkle:~#

...which then should mean that only high and critical priority messages 
should be shown. Perhaps replacement of configuration files classify as 
such (sounds reasonable).


I believe cron-apt sets some environment variables 
(DEBIAN_FRONTEND="noninteractive" and DEBCONF_FRONTEND="noninteractive") 
which helps for some packages but perhaps not all.

It appears that the solution to the "problem" would be to specify in 
/etc/cron-apt/action.d/4-install or whatever one has named it):

--option Dpkg::Options::="--force-confdef" --option Dpkg::Options::="--force-confold"

...i.e. as options to the APTCOMMAND (apt-get by default). This should 
force dpkg to choose the default value for prompts (which usually is "keep 
your existing version") and for those questions which do not have a 
default, to keep the existing version.

Sorry for the trouble, and thanks for your help!

Best regards,
Björn


More information about the Debian-eeepc-devel mailing list