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

Bug #1002510 reported by damian on 2012-05-21
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
courier-authlib (Ubuntu)
Undecided
Unassigned

Bug Description

I only want to delete the package, but it won't allow deletion or upgrade of the package.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: courier-authlib-mysql 0.63.0-3.1ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.38-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Mon May 21 13:56:10 2012
ErrorMessage: subprocess new pre-removal script returned error exit status 1
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: courier-authlib
Title: package courier-authlib-mysql 0.63.0-3.1ubuntu1 failed to install/upgrade: subprocess new pre-removal script returned error exit status 1
UpgradeStatus: Upgraded to precise on 2012-05-01 (20 days ago)
modified.conffile..etc.courier.authmysqlrc: [modified]
mtime.conffile..etc.courier.authmysqlrc: 2012-03-27T16:24:08.302843

damian (galoisring) wrote :
tags: removed: need-duplicate-check
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in courier-authlib (Ubuntu):
status: New → Confirmed
Laurent Declercq (l-declercq) wrote :

Same here. Upgrade failed on xenial.

Well, to fix the problem, I've created the expected file manually and run apt-get install -f. Once done, I've purged the package and reinstalled it. Then installation failed because the service authdaemon could not start. This is due to the new systemd /usr/lib/tmpfiles.d/courier-authdaemon.conf configuration file which attemps to create run directory with wrong user (courier) instead of the daemon user.

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

Other bug subscribers