[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#422887: Last upgrade of hplip broke the package



Le mardi 8 mai 2007, Henrique de Moraes Holschuh a écrit :
> On Tue, 08 May 2007, Nicolas DEGAND wrote:
> > When upgrading to 1.6.10-4 from 1.6.10-3, the hplip package breaks with
> > this message :
> >
> > Paramétrage de hplip (1.6.10-4) ...
> > Creating/updating hplip user account...
> > Starting HP Linux Printing and Imaging System: hpiod hpssd failed!
> > invoke-rc.d: initscript hplip, action "start" failed.
> > dpkg : erreur de traitement de hplip (--configure) :
> >  le sous-processus post-installation script a retourné une erreur de
> > sortie d'état 1
> > Des erreurs ont été rencontrées pendant l'exécution :
> >  hplip
> >
> > If I downgrade, I still encounter this problem. My printer is a HP
> > Deskjet 5550.
>
> Well, at this poing the package is mostly installed, so we can debug what
> is broken even if it is not cooperating much and pestering you with error
> messages.
>
> Make sure no hpiod/hpssd is running (kill them if you have to), and do
> this:
>
> export LANG=C
> export LC_ALL=C
> sh -x /etc/init.d/hplip start
>
> And post here the result.

+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ DESC='HP Linux Printing and Imaging System'
+ SUID_USER=hplip
+ SGID_GROUP=lp
+ DAEMON1=/usr/sbin/hpiod
+ NAME1=hpiod
+ PROCNAME1=hpiod
+ PIDFILE1=/var/run/hplip/hpiod.pid
+ DAEMON2=/usr/sbin/hpssd
+ NAME2=hpssd
+ PROCNAME2=python
+ PIDFILE2=/var/run/hplip/hpssd.pid
+ FILES2='/var/run/hplip/hpssd.pid /var/run/hplip/hpssd.port'
+ HPIODOPTIONS=
+ HPSSDOPTIONS=
+ '[' -r /etc/default/hplip ']'
+ test -f /usr/sbin/hpiod
+ . /lib/lsb/init-functions
++ FANCYTTY=
++ '[' -e /etc/lsb-base-logging.sh ']'
++ true
+ set -e
+ DIDSOMETHING=0
+ case "$1" in
+ set -e
+ do_start
+ log_daemon_msg 'Starting HP Linux Printing and Imaging System'
+ '[' -z 'Starting HP Linux Printing and Imaging System' ']'
+ '[' -z '' ']'
+ echo -n 'Starting HP Linux Printing and Imaging System:'
Starting HP Linux Printing and Imaging System:+ return
+ fixdirs
++ dpkg-statoverride --list /var/run/hplip
+ dir='hplip root 755 /var/run/hplip'
+ '[' -z 'hplip root 755 /var/run/hplip' ']'
+ createdir hplip root 755 /var/run/hplip
+ '[' -d /var/run/hplip ']'
+ chown -R -H --preserve-root hplip:root /var/run/hplip
+ chmod 755 /var/run/hplip
+ :
+ log_progress_msg hpiod
+ '[' -z hpiod ']'
+ echo -n ' hpiod'
 hpiod+ start_daemon /usr/sbin/hpiod /var/run/hplip/hpiod.pid hpiod 
hpiod '' ''
+ DAEMON=/usr/sbin/hpiod
+ PIDFILE=/var/run/hplip/hpiod.pid
+ NAME=hpiod
+ PROCNAME=hpiod
+ SSDOPT=
+ DAEMONOPT=
+ 
START='--start --quiet --pidfile /var/run/hplip/hpiod.pid --startas /usr/sbin/hpiod --name 
hpiod '
+ '[' -n '' ']'
+ 
start-stop-daemon --start --quiet --pidfile /var/run/hplip/hpiod.pid --startas /usr/sbin/hpiod --name 
hpiod
+ DIDSOMETHING=1
+ return 0
+ log_progress_msg hpssd
+ '[' -z hpssd ']'
+ echo -n ' hpssd'
 hpssd+ for i in '${FILES2}'
+ '[' -f /var/run/hplip/hpssd.pid ']'
+ chown hplip:lp /var/run/hplip/hpssd.pid
+ :
+ for i in '${FILES2}'
+ '[' -f /var/run/hplip/hpssd.port ']'
+ chown hplip:lp /var/run/hplip/hpssd.port
+ :
+ start_daemon /usr/sbin/hpssd /var/run/hplip/hpssd.pid hpssd python '--chuid 
hplip --group lp' ''
+ DAEMON=/usr/sbin/hpssd
+ PIDFILE=/var/run/hplip/hpssd.pid
+ NAME=hpssd
+ PROCNAME=python
+ SSDOPT='--chuid hplip --group lp'
+ DAEMONOPT=
+ 
START='--start --quiet --pidfile /var/run/hplip/hpssd.pid --startas /usr/sbin/hpssd --name 
python --chuid hplip --group lp'
+ '[' -n '' ']'
+ 
start-stop-daemon --start --quiet --pidfile /var/run/hplip/hpssd.pid --startas /usr/sbin/hpssd --name 
python --chuid hplip --group lp
+ DIDSOMETHING=1
+ return 0
+ log_end_msg 0
+ '[' -z 0 ']'
+ log_use_fancy_output
+ TPUT=/usr/bin/tput
+ EXPR=/usr/bin/expr
+ '[' xxterm '!=' xdumb ']'
+ '[' -x /usr/bin/tput ']'
+ '[' -x /usr/bin/expr ']'
+ /usr/bin/tput hpa 60
+ /usr/bin/tput setaf 1
+ '[' -z ']'
+ FANCYTTY=1
+ case "$FANCYTTY" in
+ true
++ /usr/bin/tput setaf 1
+ RED=''
++ /usr/bin/tput op
+ NORMAL=''
+ '[' 0 -eq 0 ']'
+ echo .
.
+ return 0
+ reload_cups
+ '[' 1 -ne 0 ']'
+ invoke-rc.d --quiet cupsys reload
+ return 0
+ return 0
+ exit 0


-- 
Nicolas DEGAND




Reply to: