Modifies /etc/default/apport during upgrade, causing conffile prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: apport
Hi,
When upgrading from hardy up-to-date to lucid (today), dpkg detected a conffile as being modified and prompted me for an action, but this isn't correct, I didn't modify the file.
Before upgrading, md5sums were identical:
/etc/default/
51235ce40afb375
Prompt during the upgrade (sorry, in French, but it's just a standard dpkg prompt for modified files) :
Paramétrage de apport (1.12-0ubuntu3) ...
Fichier de configuration « /etc/default/apport »
==> Modifié (par vous ou par un script) depuis l'installation.
==> Le distributeur du paquet a fourni une version mise à jour.
Que voulez-vous faire ? Vos options sont les suivantes :
Y ou I : installer la version du responsable du paquet
N ou O : garder votre version actuellement installée
D : afficher les différences entre les versions
Z : suspendre ce processus pour examiner la situation
L'action par défaut garde votre version actuelle.
*** apport (Y/I/N/O/D/Z) [défaut=N] ? y
Installation de la nouvelle version du fichier de configuration /etc/default/apport ...
Installation de la nouvelle version du fichier de configuration /etc/cron.
apport start/running
Diff:
/etc/default/apport
--- /etc/default/apport 2010-02-06 13:42:14.000000000 +0100
+++ /etc/default/
@@ -1,6 +1,6 @@
# set this to 0 to disable apport, or to 1 to enable it
# you can temporarily override this with
-# sudo force_start=1 /etc/init.d/apport start
+# sudo service apport start force_start=1
enabled=1
# set maximum core dump file size (default: 209715200 bytes == 200 MB)
ProblemType: Bug
Architecture: i386
CrashReports: 666:0:0:
Date: Sat Feb 6 14:31:50 2010
DistroRelease: Ubuntu 10.04
Package: apport 1.12-0ubuntu3
PackageArchitec
ProcEnviron:
LANG=fr_FR.utf8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: apport
Uname: Linux 2.6.32-
hm, weird. I installed Hardy's apport on current lucid, and get the same md5sum:
$ dpkg -s apport daily/apport 5402a621f301207 f7b5d4764242d9d 29 apport 51235ce40afb375 944f7649f35bfd3 35
Conffiles:
/etc/cron.
/etc/default/
Upgrading:
$ sudo LANG= apt-get dist-upgrade
The following packages will be upgraded: daily/apport ...
apport
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
[...]
Setting up apport (1.12-0ubuntu3) ...
Installing new version of config file /etc/default/apport ...
Installing new version of config file /etc/cron.
Apport does not have any maintainer scripts which would fiddle with the conffiles.
I suppose what happened is that update-manager temporarily enabled apport during the upgrade, which causes this conffile prompt. As a workaround, we could perhaps stuff Lucid's default file into update-manager and install that instead of merely flipping it on? (I. e. update the comment as well).