Hi! On Tue, 2012-11-13 at 13:18:37 -0800, Don Armstrong wrote: > Control: tag -1 patch > > Please find the attached patches which fix this problem. I've tested > them a bit, but please review them. > > ca-certificates (20121112+nmu1) unstable; urgency=low > > * Non-maintainer upload > * Breaks ca-certificates-java (<<20121112+nmu1); partially fixing #537051. > * Provide update-ca-certificates and update-ca-certificates-fresh > triggers. > * Call the triggers using no-await so that the configuration files from > the newer version of ca-certificates-java are in places before the > upgrade. Closes: #537051.
> diff --git a/debian/ca-certificates.triggers b/debian/ca-certificates.triggers > new file mode 100644 > index 0000000..14dec6e > --- /dev/null > +++ b/debian/ca-certificates.triggers > @@ -0,0 +1,4 @@ > +interest-noawait update-ca-certificates > +interest-noawait update-ca-certificates-fresh As these are not supported by squeeze's dpkg, this can cause upgrade problems (see below). > +interest update-ca-certificates > +interest update-ca-certificates-fresh (OOC why the duplicates?) > diff --git a/debian/control b/debian/control > index 5ef776e..8f84573 100644 > --- a/debian/control > +++ b/debian/control > @@ -13,9 +13,11 @@ Vcs-Browser: > http://git.debian.org/?p=collab-maint/ca-certificates.git > > Package: ca-certificates > Architecture: all > +Pre-Depends: dpkg (>= 1.16.1) This only guarantees that this dpkg version will be configured before installing this package, but not that the currently running dpkg will be that one version, so the upgrade from squeeze can still fail due to parser errors for the unknown triggers directive. > diff --git a/debian/postinst b/debian/postinst > index 198c57e..9964e27 100644 > --- a/debian/postinst > +++ b/debian/postinst > @@ -142,12 +142,29 @@ EOF > # fix bogus symlink to ca-certificates.crt on upgrades; see > # Debian #643667; drop after wheezy > if dpkg --compare-versions "$2" lt-nl 20111025; then > - update-ca-certificates --fresh > + dpkg-trigger --no-await update-ca-certificates-fresh > else > - update-ca-certificates > + dpkg-trigger --no-await update-ca-certificates > fi > ;; This is of course fine, though. Thanks, Guillem -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org