[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
Eric Desrochers
eric.desrochers at canonical.com
Fri Dec 15 05:17:16 UTC 2017
** Patch added: "lp1723198_zesty.debdiff"
https://bugs.launchpad.net/ubuntu/+source/dpkg/+bug/1723198/+attachment/5022883/+files/lp1723198_zesty.debdiff
** Changed in: dpkg (Ubuntu Zesty)
Status: Confirmed => In Progress
** 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
the triggers loop.
[Test Case]
- 1. Install Ubuntu server 14.04.5 + all the updates
-
+ # Install Ubuntu server 14.04.5 + all the updates
(I used "uvt-kvm create trustylp1723198 release=trusty")
- ubuntu at trustylp1723198:~$ cat /etc/os-release
- NAME="Ubuntu"
- VERSION="14.04.5 LTS, Trusty Tahr"
- [...]
+ sudo apt update
+ sudo apt upgrade
- $ sudo apt update
- $ sudo apt upgrade
- $ sudo reboot
+ # Install ca-certificates-java and man-db
+ sudo apt install ca-certificates-java man-db
- 2. Install ca-certificates-java and man-db
+ # Upgrade to 16.04 LTS with do-release-upgrade and proceed with the upgrade
+ sudo do-release-upgrade
- $ sudo apt install ca-certificates-java man-db
-
- 3. Reboot
-
- $ sudo reboot
-
- 4. Upgrade to 16.04 LTS with do-release-upgrade and proceed with the
- upgrade
-
- $ sudo do-release-upgrade
-
- Continue running under SSH?
- [...]
- Continue [yN] y
-
- [...]
-
- Do you want to start the upgrade?
-
- 14 installed packages are no longer supported by Canonical. You can
- still get support from the community.
-
- 12 packages are going to be removed. 141 new packages are going to be
- installed. 412 packages are going to be upgraded.
-
- You have to download a total of 258 M. This download will take about
- 58 seconds with your connection.
-
- Installing the upgrade can take several hours. Once the download has
- finished, the process cannot be canceled.
-
- Continue [yN] Details [d] y
-
- [...]
-
- Question: Restart services during upgrade --> Yes
-
- [...]
-
+ output:
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, Xenial and late doesn't have openjdk-7 available
- as it has openjdk-8.
+ as it has openjdk-8. This will have the effect to make the upgrade work
+ correctly.
[Other Info]
- Debian bug :
- * https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863803
+ * 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
+ * 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)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to dpkg 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 dpkg package in Ubuntu:
Confirmed
Status in dpkg source package in Xenial:
In Progress
Status in dpkg source package in Zesty:
In Progress
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 the triggers loop.
[Test Case]
# Install Ubuntu server 14.04.5 + all the updates
(I used "uvt-kvm create trustylp1723198 release=trusty")
sudo apt update
sudo apt upgrade
# Install ca-certificates-java and man-db
sudo apt install ca-certificates-java man-db
# Upgrade to 16.04 LTS with do-release-upgrade and proceed with the upgrade
sudo do-release-upgrade
output:
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, Xenial and late doesn't have openjdk-7 available
as it has openjdk-8. This will have the effect to make the upgrade
work correctly.
[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/dpkg/+bug/1723198/+subscriptions
More information about the foundations-bugs
mailing list