← Back to team overview

openjdk team mailing list archive

[Bug 1723198] Re: [SRU] upgrade from 14.04 to 16.04 fails with: ca-certificates 20170717~16.04.1 failed to install/upgrade: triggers looping, abandoned

 

Hello MadCatmkII, or anyone else affected,

Accepted ca-certificates-java into xenial-proposed. The package will
build now and be available at https://launchpad.net/ubuntu/+source/ca-
certificates-java/20160321ubuntu1 in a few hours, and then in the
-proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested and change the tag from
verification-needed-xenial to verification-done-xenial. If it does not
fix the bug for you, please add a comment stating that, and change the
tag to verification-failed-xenial. In either case, without details of
your testing we will not be able to proceed.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Description changed:

  [Impact]
  
  ca-certificates-java currently depend on openjdk-7 which no longer exist
  after Trusty. It triggers failures while doing release upgrade, due to
  triggers loop.
  
  [Test Case]
  
  # Install Ubuntu server 14.04.5 + all the updates.
  (I used "uvt-kvm create trustylp1723198 release=trusty")
  
  sudo apt-get update
  sudo apt-get dist-upgrade
  
  # Install ca-certificates-java and man-db.
  sudo apt-get install ca-certificates-java man-db
  
  # Upgrade to 16.04 LTS.
  sudo do-release-upgrade
  
  # Error:
  ..........................
  Removing ca-certificates-java (20130815ubuntu1) ...
  Removing openjdk-7-jre-headless:amd64 (7u151-2.6.11-2ubuntu0.14.04.1) ...
  dpkg: cycle found while processing triggers:
  chain of packages whose triggers are or may be responsible:
  man-db -> ca-certificates
  packages' pending triggers which are or may be unresolvable:
  ca-certificates: update-ca-certificates
  man-db: /usr/share/man
  dpkg: error processing package ca-certificates (--remove):
  triggers looping, abandoned
  
  [Regression Potential]
  
   * Regression is low risk. Xenial and late doesn't have openjdk-7
  available in the archive. It has openjdk-8. This will have the effect to
  make the release upgrade to work correctly when ca-certificates-java is
  installed. This patch has been already proven to work in Artful, Bionic
  and Debian upstream.
  
