Quoting Drew Parsons <[EMAIL PROTECTED]> (2005-08-03 02:59:41 BST):
> On Wed, 2005-08-03 at 02:52 +0100, Andrew Stribblehill wrote:
> > > 
> > > Hi Andrew, you've got an extremely old version of Xprint there. Please
> > > upgrade to the latest version (1:0.1.0.alpha1-[10|11]) of the xprint
> > > package in either of sarge, etch or sid, and report back if the
> > > undesirable behaviour is still occuring.
> > 
> > I'm afraid so:
> > 
> > Setting up xprint (0.1.0.alpha1-11) ...
> > Restarting Xprint server(s): Xprt.
> > Stopping Xprint servers: Xprt.
> > Starting Xprint servers: Xprt.
> > 
> > wompom:/tmp# dpkg --purge xprint
> > dpkg: dependency problems prevent removal of xprint:
> >  xprint-common depends on xprint.
> > dpkg: error processing xprint (--purge):
> >  dependency problems - not removing
> > Errors were encountered while processing:
> >  xprint
> > wompom:/tmp# dpkg --remove xprint xprint-common
> > (Reading database ... 108631 files and directories currently installed.)
> > Removing xprint ...
> > Stopping Xprint servers: Xprt.
> > Removing xprint-common ...
> > Stopping Xprint servers: Xprt.
> > wompom:/tmp# /etc/init.d/xprint stop
> > Stopping Xprint servers: Xprt.
> > wompom:/tmp# /etc/init.d/xprint start
> > Starting Xprint servers: Xprt.
> > /etc/init.d/xprint: ## ERROR: Can't find "/usr/X11R6/bin/Xprt".
> > 
> 
> OK thanks for confirming it.  Looks like its trying to restart the
> server instead of just stopping it when removing.  I'll try to clear it
> up.
> 
> Can you check that /etc/init.d/xprint is in fact gone?  It's a config
> file I think, so dpkg might have left it in place. If it is still there,
> then please confirm that the xprint references in /etc/rc?.d have been
> removed.

wompom:/tmp# find /etc -name '*xprint*'
/etc/X11/Xsession.d/92xprint-xpserverlist
/etc/init.d/xprint
/etc/default/xprint
/etc/rc0.d/K20xprint
/etc/rc1.d/K20xprint
/etc/rc2.d/S20xprint
/etc/rc3.d/S20xprint
/etc/rc4.d/S20xprint
/etc/rc5.d/S20xprint
/etc/rc6.d/K20xprint

Looks like they haven't, but I don't think that's what needs to be
fixed. I think what you need is like in /etc/init.d/cron:

#!/bin/sh
# Start/stop the cron daemon.

test -f /usr/sbin/cron || exit 0

...

-- 
Andrew Stribblehill <[EMAIL PROTECTED]>
Senior Systems Programmer, IT Service, University of Durham, England


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to