package cups 1.5.2-9ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Bug #983721 reported by Kevin
30
This bug affects 4 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

My computer froze ( I believe bad hard drive) while configuring my printer, then after rebooting, it showed error message when trying to change printer settings and would not connect to localhost for cups to start.

ProblemType: Package
DistroRelease: Ubuntu 12.04
Package: cups 1.5.2-9ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-19.31-generic-pae 3.2.12
Uname: Linux 3.2.0-19-generic-pae i686
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu4
AptOrdering:
 cups: Install
 printer-driver-gutenprint: Install
 cups: Configure
 printer-driver-gutenprint: Configure
Architecture: i386
Date: Tue Apr 17 00:16:18 2012
DuplicateSignature:
 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
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha i386 (20120224)
Lpstat: Error: command ['lpstat', '-v'] failed with exit code 1: lpstat: Connection refused
Papersize: letter
PpdFiles:
 i900D2: Canon i850 - CUPS+Gutenprint v5.2.8-pre1
 i900D: Canon i900D - CUPS+Gutenprint v5.2.8-pre1
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-19-generic-pae root=UUID=70b171d9-74a3-4469-b895-9796e9226c25 ro quiet splash vt.handoff=7
SourcePackage: cups
Title: package cups 1.5.2-9ubuntu1 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/23/2003
dmi.bios.vendor: Intel Corp.
dmi.bios.version: RL86510A.86A.0069.P12.0310231435
dmi.board.name: D865PERL
dmi.board.vendor: Intel Corporation
dmi.board.version: AAC40926-202
dmi.chassis.type: 2
dmi.modalias: dmi:bvnIntelCorp.:bvrRL86510A.86A.0069.P12.0310231435:bd10/23/2003:svn:pn:pvr:rvnIntelCorporation:rnD865PERL:rvrAAC40926-202:cvn:ct2:cvr:
modified.conffile..etc.cups.cupsd.conf:

mtime.conffile..etc.cups.cupsd.conf: 2012-04-16T23:56:52.720504

Revision history for this message
Kevin (blackhawkover-gmail) wrote :
Revision history for this message
Kevin (blackhawkover-gmail) wrote :

The error report shown above came because i thought I would fix it by removing and then adding cups. It was upon installing cups that this error was reported.

tags: removed: need-duplicate-check
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in cups (Ubuntu):
status: New → Confirmed
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

pitti, seems to be an upstart problem. Can you have a look ? Thanks.

Revision history for this message
Martin Pitt (pitti) wrote :

The log says

X [16/Apr/2012:23:59:17 -0700] No valid Listen or Port lines were found in the configuration file.

so it seems you somehow damaged your /etc/cups/cupsd.conf ?

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Problem caused by broken cupsd.conf.

Changed in cups (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.