Installing LBP 2900 ubuntu -> libs folders wrong?

Posted by Peter Smit on Ask Ubuntu See other posts from Ask Ubuntu or by Peter Smit
Published on 2011-11-16T16:41:48Z Indexed on 2011/11/16 18:14 UTC
Read the original article Hit count: 365

Filed under:
|
|

I am trying to get my Canon LBP2900 printer to work on Ubuntu 11.10 64 bit.

What I have done is try to follow the steps on https://help.ubuntu.com/community/CanonCaptDrv190

So I downloaded the version 2.3 driver and tried to convert the rpm files to debian and installed them

sudo alien cndrvcups-capt-2.30-1.x86_64.rpm cndrvcups-common-2.30-1.x86_64.rpm
sudo dpkg -i cndrvcups-capt-2.30-1.x86_64.deb cndrvcups-common-2.30-1.x86_64.deb

restarted cups and try to install the printer with lpadmin:

sudo service cups restart
sudo /usr/sbin/lpadmin -p LBP2900 -m /usr/share/cups/model/CNCUPSLBP2900CAPTK.ppd -v ccp://localhost:59787 -E

What I noticed however that on the step with lpadmin it goes wrong with the error:

lpadmin: Bad device-uri scheme "ccp"

After trying to trace what has gone wrong, I think I nailed it to the fact that dpkg installed a file /usr/lib64/cups/backend/ccp instead of /usr/lib/cups/backend/ccp

Checking the original rpm with archive manager shows indeed that /usr/lib and /usr/lib64 are used, with the backend/cpp file only installed in lib64. As I understand correctly, Ubuntu 11.10 uses /usr/lib32 and /usr/lib instead so the files are installed in the wrong place.

Is there an automated method of converting the rpm/deb files with the wrong lib structure to one with the right lib structure for ubuntu 11.10? Or am I completely on the wrong track for getting my printer installed?

© Ask Ubuntu or respective owner

Related posts about 11.10

Related posts about canon