johnh78
Posts: 3
Joined: Wed Apr 10, 2013 11:18 pm

CUPS now installed ... can't get windows to see the printer!

Wed Apr 10, 2013 11:26 pm

I have setup my pi with xbmc. Everything seems to be working fine, I have samba running and can view a shared USB drive through windows. I am trying to also network my samsung printer but can't seem to install CUPS and am baffled as to why. I will type in the following:

sudo apt-get install cups

it runs and gets to the prompt "136 MB of additional disk space is needed. Do you want to continue?"

I hit "y" and get a ton of errors. For example:

Err http://archive.rasbian.org/raspbian/ wheezy/main cups-common all
404 Not Found [IP: 89.16.177.90 80]

I even try running with --fix-missing with no effect. I successfully installed samba, so I know it can hit the internet ... so what is the deal?
Last edited by johnh78 on Thu Apr 11, 2013 11:57 pm, edited 1 time in total.

User avatar
FTrevorGowen
Forum Moderator
Forum Moderator
Posts: 5623
Joined: Mon Mar 04, 2013 6:12 pm
Location: Bristol, U.K.
Contact: Website

Re: Can't install CUPS!?!

Thu Apr 11, 2013 7:10 am

John,
I suspect you may need to run "sudo apt-get update" and, possibly, also "sudo apt-get upgrade" - it seems likely that apt's database is now "out of synch" with the server and it's trying to fetch old versions which are no longer there. FWIW there's a "screenshot-based guide" to how I installed CUPS and printers under Wheezy at http://www.cpmspectrepi.webspace.virgin ... yCUPS.html within my webpages.
HTH, Trev.
Still running Raspbian Jessie or Stretch on some older Pi's (an A, B1, 2xB2, B+, P2B, 3xP0, P0W, 2xP3A+, P3B+, P3B, B+, and a A+) but Buster on the P4B's. See: https://www.cpmspectrepi.uk/raspberry_pi/raspiidx.htm

johnh78
Posts: 3
Joined: Wed Apr 10, 2013 11:18 pm

Re: Can't install CUPS!?!

Thu Apr 11, 2013 10:12 pm

Thanks Trev ... updating did work. I encountered another problem.

I got CUPS up and running found a print driver which my samsung would respond to and was successful in printing a test page. However, I am unable to see my printer when trying to connect to it from my windows 7 laptop. I can see my pi ... and my shared drive ... but no printer appears. I did click on the "share this printer" option when setting up the printer through the CUPS web interface, but had no luck past this.

johnh78
Posts: 3
Joined: Wed Apr 10, 2013 11:18 pm

Re: CUPS now installed ... can't get windows to see the prin

Fri Apr 12, 2013 2:01 am

I got it working. Thanks again!

Return to “Troubleshooting”