package cups-daemon 2.1.3-4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Xenial |
Fix Released
|
High
|
Eric Desrochers | ||
Yakkety |
Fix Released
|
High
|
Unassigned | ||
Zesty |
Fix Released
|
High
|
Unassigned |
Bug Description
This concerns only Xenial (16.04)!
[Impact]
* fail to upgrade
[testcase]
Root cause is believed to be reproducible with:
#!/bin/bash
systemctl stop cups.path cups.service
rm /var/cache/
systemctl start cups.path
touch /var/cache/
sleep 1
rm /var/cache/
sleep 1
systemctl stop cups.service
echo $?
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: cups-daemon 2.1.3-4
ProcVersionSign
Uname: Linux 4.4.0-46-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: amd64
CupsErrorLog:
Date: Fri Nov 18 11:13:15 2016
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationDate: Installed on 2016-05-02 (200 days ago)
InstallationMedia: Ubuntu 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.1)
Lpstat: device for mallards-
MachineType: Dell Inc. XPS 15 9550
Papersize: a4
PpdFiles: mallards-
ProcCmdline: BOOT_IMAGE=
ProcKernelCmdLine: BOOT_IMAGE=
RelatedPackageV
dpkg 1.18.4ubuntu1.1
apt 1.2.15
SourcePackage: cups
Title: package cups-daemon 2.1.3-4 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 04/07/2016
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 01.02.00
dmi.board.name: 0N7TVV
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: XPS 15 9550
dmi.sys.vendor: Dell Inc.
[Regression Potential]
Regression risk is low, the fix mitigate cups failing to stop/restart on upgrade. No source code change, just adding a custom pre-removal maintainer script in case of upgrade failure.
[Regression in Pending SRU page]
* Regression in autopkgtest for c2esp (armhf): test log
This autopkgtest seems always fails :
http://
c2esp [xenial/armhf]
Version Triggers Date Duration Result
27-2 cups/2.
27-2 cups/2.
27-2 cups/2.
27-2 cups/2.
Additionally look at Till comment :
https:/
* Regression in autopkgtest for libreoffice (i386): test log
It's a known issue, A regression in the kernel, which breaks libreoffice with java enabled on i386 :
https:/
... so until this is fixed upstream in the kernel and backported in an ubuntu kernel, I'm afraid the only option is to just ignore the failure.
[Other Info]
* The patch is joint effort between xnox and slashd.
Changed in cups (Ubuntu): | |
importance: | Undecided → High |
Changed in cups (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in init-system-helpers (Ubuntu): | |
importance: | Undecided → High |
Changed in systemd (Ubuntu): | |
importance: | Undecided → High |
Changed in cups (Ubuntu): | |
status: | Invalid → Confirmed |
tags: | removed: need-duplicate-check |
Changed in systemd (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
milestone: | none → ubuntu-16.12 |
description: | updated |
Changed in systemd (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in init-system-helpers (Ubuntu): | |
status: | Confirmed → Invalid |
Changed in cups (Ubuntu): | |
assignee: | nobody → Dimitri John Ledkov (xnox) |
milestone: | none → ubuntu-16.12 |
no longer affects: | init-system-helpers (Ubuntu) |
no longer affects: | systemd (Ubuntu) |
no longer affects: | init-system-helpers (Ubuntu Zesty) |
no longer affects: | init-system-helpers (Ubuntu Yakkety) |
no longer affects: | init-system-helpers (Ubuntu Xenial) |
no longer affects: | systemd (Ubuntu Xenial) |
no longer affects: | systemd (Ubuntu Yakkety) |
no longer affects: | systemd (Ubuntu Zesty) |
Changed in cups (Ubuntu Xenial): | |
status: | New → Triaged |
Changed in cups (Ubuntu Yakkety): | |
status: | New → Triaged |
Changed in cups (Ubuntu Zesty): | |
status: | Confirmed → Triaged |
Changed in cups (Ubuntu Yakkety): | |
importance: | Undecided → High |
Changed in cups (Ubuntu Xenial): | |
importance: | Undecided → High |
assignee: | nobody → Dimitri John Ledkov (xnox) |
milestone: | none → ubuntu-16.04.2 |
Changed in cups (Ubuntu Yakkety): | |
milestone: | none → yakkety-updates |
assignee: | nobody → Dimitri John Ledkov (xnox) |
Changed in cups (Ubuntu Zesty): | |
milestone: | ubuntu-16.12 → ubuntu-17.01 |
Changed in cups (Ubuntu Zesty): | |
milestone: | ubuntu-17.01 → ubuntu-17.02 |
Changed in cups (Ubuntu Zesty): | |
assignee: | Dimitri John Ledkov (xnox) → nobody |
status: | Triaged → Fix Released |
tags: | added: patch |
Changed in cups (Ubuntu Yakkety): | |
status: | Triaged → Fix Committed |
tags: | added: verification-needed |
Changed in cups (Ubuntu Xenial): | |
status: | Triaged → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
tags: |
added: verification-done-xenial removed: verification-done |
Changed in cups (Ubuntu Xenial): | |
status: | Fix Committed → Fix Released |
Changed in cups (Ubuntu Yakkety): | |
assignee: | Dimitri John Ledkov (xnox) → nobody |
Changed in cups (Ubuntu Xenial): | |
assignee: | Dimitri John Ledkov (xnox) → nobody |
Changed in cups (Ubuntu Yakkety): | |
status: | Fix Committed → Fix Released |
Changed in cups (Ubuntu Xenial): | |
status: | Fix Released → Triaged |
description: | updated |
Changed in cups (Ubuntu Xenial): | |
status: | Triaged → Confirmed |
Changed in cups (Ubuntu Xenial): | |
status: | Confirmed → Triaged |
tags: |
added: regression-proposed removed: verification-done-xenial |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done verification-done-xenial removed: patch regression-proposed verification-needed verification-needed-xenial |
This is not caused by xenial-proposed. xenial-proposed is version 2.1.3-4ubuntu0.1 and I got tons of reports on version 2.1.3-4 which is before xenial-proposed. So the origin must be somewhere else.