Setting up Cups

Problems with packages? Post here, using [tags] of the package name.

Setting up Cups

Postby tals » Fri Jan 13, 2012 8:52 pm

I've had Samba on my pogobox V2 for sometime, I wanted to try and install CUPS to test airprint but they seem to be incompatible eg

when I run
pacman -Sy samba avahi

I get
$this->bbcode_second_pass_code('', '
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
resolving dependencies...
looking for inter-conflicts...
:: krb5 and heimdal are in conflict. Remove heimdal? [y/N] y
:: gamin and fam are in conflict. Remove fam? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: libcups: requires heimdal>=1.3.1
')

When I run
pacman -Sy cups cups-pdf gutenprint pycups avahi python2

I get
$this->bbcode_second_pass_code('', '
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
resolving dependencies...
looking for inter-conflicts...
:: krb5 and heimdal are in conflict. Remove heimdal? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: samba: requires heimdal>=1.2-1
:: smbclient: requires heimdal>=1.2-1
')

Not sure if I should be ignoring the message, doing one after the other or what it is telling me :(
Last edited by tals on Sat Jan 14, 2012 11:15 am, edited 1 time in total.
tals
 
Posts: 7
Joined: Sat May 07, 2011 5:22 am

Re: CUPS and Samba conflict

Postby kmihelich » Fri Jan 13, 2012 9:48 pm

Do a full upgrade of your system first, you haven't done that in a long time: pacman -Syuf

After that has finished, you can move onto installing the other packages.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: CUPS and Samba conflict

Postby tals » Fri Jan 13, 2012 11:41 pm

Perfect that worked a treat, many thanks :)
tals
 
Posts: 7
Joined: Sat May 07, 2011 5:22 am

Re: Setting up Cups

Postby tals » Sat Jan 14, 2012 11:18 am

OK onto my next issue. What I am ultimately trying todo is get a wifi printer handled through cups so I can then use airprint, ultimately this may not be possible but I might also learn along the way.

Where I am now is it installs ok, but then I run

/usr/sbin/cups-genppdupdate

I have no printer attached so it states

No Gutenprint PPD files to update and I think this then means I can't run cups as I get no such file or directory when I try and start it.

Transcript of session below

$this->bbcode_second_pass_code('', '

[root@Arch Linux ARM install ~]# pacman -Sy cups cups-pdf gutenprint pycups avahi python2
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
warning: cups-1.5.0-1 is up to date -- reinstalling
warning: cups-pdf-2.6.1-1 is up to date -- reinstalling
warning: gutenprint-5.2.7-3 is up to date -- reinstalling
warning: pycups-1.9.60-1 is up to date -- reinstalling
warning: avahi-0.6.30-6 is up to date -- reinstalling
warning: python2-2.7.2-4 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (6): cups-1.5.0-1 cups-pdf-2.6.1-1 gutenprint-5.2.7-3 python2-2.7.2-4 pycups-1.9.60-1
avahi-0.6.30-6

Total Download Size: 0.00 MB
Total Installed Size: 236.24 MB

Proceed with installation? [Y/n] Y
(6/6) checking package integrity [#####################################] 100%
(6/6) checking for file conflicts [#####################################] 100%
(1/6) upgrading cups [#####################################] 100%
(2/6) upgrading cups-pdf [#####################################] 100%
(3/6) upgrading gutenprint [#####################################] 100%
>>please run /usr/sbin/cups-genppdupdate
>>and restart cups deamon
(4/6) upgrading python2 [#####################################] 100%
(5/6) upgrading pycups [#####################################] 100%
(6/6) upgrading avahi [#####################################] 100%
[root@Arch Linux ARM install ~]# /usr/sbin/cups-genppdupdate
No Gutenprint PPD files to update.
[root@Arch Linux ARM install ~]# /etc/rc.d/cups start
-bash: /etc/rc.d/cups: No such file or directory
')
tals
 
Posts: 7
Joined: Sat May 07, 2011 5:22 am

Re: Setting up Cups

Postby tals » Sun Jan 15, 2012 10:54 am

As an addition to this, when I look in the /etc/rc.d I see a cupsd but no cups, not sure why cups hasn't been created unless it is relying on a printer to be directly connected - is there a way of getting round this?
tals
 
Posts: 7
Joined: Sat May 07, 2011 5:22 am

Re: Setting up Cups

Postby jerjel » Wed Dec 19, 2012 3:12 am

how this issue got resolved? I cannot find cups in the rc.d folder; but do have cupsd.
jerjel
 
Posts: 9
Joined: Wed Aug 15, 2012 3:17 pm

Re: Setting up Cups

Postby chat1410 » Thu Dec 20, 2012 5:46 pm

cupsd is the CUPS daemon (just like how httpd is the http (apache) daemon). Try:
$this->bbcode_second_pass_code('', 'rc.d start cupsd')
CUPS should start right up. From there you can access the web interface of CUPS to resume setup. I vaguely recall needing to modify /etc/cups/cupsd.conf to allow computers beyond the localhost to access the web interface. If you haven't, refer to the wiki to complete the setup.
chat1410
 
Posts: 28
Joined: Thu Nov 01, 2012 5:55 pm


Return to Packages

Who is online

Users browsing this forum: No registered users and 5 guests