- * The actual "ca-certificates-java" install openjdk-9 (universe), with
- this fix the new package will install openjdk-8 (main) which is
- preferable. Meaning there will be a change behaviour. For more detail:
- See Comment #16, #17 & #18. Foundation is fine with the behaviour
- change.
+ * The current "ca-certificates-java" installs openjdk-9 (universe), with
+ this fix the new package will install openjdk-8 (main).  This is a
+ change in behaviour, but ca-certificates-java's dependency on openjdk-7
+ -jre-headless | java-runtime-headless means the package manager handling
+ of the dependency is inconsistent anyway. For more detail: See Comment
+ #16, #17 & #18.
  
  [Other Info]
  
   * Debian bug :
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863803
  
   * Debian commit:
   https://anonscm.debian.org/cgit/pkg-java/ca-certificates-java.git/commit/?id=0ddf3c9
  
  [Original Description]
  Test Case:
  1. Install Ubuntu server 14.04.5 + all the updates
  2. Install ca-certificates-java and man-db
  3. Reboot
  4. Upgrade to 16.04 LTS with do-release-upgrade and proceed with the upgrade
  
  Actual Result
  Upgrade fails with
  Removing ca-certificates-java (20130815ubuntu1) ...
  Removing openjdk-7-jre-headless:amd64 (7u151-2.6.11-2ubuntu0.14.04.1) ...
  dpkg: cycle found while processing triggers:
   chain of packages whose triggers are or may be responsible:
    man-db -> ca-certificates
   packages' pending triggers which are or may be unresolvable:
    ca-certificates: update-ca-certificates
    man-db: /usr/share/man
  dpkg: error processing package ca-certificates (--remove):
   triggers looping, abandoned
  
  I have no further information to give at this time except to say that
  there were several errors during the upgrade process from 14.04.
  
  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: ca-certificates 20170717~16.04.1
  ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87
  Uname: Linux 4.4.0-97-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  Date: Thu Oct 12 17:52:19 2017
  ErrorMessage: triggers looping, abandoned
  InstallationDate: Installed on 2013-11-16 (1425 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.24
  SourcePackage: ca-certificates
  Title: package ca-certificates 20170717~16.04.1 failed to install/upgrade: triggers looping, abandoned
  UpgradeStatus: Upgraded to xenial on 2017-10-12 (0 days ago)

** Changed in: ca-certificates-java (Ubuntu Xenial)
       Status: In Progress => Fix Committed

** Tags added: verification-needed verification-needed-xenial

** Changed in: ca-certificates-java (Ubuntu Zesty)
       Status: In Progress => Fix Committed

** Tags added: verification-needed-zesty

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to ca-certificates-java in Ubuntu.
https://bugs.launchpad.net/bugs/1723198

Title:
  [SRU] upgrade from 14.04 to 16.04 fails with: ca-certificates
  20170717~16.04.1 failed to install/upgrade: triggers looping,
  abandoned

Status in ca-certificates-java package in Ubuntu:
  Fix Released
Status in ca-certificates-java source package in Xenial:
  Fix Committed
Status in ca-certificates-java source package in Zesty:
  Fix Committed

Bug description:
  [Impact]

  ca-certificates-java currently depend on openjdk-7 which no longer
  exist after Trusty. It triggers failures while doing release upgrade,
  due to triggers loop.

  [Test Case]

  # Install Ubuntu server 14.04.5 + all the updates.
  (I used "uvt-kvm create trustylp1723198 release=trusty")

  sudo apt-get update
  sudo apt-get dist-upgrade

  # Install ca-certificates-java and man-db.
  sudo apt-get install ca-certificates-java man-db

  # Upgrade to 16.04 LTS.
  sudo do-release-upgrade

  # Error:
  ..........................
  Removing ca-certificates-java (20130815ubuntu1) ...
  Removing openjdk-7-jre-headless:amd64 (7u151-2.6.11-2ubuntu0.14.04.1) ...
  dpkg: cycle found while processing triggers:
  chain of packages whose triggers are or may be responsible:
  man-db -> ca-certificates
  packages' pending triggers which are or may be unresolvable:
  ca-certificates: update-ca-certificates
  man-db: /usr/share/man
  dpkg: error processing package ca-certificates (--remove):
  triggers looping, abandoned

  [Regression Potential]

   * Regression is low risk. Xenial and late doesn't have openjdk-7
  available in the archive. It has openjdk-8. This will have the effect
  to make the release upgrade to work correctly when ca-certificates-
  java is installed. This patch has been already proven to work in
  Artful, Bionic and Debian upstream.

  * The current "ca-certificates-java" installs openjdk-9 (universe),
  with this fix the new package will install openjdk-8 (main).  This is
  a change in behaviour, but ca-certificates-java's dependency on
  openjdk-7-jre-headless | java-runtime-headless means the package
  manager handling of the dependency is inconsistent anyway. For more
  detail: See Comment #16, #17 & #18.

  [Other Info]

   * Debian bug :
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863803

   * Debian commit:
   https://anonscm.debian.org/cgit/pkg-java/ca-certificates-java.git/commit/?id=0ddf3c9

  [Original Description]
  Test Case:
  1. Install Ubuntu server 14.04.5 + all the updates
  2. Install ca-certificates-java and man-db
  3. Reboot
  4. Upgrade to 16.04 LTS with do-release-upgrade and proceed with the upgrade

  Actual Result
  Upgrade fails with
  Removing ca-certificates-java (20130815ubuntu1) ...
  Removing openjdk-7-jre-headless:amd64 (7u151-2.6.11-2ubuntu0.14.04.1) ...
  dpkg: cycle found while processing triggers:
   chain of packages whose triggers are or may be responsible:
    man-db -> ca-certificates
   packages' pending triggers which are or may be unresolvable:
    ca-certificates: update-ca-certificates
    man-db: /usr/share/man
  dpkg: error processing package ca-certificates (--remove):
   triggers looping, abandoned

  I have no further information to give at this time except to say that
  there were several errors during the upgrade process from 14.04.

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: ca-certificates 20170717~16.04.1
  ProcVersionSignature: Ubuntu 4.4.0-97.120-generic 4.4.87
  Uname: Linux 4.4.0-97-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.1-0ubuntu2.10
  Architecture: amd64
  Date: Thu Oct 12 17:52:19 2017
  ErrorMessage: triggers looping, abandoned
  InstallationDate: Installed on 2013-11-16 (1425 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016)
  PackageArchitecture: all
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.24
  SourcePackage: ca-certificates
  Title: package ca-certificates 20170717~16.04.1 failed to install/upgrade: triggers looping, abandoned
  UpgradeStatus: Upgraded to xenial on 2017-10-12 (0 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ca-certificates-java/+bug/1723198/+subscriptions