On Thu, 29 Nov 2012, Guillem Jover wrote:
> On Tue, 2012-11-13 at 13:18:37 -0800, Don Armstrong wrote:
> > 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?)

They're not duplicated; it can handle both noawait and non-noawait
triggers.
 
> > 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.

I've actually tested this, and it hasn't been a problem. I suppose the
only way you could get it to be one is if you were manually using
dpkg. If that's really the case, then it basically means that no
package in wheezy can use the noawait triggers at all.

[Unfortunately, the triggers have to be noawait triggers so that the
Breaks: ca-certificates-java comes into effect before the trigger
fires.]


Don Armstrong

-- 
I have no use for "before and after" pictures.
I can't remember starting, and I'm never done.
 -- a softer world #221
    http://www.asofterworld.com/index.php?id=221

http://www.donarmstrong.com              http://rzlab.ucr.edu

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to