package courier-authlib-mysql 0.63.0-4build1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1

Bug #1482956 reported by Joachim Durchholz on 2015-08-09
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
courier-authlib (Ubuntu)
Undecided
Unassigned

Bug Description

This worked when I retried the upgrade with mysqld running. (I had the server in maintenance mode, which meant switching off most services.)

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: courier-authlib-mysql 0.63.0-4build1
ProcVersionSignature: Ubuntu 3.2.0-88.126-generic 3.2.69
Uname: Linux 3.2.0-88-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
Date: Sat Aug 8 20:01:18 2015
DuplicateSignature: package:courier-authlib-mysql:0.63.0-4build1:subprocess new pre-removal script returned error exit status 1
ErrorMessage: subprocess new pre-removal script returned error exit status 1
SourcePackage: courier-authlib
Title: package courier-authlib-mysql 0.63.0-4build1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2015-08-08 (0 days ago)
mtime.conffile..etc.courier.authmysqlrc: 2010-02-02T17:57:26

tags: removed: need-duplicate-check

Argh. This hit me again because I didn't remember that mysql is needed running while the upgrade runs.
Very annoying.

authmysqlrc removed (held sensitive data)

courier-authdaemond needs to be running, too.

Seems like the postinst script blindly assumes all services are running so it can take them down.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers