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

Björn Wiberg bjorn.wiberg at home.se
Fri Aug 14 04:31:30 UTC 2009


Package: eeepc-acpi-scripts
Version: 1.1.1
Severity: normal


The file /etc/default/eeepc-acpi-scripts does not seem to be considered a configuration file.

I have /etc/default/eeepc-acpi-scripts.dpkg-new in place and 'apt-get upgrade' does not automatically consider leaving my modified version of the file in place and replacing the .dpkg-new one with 
the new file from the package, like other packages do.

This e.g. breaks automatic system updates using 'cron-apt':


CRON-APT RUN [/etc/cron-apt/config]: Fri Aug 14 04:00:01 CEST 2009
CRON-APT SLEEP: 1573, Fri Aug 14 04:26:14 CEST 2009
CRON-APT ACTION: 3-download
CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  eeepc-acpi-scripts
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 19.6kB of archives.
After this operation, 12.3kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  eeepc-acpi-scripts
Authentication warning overridden.
Get:1 http://eeepc.debian.net lenny/main eeepc-acpi-scripts 1.1.1 [19.6kB]
Fetched 19.6kB in 0s (23.4kB/s)
Download complete and in download only mode
CRON-APT ACTION: 4-install
CRON-APT LINE: /usr/bin/apt-get dist-upgrade --assume-yes --ignore-missing --no-remove --show-upgraded
Reading package lists...
Building dependency tree...
Reading state information...
The following packages will be upgraded:
  eeepc-acpi-scripts
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/19.6kB of archives.
After this operation, 12.3kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  eeepc-acpi-scripts
Reading changelogs...
Confirmation failed, don't save seen state.
eeepc-acpi-scripts (1.1.1) unstable; urgency=low
/../
Authentication warning overridden.
(Reading database ... 51897 files and directories currently installed.)
Preparing to replace eeepc-acpi-scripts 1.1.0 (using .../eeepc-acpi-scripts_1.1.1_all.deb) ...
Unpacking replacement eeepc-acpi-scripts ...
Setting up eeepc-acpi-scripts (1.1.1) ...

Configuration file `/etc/default/eeepc-acpi-scripts'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : background this process to examine the situation
 The default action is to keep your current version.
*** eeepc-acpi-scripts (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing eeepc-acpi-scripts (--configure):
 EOF on stdin at conffile prompt
Errors were encountered while processing:
 eeepc-acpi-scripts
E: Sub-process /usr/bin/dpkg returned an error code (1)


I would suggest /etc/default/eeepc-acpi-scripts to be classified as a config file so that such updates will run smoothly.

-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to sv_SE.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages eeepc-acpi-scripts depends on:
ii  acpi-support-base          0.109-11      scripts for handling base ACPI eve
ii  acpid                      1.0.8-1lenny1 Utilities for using ACPI power man
ii  pm-utils                   1.1.2.4-1     utilities and scripts for power ma

Versions of packages eeepc-acpi-scripts recommends:
ii  alsa-utils                    1.0.16-2   ALSA utilities

Versions of packages eeepc-acpi-scripts suggests:
pn  aosd-cat                      <none>     (no description available)
pn  gnome-osd                     <none>     (no description available)
ii  ttf-dejavu                    2.25-3     Metapackage to pull in ttf-dejavu-

-- no debconf information





More information about the Debian-eeepc-devel mailing list