Trying to install a Canon PIXMA MP560 wireless printer on my brand new Ubuntu laptop:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
Canon does not provide drivers for this printer. (I checked this link.) Most of the answers point to a ppa that does not work for my OS.
For example, if I try
sudo add-apt-repository ppa:michael-gruz/canon
sudo apt-get update
Then I get the error
W: Failed to fetch p://ppa.launchpad.net/michael-gruz/canon/ubuntu/dists/vivid/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch p://ppa.launchpad.net/michael-gruz/canon/ubuntu/dists/vivid/main/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
(In the above code, replace the p: with http:. I can't post more than 2 links without a 10 reputation.)
I looked at the ppa repo directly, and it seems that the latest version available is quantal.
I explicitly edited the /etc/apt/sources.list.d/michael-gruz-ubuntu-canon-vivid.list to point to quantal. That is, I replaced
deb http://ppa.launchpad.net/michael-gruz/canon/ubuntu vivid main
with
deb http://ppa.launchpad.net/michael-gruz/canon/ubuntu quantal main
That got rid of the update error, but I got a not found error when I tried to to the install:
$ sudo apt-get install cnijfilter-mp560series
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package cnijfilter-mp560series
It looks like the Package file for quantal ( ppa.launchpad.net/michael-gruz/canon/ubuntu/dists/quantal/main/binary-amd64/Packages) is empty.
Any ideas? I guess I could try pointing to an even earlier version. Is there a better way to install this printer under Ubuntu 15?