View Single Post
Posts: 162 | Thanked: 351 times | Joined on Apr 2006 @ Cotswolds, UK
#45
Originally Posted by jsbigs View Post
Not having luck with this. Getting command not found after typing in lpstat -a in debian chroot terminal.
You may need to install the cups-client package (apt-get install cups-client).

Tried running /etc/init.d/cups start to no avail.

I then noticed cups was in /etc and not in init.d so I moved it into init.d and am getting a "cups is a directory" error, after putting in the script to start cups after restart.
/etc/cups is a directory, with several important control files and has nothing to do with the initialisation script which should be at /etc/init.d/cups! I suggest you move it back again.

If /etc/init.d/cups is not present, either it got deleted or the cups installation didn't work. After moving the config directory back in to /etc I would suggest:

apt-get install --reinstall cups cups-client cups-common

Graham
 

The Following 2 Users Say Thank You to Graham Cobb For This Useful Post: