package gnome-menus 3.13.3-6ubuntu3.1 failed to install/upgrade: triggers looping, abandoned
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OEM Priority Project |
Fix Released
|
Critical
|
Unassigned | ||
gnome-menus (Ubuntu) |
Invalid
|
Critical
|
Julian Andres Klode | ||
Xenial |
Invalid
|
Undecided
|
Julian Andres Klode | ||
Bionic |
Invalid
|
Undecided
|
Julian Andres Klode | ||
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Xenial |
Invalid
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
[Impact]
Upgrades on some systems fail with trigger issues related to gnome-menus. Upgrading libc6 first fixes that, so we modified u-r-u to upgrade it first.
[Test case]
Restore apt-clone file from comment #20 and upgrade to bionic with u-r-u.
[Regression potential]
(1) Upgrade of libc6 fails, upgrade would revert
(2) If upgrade of libc6 succeeds, but we cannot find an ordering for the remaining upgrades, we are stuck with just libc6 upgraded. It seems unlikely that we find an ordering for all packages, but none for the set without libc6 though.
# Original bug report
Dell XPS 13 9360 (CID 201606-22338)
pre-installed (oem) image Xenial
[Description]
When I tried to perform 16.04 --> 18.04 update, the update process failed. The process guide me to file this bug report.
[Steps to reproduce]
1. Update the system to the latest stack by "sudo apt-get update; sudo apt-get dist-upgrade -y"
2. Reboot
3. Make sure /etc/update-
4. Perform the release update: "sudo apt-get update; sudo do-release-upgrade -d"
5. During the update process, it prompts for "Configuring gdm3". There are two choices "gdm3" and "lightdm". I picked up "gdm3". Please refer to the attachment for the prompt details as well.
We should use "-d" because bionic beaver has not been officially released yet.
[Expected Result]
The release update completed and I could start using Bionic instead of Xenial.
[Actual Result]
The update process failed. It shows the error message[1] and automatically asking for filing this bug report.
[1]
Preparing to unpack .../qml-
Unpacking qml-module-
Preparing to unpack .../qml-
Unpacking qml-module-
(Reading database ... 253705 files and directories currently installed.)
Removing unity-webapps-
Removing unity-webapps-
Removing webapp-container (0.23+16.
Removing webbrowser-app (0.23+16.
dpkg: cycle found while processing triggers:
chain of packages whose triggers are or may be responsible:
bamfdaemon -> gnome-menus
packages' pending triggers which are or may be unresolvable:
gnome-menus: /usr/share/
bamfdaemon: /usr/share/
libglib2.
desktop-
mime-support: /usr/share/
dpkg: error processing package gnome-menus (--remove):
triggers looping, abandoned
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
Errors were encountered while processing:
gnome-menus
ERROR: Cannot create report: [Errno 17] File exists: '/var/crash/
Exception during pm.DoInstall(): E:Sub-process /usr/bin/dpkg returned an error code (1)
*** Send problem report to the developers?
After the problem report has been sent, please fill out the form in the
automatically opened web browser.
What would you like to do? Your options are:
S: Send report (376.4 KB)
V: View report
K: Keep report file for sending later or copying to somewhere else
I: Cancel and ignore future crashes of this program version
C: Cancel
Please choose (S/V/K/I/C):
...... (a lot of them)
qml-module-
qml-module-
libunity-
libqt5quickcon
libglib2.0-bin
libkf5plasma5:
locales
qml-module-
libkf5coreaddo
gir1.2-
libwebkit2gtk-
Processing was halted because there were too many errors.
Upgrade complete
The upgrade has completed but there were errors during the upgrade
process.
To continue please press [ENTER]
ubuntu@
=======
ProblemType: Package
DistroRelease: Ubuntu 18.04
Package: gnome-menus 3.13.3-6ubuntu3.1
ProcVersionSign
Uname: Linux 4.4.0-121-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.16
Architecture: amd64
Date: Wed Apr 25 22:00:01 2018
Dependencies:
DistributionCha
# This is a distribution channel descriptor
# For more information see http://
canonical-
ErrorMessage: triggers looping, abandoned
InstallationDate: Installed on 2018-04-25 (0 days ago)
InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
RelatedPackageV
dpkg 1.18.4ubuntu1.4
apt 1.2.26
SourcePackage: gnome-menus
Title: package gnome-menus 3.13.3-6ubuntu3.1 failed to install/upgrade: triggers looping, abandoned
UpgradeStatus: Upgraded to bionic on 2018-04-25 (0 days ago)
Related branches
- Steve Langasek: Approve
-
Diff: 89 lines (+57/-1)1 file modifiedDistUpgrade/DistUpgradeController.py (+57/-1)
tags: | removed: need-duplicate-check |
Changed in oem-priority: | |
importance: | Undecided → Critical |
Changed in oem-priority: | |
assignee: | nobody → Chen-Han Hsiao (Stanley) (swem) |
description: | updated |
Changed in oem-priority: | |
status: | New → Confirmed |
tags: | added: id-5af34d8d6d9b09e77c9ac829 |
tags: | added: triggers-looping |
Changed in gnome-menus (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in gnome-menus (Ubuntu): | |
status: | Fix Released → Confirmed |
Changed in gnome-menus (Ubuntu): | |
milestone: | none → ubuntu-18.04.1 |
Changed in oem-priority: | |
assignee: | Chen-Han Hsiao (Stanley) (swem) → nobody |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | New → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu Xenial): | |
status: | New → Invalid |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → In Progress |
Changed in ubuntu-release-upgrader (Ubuntu Bionic): | |
status: | Triaged → In Progress |
description: | updated |
Changed in gnome-menus (Ubuntu Bionic): | |
status: | Confirmed → Won't Fix |
Changed in gnome-menus (Ubuntu Xenial): | |
status: | Confirmed → Won't Fix |
Changed in gnome-menus (Ubuntu Bionic): | |
status: | Won't Fix → Triaged |
Changed in gnome-menus (Ubuntu Xenial): | |
status: | Won't Fix → Confirmed |
Changed in gnome-menus (Ubuntu Bionic): | |
status: | Triaged → Confirmed |
Changed in gnome-menus (Ubuntu Bionic): | |
assignee: | nobody → Julian Andres Klode (juliank) |
Changed in oem-priority: | |
status: | Confirmed → Fix Released |
Changed in gnome-menus (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in gnome-menus (Ubuntu Xenial): | |
status: | Confirmed → Invalid |
Changed in gnome-menus (Ubuntu Bionic): | |
status: | Confirmed → Invalid |
Thanks for your report.
Could you please attach a tarball of the directory /var/log/ dist-upgrade to this bug report?