LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2011, 12:57 PM   #16
robbssi
LQ Newbie
 
Registered: Mar 2011
Distribution: Kubuntu 10.04
Posts: 8

Rep: Reputation: 2

Another thought:

You may also have some issues with other versions of the two cnijfilter files from your installation attempts. Before attempting the dpkg --force-architecture commands, it would probably be smart to clean up the older files.

If you issue the commands:
dpkg -L cnijfilter-common
dpkg -L cnijfilter-ip1800series (or whatever the second cnijfilter file was called)
and you find a lengthy output with files in /usr/lib etc, then there are files installed that may cause problems. In this case

dpkg --purge cnijfilter-common
dpkg --purge cnijfilter-ip1800series (or whatever the second cnijfilter file was called)

This should remove the installed files and their associated configuration files.
 
1 members found this post helpful.
Old 03-04-2011, 02:59 PM   #17
John Morris
LQ Newbie
 
Registered: Feb 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Robbssi and Mark

Thank you very much for your help. I tried the instructions in Robbssi's last post. They went through without a hitch but still no printing. Then I thought to look in printer properties/drivers and lo and behold there was canon ip1800 driver. I selected it and there was the printer. Test page printed fine. I shall now try to print a document and if that works I hope to use Ubuntu for most of my computing.

Thanks again

John
 
Old 03-04-2011, 04:00 PM   #18
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Excellent. Glad to hear it.
 
Old 03-06-2011, 04:19 PM   #19
John Morris
LQ Newbie
 
Registered: Feb 2011
Posts: 11

Original Poster
Rep: Reputation: 0
This is not now solved. I was reading a report on how you should install Kubuntu with Ubuntu then you can swap between them using F10. I did the install and couldn't run Ubuntu at all. After advice from this forum I de-installed and re-installed Ububtu. No problems everything working except I can't get the **&&^^ printer working again!

I have gone through the steps that worked before without success. I am trying to do your purge which I hadn't noticed until now but it says that this requires superuser privilege.
 
Old 03-06-2011, 06:54 PM   #20
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
For superuser, Ubuntu uses "sudo". So, for commands that require superuser privilege, just precede them with sudo (IE, sudo apt-get purge package_name)

Last edited by mark_alfred; 03-07-2011 at 05:10 PM. Reason: correct a typo
 
Old 03-07-2011, 02:24 PM   #21
John Morris
LQ Newbie
 
Registered: Feb 2011
Posts: 11

Original Poster
Rep: Reputation: 0
I need more help - sorry.

I tried to run the purging programs but without success. What directory do I run them in?

I then tried Mark's post number 10; I downloaded the source rpm (whatever that is) but on running the first line I got alien: command not found. I am just going round in circles. It is quite annoying as the printer worked fine until I loaded Kubuntu on top of Ubuntu as recommended.
 
Old 03-07-2011, 04:03 PM   #22
robbssi
LQ Newbie
 
Registered: Mar 2011
Distribution: Kubuntu 10.04
Posts: 8

