package cups (not installed) 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
Setting up cups (1.5.2-9ubuntu1) ...
start: Job failed to start
invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing cups (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of printer-
printer-
Package cups is not configured yet.
dpkg: error processing printer-
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
cups
printer-
E: Sub-process /usr/bin/dpkg returned an error code (1)
mfauzirahman@
ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: cups (not installed)
Uname: Linux 3.4.0-030400rc2
ApportVersion: 2.0.1-0ubuntu2
AptOrdering:
cups: Install
printer-
cups: Configure
printer-
Architecture: i386
Date: Thu Apr 12 17:54:15 2012
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta i386 (20120405)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
MachineType: Dell Inc. XPS M1330
Papersize: letter
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: cups
Title: package cups (not installed) 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: 12/26/2008
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A15
dmi.board.name: 0N6705
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: XPS M1330
dmi.sys.vendor: Dell Inc.
modified.
mtime.conffile.
tags: | removed: need-duplicate-check |
Seems that CUPS does not start after the update:
----------
Setting up cups (1.5.2-9ubuntu1) ...
Installing new version of config file /etc/init/cups.conf ...
start: Job failed to start
invoke-rc.d: initscript cups, action "start" failed.
dpkg: error processing cups (--configure):
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!
Most probably the same problem as bug 968956.