Joost van Baal-Ilić
2013-04-06 07:40:01 UTC
Hi,
I agree with Andreas Beckmann it would be useful if a remark could be
added to the release notes. I can apply a patch soon. Below snippets
from previous discussion summarize the relevant parts I believe.
Anybody willing to draft a patch?
Thanks, Bye,
Joost
[...]
package has been upgraded after getting a fixed dpkg, or people actively
reinstalling broken packages. In any case, for wheezy I guess it would
be nice to strongly recommend on the release notes to upgrade dpkg first.
Shouldn't this be mentioned in the release-notes?
apt-get install --reinstall *before* the upgrade is an easy workaround -
if we make people aware of it.
Andreas
I agree with Andreas Beckmann it would be useful if a remark could be
added to the release notes. I can apply a patch soon. Below snippets
from previous discussion summarize the relevant parts I believe.
Anybody willing to draft a patch?
Thanks, Bye,
Joost
Bug #689836: dpkg: md5sums incorrectly recorded for conffile takeover
http://bugs.debian.org/689836
So it's broken in squeeze (dpkg database is corrupted, i.e. contains the wrong
md5sums (well, it contains the correct md5sums, too, but at the wrong
place)). Whether this happens depends on the configuration order. If
nagios-doc is configured before nagios3-cgi it will record the new md5sum for
updated conffiles for nagios3-doc instead of nagios-cgi ... even if it no
longer owns these files.
I have no idea how many packages are possibly affected by this or how this can
be fixed ... therefore Cc:ing Guillem.
# apt-get install --reinstall nagios3-cgi
http://bugs.debian.org/689836
So it's broken in squeeze (dpkg database is corrupted, i.e. contains the wrong
md5sums (well, it contains the correct md5sums, too, but at the wrong
place)). Whether this happens depends on the configuration order. If
nagios-doc is configured before nagios3-cgi it will record the new md5sum for
updated conffiles for nagios3-doc instead of nagios-cgi ... even if it no
longer owns these files.
I have no idea how many packages are possibly affected by this or how this can
be fixed ... therefore Cc:ing Guillem.
# apt-get install --reinstall nagios3-cgi
Great, that FIXED the DB.
Right, it should just be either a matter of time, once every problematicpackage has been upgraded after getting a fixed dpkg, or people actively
reinstalling broken packages. In any case, for wheezy I guess it would
be nice to strongly recommend on the release notes to upgrade dpkg first.
Based on the bug discussion, I believe this bug against nagios3-cgi should
be closed. The problem is with the dpkg database, and it doesn't sound
like there's anything the package needs to (or should do) to deal with
that issue; it's fixed by either dealing with the prompt during upgrade or
reinstalling the package.
agreed, so I'll close this bug now.be closed. The problem is with the dpkg database, and it doesn't sound
like there's anything the package needs to (or should do) to deal with
that issue; it's fixed by either dealing with the prompt during upgrade or
reinstalling the package.
apt-get install --reinstall *before* the upgrade is an easy workaround -
if we make people aware of it.
Andreas
--
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org
To UNSUBSCRIBE, email to debian-bugs-dist-***@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact ***@lists.debian.org