Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

How to install CUPS
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
How to install CUPS
31st Oct, 2013, 02:55 AM
Post: #1
kevinbowe2000 Offline
Registered
Posts: 2
Joined: Oct 2013
Reputation: 0
How to install CUPS
Hi all,

been searching all over for a step by step guide to installing cups on xbian but unsuccessful.
Wondering if anyone has one/know where to find it?

I get all the way to editing the cupsd.conf file, but cannot find the file in the root/etc/cups folder.
Not sure why it is not there.

Any help is most appreciated.

Thanks in advance
Find all posts by this user
Quote this message in a reply
31st Oct, 2013, 05:04 AM
Post: #2
IriDium Offline
Inquisitor
******
Posts: 2,025
Joined: Jan 2013
Reputation: 170
RE: How to install CUPS
We'll need a bit more information - Please read "Please read before you post" a link in in my signature.

Also, what steps you have done to install cups, how you did it, and what the output was.

Also have you searched for the config file? sudo find / |grep -i cupsd.conf

Please read before you post
How to post a log file

If you liked my help, click on "Thanks" to show your appreciation.
Find all posts by this user
Quote this message in a reply
31st Oct, 2013, 11:50 AM
Post: #3
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: How to install CUPS
Last time I was checking some reports about CUPS not working with XBian I was following this guide

http://rohankapoor.com/2012/06/configuring-the-raspberry-pi-as-an-airprint-server/

it takes few minutes to install and works. of course you don't have to follow the complete guide if you don't want to share the printers via AirPrint.

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
1st Nov, 2013, 11:00 AM
Post: #4
kevinbowe2000 Offline
Registered
Posts: 2
Joined: Oct 2013
Reputation: 0
RE: How to install CUPS
Many thanks.

Will give it a go and see how I get on.

Ta
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 06:53 AM
Post: #5
Eneas Offline
Registered
Posts: 3
Joined: Feb 2014
Reputation: 0
RE: How to install CUPS
Hello,

I also want to install AirPrint on Xbian Beta 2. I have followed the instructions in the link above, but I get an error when trying to start /etc/init.d/avahi-daemon

-bash: /etc/init.d/avahi-daemon: No such file or directory

I have installed everything as described and started cups. However, when I try
sudo apt-get install avahi-daemon
it says the package is already installed.



Terminal
sudo apt-get install --reinstall avahi-daemon
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 8 not upgraded.
Need to get 0 B/94.2 kB of archives.
After this operation, 0 B of additional disk space will be used.
Create a snapshot of '/tmp/btrfs-snap/root/@' in '/tmp/btrfs-snap/root/@btrfs-auto-snap_apt-run-2014-02-08-2258'
@btrfs-auto-snap_apt-run-2014-02-08-2258, 1 created snapshots, 0 destroyed snapshots, 0 warnings.
(Reading database ... 37367 files and directories currently installed.)
Preparing to replace avahi-daemon 0.6.31-2 (using .../avahi-daemon_0.6.31-2_armhf.deb) ...
Unpacking replacement avahi-daemon ...
Setting up avahi-daemon (0.6.31-2) ...
Processing triggers for man-db ...

also does'n fix that in /etc/init.d/ there is no avahi-daemon

What is wrong?

Help would be very grateful!

Eneas
Find all posts by this user
Quote this message in a reply
9th Feb, 2014, 08:07 AM
Post: #6
Eneas Offline
Registered
Posts: 3
Joined: Feb 2014
Reputation: 0
RE: How to install CUPS
I found the error.

Correct for a start is:

Code:
sudo service avahi-daemon start
Find all posts by this user
Quote this message in a reply
24th Mar, 2014, 11:52 AM
Post: #7
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: How to install CUPS
@Eneas

avahi-daemon (among others) was moved from sysv (/etc/init.d) to upstart (/etc/init).

service avahi-daemon XX work as part of back-compatibility, native commands changes to
Code:
start/stop/reload avahi-daemon

AirPrint works as expected ?

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Possibly Related Threads...
Thread: Author Replies Views: Last Post
  Samba gives unrelated CUPS errors effemmeffe 12 34,552 13th Nov, 2013 11:14 AM
Last Post: mk01

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 10th May, 2025, 01:58 AM Powered By MyBB, © 2002-2025 MyBB Group.