Comment 4 for bug 860765

Revision history for this message
Scanning (jan-norrland) wrote : Re: [Bug 860765] Re: package cups 1.5.0-8 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

+ [ -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
+ timeout=6
+ [ ! -e /var/run/cups/cups.sock ]
+ sleep 0.5
+ timeout=5
+ [ 5 -eq 0 ]
+ [ ! -e /var/run/cups/cups.sock ]
+ sleep 0.5
+ timeout=4
+ [ 4 -eq 0 ]
+ [ ! -e /var/run/cups/cups.sock ]
+ sleep 0.5
+ timeout=3
+ [ 3 -eq 0 ]
+ [ ! -e /var/run/cups/cups.sock ]
+ sleep 0.5
+ timeout=2
+ [ 2 -eq 0 ]
+ [ ! -e /var/run/cups/cups.sock ]
+ sleep 0.5
+ timeout=1
+ [ 1 -eq 0 ]
+ [ ! -e /var/run/cups/cups.sock ]
+ sleep 0.5
+ timeout=0
+ [ 0 -eq 0 ]
+ echo cupsd failed to create /var/run/cups/cups.sock, skipping
automatic printer configuration
cupsd failed to create /var/run/cups/cups.sock, skipping automatic
printer configuration
+ exit 0

On 2011-09-28 06:32, Martin Pitt wrote:
> Can you please download
> http://people.canonical.com/~pitti/tmp/cups.conf, install it with
>
> sudo cp cups.conf /etc/init/
>
> and then do
>
> sudo stop cups
> sudo start cups
>
> let it fail, and attach /tmp/log here? Thanks!
>
> ** Changed in: cups (Ubuntu)
> Status: New => Incomplete
>