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
error at update
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: Wed Apr 4 21:42:30 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120404)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
MachineType: SAMSUNG ELECTRONICS CO., LTD. 300V3Z/
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: 10/12/2011
dmi.bios.vendor: Phoenix Technologies Ltd.
dmi.bios.version: 02FU
dmi.board.
dmi.board.name: 300V3Z/
dmi.board.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.board.version: FAB1
dmi.chassis.
dmi.chassis.type: 9
dmi.chassis.vendor: SAMSUNG ELECTRONICS CO., LTD.
dmi.chassis.
dmi.modalias: dmi:bvnPhoenixT
dmi.product.name: 300V3Z/
dmi.product.
dmi.sys.vendor: SAMSUNG ELECTRONICS CO., LTD.
tags: | removed: need-duplicate-check |
According to the terminal log, CUPS does not restart after the package update:
----------
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
----------
Please run the following commands in a terminal window:
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!