Rep: Reputation: 2
What command did you use to install KDE? (note on semantics: you just installed a second desktop environment for Ubuntu in addition to Gnome, namely the one used by default in Kubuntu, Pardus, etc - you didn't install Kubuntu as a second OS.)
 
Old 03-07-2011, 04:40 PM   #23
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Alien is a command-line program. You simply need to install it. Use synaptic, or use "sudo apt-get install alien" in the terminal, to install it. Then you should be able to convert the rpm to a deb file, and hopefully get the computer going again. I still think running printconf is a good idea to make sure cups (Common Unix Printing Service) is properly set up. Then getting the driver from either the site I provided or the site robbssi gave should get your printer going again.

Regarding having BOTH kde (kubuntu) and gnome (ubuntu), I personally think it's unnecessary. Some people love the opportunity to have as many different desktop environments with as much eye-candy as possible. I feel it's a waste of space. If it ain't broke, why fix it?
 
Old 03-10-2011, 03:53 PM   #24
John Morris
LQ Newbie
 
Registered: Feb 2011
Posts: 11

Original Poster
Rep: Reputation: 0
Back to Mark's post #10. I have downloaded alien and run the first line successfully. Trying to run the dpkg (depackage?) gave the following error:

user@ubuntu:~/Downloads$ sudo dpkg -i cnijfilter-common_2.70-3_amd64.deb
dpkg: error processing cnijfilter-common_2.70-3_amd64.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
cnijfilter-common_2.70-3_amd64.deb

In answer to Robssii I just went to a download site recommended in the article I read and downloaded and ran it.
 
Old 03-10-2011, 10:17 PM   #25
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by John Morris View Post
Back to Mark's post #10. I have downloaded alien and run the first line successfully. Trying to run the dpkg (depackage?) gave the following error:

user@ubuntu:~/Downloads$ sudo dpkg -i cnijfilter-common_2.70-3_amd64.deb
dpkg: error processing cnijfilter-common_2.70-3_amd64.deb (--install):
cannot access archive: No such file or directory
The file that alien created may have had a different name than "cnijfilter-common_2.70-3_amd64.deb". The command "ls" will list what files are in the directory ("ls *.deb" will specifically list what debian or ubuntu packages are in the directory).

Try the following in the directory where you created the deb file with alien:
Code:
user@ubuntu:~/Downloads$ sudo dpkg -i cnijfilter*.deb
and if that doesn't work, then try....

Code:
sudo dpkg -i --force architecture cnijfilter*.deb
To explain the above, the asterisk is a wildcard character, making the command a little less specific (and thereby less prone to getting the error that you received.)

I had assumed that because the download was a source file (code that had not yet been compiled for any specific computer architecture), that it could be compiled specifically for your amd64 system. However, I'm not a programmer (I'm just a regular user). So, I may have been wrong about this. If so, then just follow the instructions at the site that robbssi gave.

Mark

PS, also, if you don't like using the command line, then there is a gui (graphical user interface) program called "gdebi" that you can run to install any deb files that you may have (if it's not on your system, then use either synaptic or apt-get to install it).

(later edit) In thinking about it, I think the method outlined in post # 9 (robbssi's post) is more likely to work at getting your printer going than what I've written.

Last edited by mark_alfred; 03-10-2011 at 10:29 PM.
 
Old 03-11-2011, 12:07 AM   #26
robbssi
LQ Newbie
 
Registered: Mar 2011
Distribution: Kubuntu 10.04
Posts: 8

Rep: Reputation: 2
mark/John: re post #25:
I hope there is only one file of the format cnijfilter*.deb in the folder, or it could be a real mess!
 
Old 03-11-2011, 05:01 PM   #27
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04
Posts: 1,258

Rep: Reputation: 147Reputation: 147
Quote:
Originally Posted by robbssi View Post
mark/John: re post #25:
I hope there is only one file of the format cnijfilter*.deb in the folder, or it could be a real mess!
Given robbssi's cryptic little post, perhaps I should clarify post # 25: The command with the wildcard character is to be used for the one specific file that was created from the process written out in post # 25. The wildcard is useful when you're not sure how the resultant cnijfilter file that is created is going to be numbered. It would be best to create this new cnijfilter file in a directory that did not have other cnijfilter files from past attempts (IE, create it in a new directory would be best).

Some useful terminal/console commands:
ls = list files
cd = change directories
mkdir = make directory
rm = remove file (or delete file)

Again, I think the best solution to getting your printer going is probably the one given by robbssi in post # 9, 13, and 15.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Driver for Canon Pixma ip1800 frank_c Linux - Hardware 6 04-30-2009 09:59 PM
How to Install Canon Pixma IP1800 on a win 98 using CUPS? placa1783 Linux - Newbie 1 03-18-2008 03:05 PM
Canon iP4200 printing HtheB Linux - Hardware 3 01-01-2007 04:48 PM
Canon Printing BigBearOmaha Linux - Hardware 2 10-02-2006 05:20 PM
canon draft printing Smokeyone MEPIS 2 01-13-2006 04:51 AM


All times are GMT -5. The time now is 09:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration