LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-27-2009, 08:15 AM   #1
norm.h
Member
 
Registered: Aug 2008
Location: Oxfordshire UK
Posts: 66

Rep: Reputation: 15
Canon PIXMA MP140 drivers won't install


I'm trying to get a Canon PIXMA MP140 multifunction printer to work in Fedora 9.
I've got the scanner element to work in GIMP, but can't get the printer drivers to install at all.
Does anyone have any experience or advice to offer, please?
norm
 
Old 01-27-2009, 09:40 AM   #2
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
You did not state which 'driver' you can not get working. I went to Openprinting.org, found the printer, and that leads you to a Canon site to download a package. I saw lots of choices, this is what I think should work. Note, Openprinting.org says the printer 'partially works'. What that means I don't know.

Quote:
File information

* File name : cnijfilter-common-2.80-1.i386.rpm
* File version : 2.80
* File size : 40KB
Did you install it with rpm? Have you got cups installed? How have you tried to configure the printer?
 
Old 01-28-2009, 04:45 AM   #3
norm.h
Member
 
Registered: Aug 2008
Location: Oxfordshire UK
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
You did not state which 'driver' you can not get working.
Did you install it with rpm? Have you got cups installed? How have you tried to configure the printer?
Thanks for replying.
It's the printer drivers that won't install:
cnijfilter-common-2.80-1.i386.rpm'
cnijfilter-mp140series-2.80-1.i386.rpm'

I get a message saying that I don't have permission to install, but I am logged in as root, and "permissions" show root as the file owner.

CUPS is installed, and the printer simply doesn't respond
norm
 
Old 01-28-2009, 09:27 AM   #4
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
O.K. open a konsole, and do a ls -l for each file. Post the results. You may have the files in a directory you don't have permission for. ( just a thought ). So, check the directory also.

You could also change the ownership to your user. As far as I know, root does not need to own the file to install it.

So, as root, 'chown username username filename' and try again.

Last edited by camorri; 01-28-2009 at 09:31 AM.
 
Old 01-29-2009, 05:17 AM   #5
norm.h
Member
 
Registered: Aug 2008
Location: Oxfordshire UK
Posts: 66

Original Poster
Rep: Reputation: 15
Question

Quote:
Originally Posted by camorri View Post
O.K. open a konsole, and do a ls -l for each file. Post the results. You may have the files in a directory you don't have permission for. ( just a thought ). So, check the directory also.
You could also change the ownership to your user. As far as I know, root does not need to own the file to install it.
So, as root, 'chown username username filename' and try again.
[root@localhost ~]# ls -l cnijfilter-common-2.80-1.i386.rpm
ls: cannot access cnijfilter-common-2.80-1.i386.rpm: No such file or directory
[root@localhost ~]# cnijfilter-mp140series-2.80-1.i386.rpm
bash: cnijfilter-mp140series-2.80-1.i386.rpm: command not found
[root@localhost ~]# ls -l cnijfilter-mp140series-2.80-1.i386.rpm
ls: cannot access cnijfilter-mp140series-2.80-1.i386.rpm: No such file or directory
[root@localhost ~]#
I have the files on my root desktop, all owned by root.

This is what's happening:
All done logged on as root, with the printer plugged in and switched on.
as advised by Canon.
Downloaded MP140_rpm.tar from Canon.and got 5 packages:

Guide,
FAQ,
cnijfilter-common-2.80-1.tar.tar,
cnijfilter-mp140series-2.80-1.i386.rpm
cnijfilter-common-2.80-1.i386.deb,

This is what I get if I follow the Canon procedure which says the "common" file must be installed first:

[root@localhost ~]# rpm -ivh cnijfilter-common-2.80-1.i386.rpm
error: open of cnijfilter-common-2.80-1.i386.rpm failed: No such file or directory
[root@localhost ~]# rpm -ivh cnijfilter-mp140seeries-2.80-1.i386.rpm
error: open of cnijfilter-mp140series-2.80-1.i386.rpm failed: No such file or directory
[root@localhost ~]#


If I right-click the "common" package I get a file "cnijfilter-common-2.80"
Open this file to find 16 more files and 4 documents.

If I double-click the "common" package, I get:

"Local file installer is running as a privileged user
Package management applications are security sensitive.
Running graphical applications as a privileged user should be avoided for security reasons."
and the option to "continue anyway", so I do.
I'm then asked if I want to install the file, but get "failed to install file", reason: "don't have the necessary priviliges"

Right-clicking the mp140 package produces a "usr" file which contains 3 more files: lib, local, and share
Double-clicking this package produces the same as I get double-clicking the "common" package.

I must be doing something wrong, but what?
norm
 
Old 01-29-2009, 09:33 AM   #6
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
The normal thing to do is download the package as a regular user, not as root. Anywhere in your /home/username directory structure is O.K. Run the tar command as a regular user.

Use 'su root' to get root privileges, and run rpm to install the packages in the order specified.

The directory /root/Desktop is not allowing you to install. The ownership of the files can be the user who downloaded the files.

To get to that point, either, 1 start over as a regular user, download, tar, su root and install OR
2. As root, you can copy the .tar file to your home directory, chmod and chown the files to user owned, and 777 privileges. Run tar on the tar file, su root and install in the correct order.
 
Old 01-30-2009, 05:46 AM   #7
norm.h
Member
 
Registered: Aug 2008
Location: Oxfordshire UK
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
The normal thing to do is download the package as a regular user, not as root. Anywhere in your /home/username directory structure is O.K. Run the tar command as a regular user.
Use 'su root' to get root privileges, and run rpm to install the packages in the order specified.
The directory /root/Desktop is not allowing you to install. The ownership of the files can be the user who downloaded the files.
To get to that point, either, 1 start over as a regular user, download, tar, su root and install OR
2. As root, you can copy the .tar file to your home directory, chmod and chown the files to user owned, and 777 privileges. Run tar on the tar file, su root and install in the correct order.
Thanks for your interest and advice which I tried.
I cleared all from my root desktop, and downloaded fresh into my /home/user directory.
When I tried to "tar" the package, this is what I got:

[norm@localhost ~]$ tar MP140_rpm.tar
tar: Options `-[0-7][lmh]' not supported by *this* tar
Try `tar --help' or `tar --usage' for more information.
Looked at this informatiom but couldn't understand a word of it!

So from other advice I tried this:

[norm@localhost ~]$ tar -xvf MP140_rpm.tar
tar: MP140_rpm.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
[norm@localhost ~]$

Really am baffled.
norm
 
Old 01-30-2009, 09:49 AM   #8
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
tar -xvf MP140_rpm.tar
tar: MP140_rpm.tar: Cannot open: No such file or directory
The error "No such file or directory" implies the system is not finding the file. It will not find the file if you are not in the directory where the file exists, or there is any errors in the name of the file you provide. Linux is case sensitive, so you have to be careful to be exact, for every character, or it will fail with the above error.

Please try this. Open a konsole, and use 'cd' ( change directory ) to get into the directory where the .tar file exists. Verify that by doing a 'ls' command, making sure the file is listed.

From this point, type 'tar -xvf mp' and press the tab key. Notice this is just the first two characters of the file name. If they are upper case, you will have to type them in upper case. The system will complete the file name, if it is a unique name at that point. ( probably will be ) if not it will list all files starting with the letters you types. Type only the characters to make a unique name. Press tab so the system completes the name. Then press enter.

This approach will save a lot of typing in your life time, and save typing errors.

Let me know what happens.
 
Old 01-31-2009, 05:04 AM   #9
norm.h
Member
 
Registered: Aug 2008
Location: Oxfordshire UK
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
Please try this.
Let me know what happens.
[norm@localhost ~]$ cd /home/norm/Download
[norm@localhost Download]$ ls
MP140_rpm.tar

[norm@localhost Download]$ tar -xvf MP
tar: MP: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

[norm@localhost Download]$ tar -xvf MP140_rpm.tar
cnijfilter-mp140series-2.80-1.i386.rpm
faq-pd-2.80-1.tar.tar
guidemp140series-pd-2.80-1.tar.tar
cnijfilter-common-2.80-1.tar.tar
cnijfilter-common_2.80-1_i386.deb

[norm@localhost Download]$ tar cnijfilter-common-2.80-1.tar.tar
tar: Old option `f' requires an argument.
Try `tar --help' or `tar --usage' for more information.
[norm@localhost Download]$

The Canon instructions require the "common" file to be installed before the "modelspecific" file
norm
 
Old 01-31-2009, 05:11 AM   #10
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
tar -xvf MP140_rpm.tar
cnijfilter-mp140series-2.80-1.i386.rpm
faq-pd-2.80-1.tar.tar
guidemp140series-pd-2.80-1.tar.tar
cnijfilter-common-2.80-1.tar.tar
cnijfilter-common_2.80-1_i386.deb
Looks like this much worked.

Quote:
tar cnijfilter-common-2.80-1.tar.tar
tar: Old option `f' requires an argument.
You need to add the arguments, after tar.

Try 'tar -xf cnijfilter-common-2.80-1.tar' and see what happens.
 
Old 02-01-2009, 12:10 PM   #11
norm.h
Member
 
Registered: Aug 2008
Location: Oxfordshire UK
Posts: 66

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by camorri View Post
L Try 'tar -xf cnijfilter-common-2.80-1.tar' and see what happens.
Hi Cliff,
[root@localhost ~]# tar -xf cnijfilter-common-2.80-1.tar
tar: cnijfilter-common-2.80-1.tar: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

Sadly I've come to the conclusion that this printer is simply not going to work in Linux, so I'll have to resort to another OS
Many thanks for your help and patience
norm
 
Old 02-01-2009, 02:05 PM   #12
camorri
LQ 5k Club
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 15.0, current, slackware-arm-currnet
Posts: 6,215

Rep: Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849Reputation: 849
Quote:
Sadly I've come to the conclusion that this printer is simply not going to work in Linux
I understand your frustration.

I do believe this printer works, at least to some degree with linux. This is from linuxprinting.org.

Quote:
Home : Database : Printers : Canon : PIXMA MP 140

Canon PIXMA MP 140
Color inkjet printer, max. 4800x1200 dpi, works Partially
The problem you are having is installing the driver. The 'No such file or directory' says the system is not seeing the file, for what ever reason. If you are in the directory where the file(s) are, then I don't understand. BTW, it appears you were root on that last attempt. You should not need to be root to tar a file in your /home/username/ directory. Is that where the files are???
 
  


Reply



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
cannot install Canon PIXMA iP1300 printer on Linux nfbueno Linux - Hardware 4 08-05-2011 09:43 PM
No printer drivers for Canon Pixma 150 loading on KDE Print Wizard on MEPIS live CD mediem MEPIS 6 06-04-2008 11:48 PM
How to Install Canon Pixma IP1800 on a win 98 using CUPS? placa1783 Linux - Newbie 1 03-18-2008 02:05 PM
Trying to install a Canon Pixma iP1600 printer SatanvsBuddha Linux - Hardware 2 11-29-2006 10:07 AM
can't find canon pixma ip1000 drivers for linux alexmihai Linux - Hardware 24 10-31-2005 12:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 02:23 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
Open Source Consulting | Domain Registration