package cups 1.5.2-9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
was upgrading my 12.04 install with apt-get upgrade when this happened .
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: cups 1.5.2-9
Uname: Linux 3.4.0-030400rc1
ApportVersion: 2.0-0ubuntu4
Architecture: amd64
CupsErrorLog:
Date: Fri Apr 6 08:00:46 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120325)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
Papersize: letter
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
Title: package cups 1.5.2-9 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 06/10/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: FIb
dmi.board.name: GA-M55PLUS-S3G
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.chassis.type: 3
dmi.modalias: dmi:bvnAwardSof
tags: | removed: need-duplicate-check |
The terminal log contains:
---------
Processing triggers for cups ...
start: Job failed to start
invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing cups (--unpack):
subprocess installed post-installation script returned error exit status 1
---------
This means that CUPS did not start after the update.
Please do
wget http:// people. canonical. com/~pitti/ tmp/cups. upstart. debug cups.conf{ ,.orig}
sudo cp /etc/init/
sudo cp cups.upstart.debug /etc/init/cups.conf
sudo stop cups
sudo start cups
This should fail again. Please attach /tmp/log here.
After that, please restore the original script again with
sudo mv /etc/init/ cups.conf{ .orig,}
Thanks!