I am getting this error when i try to run dpkg-buildpackage. How do i proceed from here?
dpkg-buildpackage: source package cndrvcups-common
dpkg-buildpackage: source version 2.50-1
dpkg-buildpackage: source changed by Canon Inc. <sup-debian@list.canon.co.jp>
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build cndrvcups-common-2.50
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 4.0.0) libglib2.0-dev
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied; aborting
dpkg-buildpackage: warning: (Use -d flag to override.)
This also works great for installing a Canon LBP6000 in Ubuntu 12.04 LTS 32-bit with the latest Canon 2.50-1 download. Thanks!
in ubuntu 12.04.3, the printer may be recognised as lp1 insted of lp0 as seen in /dev/usb. so all commands may have to be corrected.
Hello from Steve Cook again.
Just an update folks:
I have been messing around and trying out various distros of Linux lately and have found that a few of the problems some people have been having with my solution for the Canon LBP2900 printer tend to be related to the very latest versions of, in particular, Ubuntu and Mint. I have a work-around but it's a bit of a mess about. Nevertheless, I thought I'd let you know.
Ubuntu
Download the drivers as mentioned in my earlier instructions.
Make a copy of my original instructions from this thread..
Save both of the above to an external storage device such as a USB.
Install a new copy of Ubuntu not later than version 12.04 on your PC. Do the install without internet access so it does not try to update while instaling.
As soon as the installation has finished, install the printer drivers as per my original instructions.
One you have done the above, the printer will work as described in the instructions.
At this point it is safe to update and/or upgrade Ubuntu since the update/upgrade will not undo the printer settings you have set up.
Mint
Same instructions as above, not later than version 13 Mint.
As of 8 December 2013, updating to 12.04.3 makes the printer not work. I had successfully set up an LBP6000 printer using these instructions back in March, and the computer had been successfully printing since then, but when the distro updated to 12.04.3, the printer stopped working. It works fine on Windows 7, so I know it's not a hardware failure. I am about to try backing out to an earlier distro to see if I can get it to work again, and will post the details when I am done.
Last edited by MarkMatis; December 8th, 2013 at 04:00 PM.
Installation throws errors:
Unpacking cndrvcups-common (from .../cndrvcups-common_2.50-1_i386.deb) ...
dpkg: dependency problems prevent configuration of cndrvcups-common:
cndrvcups-common depends on libglade2-0 (>= 1:2.4.2-2); however:
Package libglade2-0 is not installed.
dpkg: error processing cndrvcups-common (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
cndrvcups-common
Selecting previously unselected package cndrvcups-capt.
(Reading database ... 143180 files and directories currently installed.)
Unpacking cndrvcups-capt (from .../cndrvcups-capt_2.50-1_i386.deb) ...
dpkg: dependency problems prevent configuration of cndrvcups-capt:
cndrvcups-capt depends on libglade2-0 (>= 1:2.4.2-2); however:
Package libglade2-0 is not installed.
cndrvcups-capt depends on cndrvcups-common (>= 2.50); however:
Package cndrvcups-common is not configured yet.
dpkg: error processing cndrvcups-capt (--install):
dependency problems - leaving unconfigured
sudo apt-get install -f gives:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
libglade2-0
The following NEW packages will be installed:
libglade2-0
0 upgraded, 1 newly installed, 0 to remove and 381 not upgraded.
2 not fully installed or removed.
Need to get 0 B/52.6 kB of archives.
After this operation, 194 kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Selecting previously unselected package libglade2-0.
(Reading database ... 143426 files and directories currently installed.)
Unpacking libglade2-0 (from .../libglade2-0_1%3a2.6.4-1ubuntu1.1_i386.deb) ...
Setting up libglade2-0 (1:2.6.4-1ubuntu1.1) ...
Setting up cndrvcups-common (2.50-1) ...
Setting up cndrvcups-capt (2.50-1) ...
Configuration file `/etc/ccpd.conf'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** ccpd.conf (Y/I/N/O/D/Z) [default=N] ? N
Configuration file `/etc/init.d/ccpd'
==> File on system created by you or by a script.
==> File also in package provided by package maintainer.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** ccpd (Y/I/N/O/D/Z) [default=N] ? N
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Repeating canonLBP_install.sh LBP6000 gives:
Installing driver for model: LBP6000
using file: CNCUPSLBP6018CAPTK.ppd
Installing packages...
You do have the libstdc++6 package...
(Reading database ... 143436 files and directories currently installed.)
Preparing to replace cndrvcups-common 2.50-1 (using .../cndrvcups-common_2.50-1_i386.deb) ...
Unpacking replacement cndrvcups-common ...
Setting up cndrvcups-common (2.50-1) ...
(Reading database ... 143436 files and directories currently installed.)
Preparing to replace cndrvcups-capt 2.50-1 (using .../cndrvcups-capt_2.50-1_i386.deb) ...
Unpacking replacement cndrvcups-capt ...
Setting up cndrvcups-capt (2.50-1) ...
Processing triggers for ureadahead ...
Modifying the default /etc/init.d/ccpd file...
Restarting CUPS...
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service cups restart
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) and then start(8) utilities,
e.g. stop cups ; start cups. The restart(8) utility is also available.
cups stop/waiting
cups start/running, process 2654
Setting the printer for CUPS...
Setting the printer for CAPT...
CUPS_ConfigPath = /etc/cups/
LOG Path = None
UI Port = 59787
Entry Num : Spooler : Backend : FIFO path : Device Path : Status
----------------------------------------------------------------------------
[0] : LBP6000 : ccp : //localhost:59687 : /dev/usb/lp0 : Modified
Setting CAPT to boot with the system...
update-rc.d: warning: ccpd stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (1)
System start/stop links for /etc/init.d/ccpd already exist.
Starting ccpd...
* Starting Canon Printer Daemon for CUPS: ccpd [ OK ]
Checking status:
Canon Printer Daemon for CUPS: ccpd: 2387 2383
Power on your printer!
Go to System - Administration - Printing and do the following:
1. disable LBP6000-2 but do not delete it since Ubuntu will recreate it automatically;
2. set LBP6000 as your default printer;
3. reboot your machine and print a test page.
Script author:
Radu Cotescu
http://radu.cotescu.com
However, printer still does not work, regardless of whether Device URl is ccp://localhost:59787 or ccp://localhost:59687
Error message in Printer State is:
Idle - ccp send_data error, exit
Suspect incompatability with current version of libglade2-0
Debating whether to buy a new printer that does not require this level of entertainment, such as an Oki B 410D, or just buy a copy of WIndows 7, since this printer works fine in that OS...
Last edited by MarkMatis; December 8th, 2013 at 06:31 PM.
I'm so sorry to hear of the bother you are having. I'm going to see if I can come up with a new set of instructions/resources to cope with the latest version of Ubuntu. No guarantees, But I'll give it a go.
Ok, I think I may have a solution:
I have just changed my OS to Xubuntu 13 and have experienced exactly the same problem with my old instructions not working anymore.
I have consequently found out if I download the following file and and install via the softare centre then go back and follow my original instructions on here for installing the Cannon lbp2900i printer, it suddenly works again. I've absolutely no idea why, but there it is. You are more than welcome to try it. The fille is called:
gs-esp_8.71.dfsg.1-0ubuntu5.5_all.deb
You can download it from:
http://packages.ubuntu.com/uk/lucid/all/gs-esp/download
If you double-click the downloaded file, it should open in Software-Centre and then you can install from there.
I should say, I completely purged cups and reinstalled prior to installing the above deb and then installing the printer in the way previously shown in this thread.
Good luck
Last edited by stevecook; December 15th, 2013 at 06:08 PM.
deleted post due to double posting
Bookmarks