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

Bug #975082 reported by sojourner
14
This bug affects 2 people
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-generic x86_64
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=/boot/vmlinuz-3.4.0-030400rc1-generic root=UUID=c80c8929-b43a-4228-831d-8f3a542539d9 ro quiet splash vt.handoff=7
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:bvnAwardSoftwareInternational,Inc.:bvrFIb:bd06/10/2009:svn:pn:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-M55PLUS-S3G:rvr:cvn:ct3:cvr:

Revision history for this message
sojourner (itsmealso2) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

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
  sudo cp /etc/init/cups.conf{,.orig}
  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!

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
Miia Sample (myrtti) wrote :

Abovementioned:

+ [ -x /usr/sbin/cupsd ]
+ [ -r /etc/default/cups ]
+ . /etc/default/cups
+ LOAD_LP_MODULE=yes
+ [ yes = yes -a -f /usr/lib/cups/backend/parallel -a -f /proc/modules -a -x /sbin/modprobe ]
+ modprobe -q -b lp
+ modprobe -q -b ppdev
+ modprobe -q -b parport_pc
+ mkdir -p /var/run/cups/certs
+ [ -x /lib/init/apparmor-profile-load ]
+ /lib/init/apparmor-profile-load usr.sbin.cupsd
/sbin/apparmor_parser: Unable to replace "/usr/lib/cups/backend/cups-pdf". Profile doesn't conform to protocol
Warning failed to create cache: usr.sbin.cupsd

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

Other bug subscribers

Remote bug watches

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