LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-23-2012, 12:40 PM   #1
pingpongofkingkong
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Rep: Reputation: Disabled
Question Problem installing printer driver using RPM package


Hi,

I have a problem installing printer driver for my printer on CentOS 6. I downloaded the driver from

http://software.canon-europe.com/products/0010647.asp

Download RPM Linux Printer Driver (3.0) by submitting:
Linux
English


After I downloaded the package, and run

UPDATE
# rpm -i cnijfilter-common-3.00-1.i386.rpm
error: Failed dependencies:
libc.so.6 is needed by cnijfilter-common-3.00-1.i386
libc.so.6(GLIBC_2.0) is needed by cnijfilter-common-3.00-1.i386
libc.so.6(GLIBC_2.1) is needed by cnijfilter-common-3.00-1.i386
libc.so.6(GLIBC_2.3) is needed by cnijfilter-common-3.00-1.i386
libcups.so.2 is needed by cnijfilter-common-3.00-1.i386
libpopt.so.0 is needed by cnijfilter-common-3.00-1.i386

I went to http://rpmfind.net, and search for libc.so.6, which returns many links. I don't know which file to download.


I am a Linux newbie, Could anyone kindly provide advice?

Last edited by pingpongofkingkong; 09-23-2012 at 04:20 PM.
 
Old 09-23-2012, 12:55 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
See if Centos do a printer driver package, and install that with yum.

Other approaches:
rpm -ivh says more of what's going on. You can search on www.rpmfind.net for an rpm containing the missing file. Choose a Red Hat/Centos rpm

If you want to try it anyhow without the file, there are options like --nodeps and --force which basically tell rpm's safety end too play in the traffic and it's business end to install anyhow.

This is usually a bad idea unless you decide librc.io is not something you need
 
Old 09-23-2012, 04:19 PM   #3
pingpongofkingkong
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Please see my update in the original post.
 
Old 09-24-2012, 03:02 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Your CentOS 6 seems to be 64bits. The 'uname -m' command will show.
... Some 32 bits packages must be installed :

# yum install glibc.i686 cups-libs.i686 popt.i686

Then you can do : # rpm -Uvh cnijfilter-common-3.00-1.i386.rpm


P.S. : Glibc is always installed.
Glibc is your OS. Together with the kernel.
Installing a random glibc : You will not be able to use the OS ever again.

.
 
Old 09-24-2012, 03:48 AM   #5
pingpongofkingkong
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Your CentOS 6 seems to be 64bits. The 'uname -m' command will show.
... Some 32 bits packages must be installed :

# yum install glibc.i686 cups-libs.i686 popt.i686

Then you can do : # rpm -Uvh cnijfilter-common-3.00-1.i386.rpm


P.S. : Glibc is always installed.
Glibc is your OS. Together with the kernel.
Installing a random glibc : You will not be able to use the OS ever again.

.
Thank you for your advice.

My CentOS 6.3 is 64 bit. I will follow your advice, and update the result afterwards.

Thanks again.
 
Old 10-11-2012, 06:00 PM   #6
pingpongofkingkong
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Your CentOS 6 seems to be 64bits. The 'uname -m' command will show.
... Some 32 bits packages must be installed :

# yum install glibc.i686 cups-libs.i686 popt.i686

Then you can do : # rpm -Uvh cnijfilter-common-3.00-1.i386.rpm


P.S. : Glibc is always installed.
Glibc is your OS. Together with the kernel.
Installing a random glibc : You will not be able to use the OS ever again.

.
I am able to install cnijfilter-common-3.00-1.i386.rpm following your two commands.

But I have problem installing the other package:

# rpm -Uvh cnijfilter-ip1900series-3.00-1.i386.rpm
error: Failed dependencies:
libatk-1.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libgdk-x11-2.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libgdk_pixbuf-2.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libglib-2.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libgmodule-2.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libgobject-2.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libgtk-x11-2.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libpango-1.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libpangox-1.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libpangoxft-1.0.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libpng12.so.0 is needed by cnijfilter-ip1900series-3.00-1.i386
libxml2.so.2 is needed by cnijfilter-ip1900series-3.00-1.i386


How can I identify which package to install?

Please note that I use Fedora 17 now, instead of CentOS 6.3.
 
Old 10-12-2012, 04:27 AM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 6

Finding a <package> that provides file :

yum provides */<file>
Example : yum provides */libatk-1.0.so.0

# yum install atk.i686 gtk2.i686 libpng.i686 libxml2.i686


.
 
Old 10-12-2012, 05:53 AM   #8
pingpongofkingkong
LQ Newbie
 
Registered: Sep 2012
Posts: 17

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
# 6

Finding a <package> that provides file :

yum provides */<file>
Example : yum provides */libatk-1.0.so.0

# yum install atk.i686 gtk2.i686 libpng.i686 libxml2.i686


.
Thank you for your advice.

I am able to install it, like below:

# rpm -Uvh cnijfilter-ip1900series-3.00-1.i386.rpm
Preparing... ########################################### [100%]
1:cnijfilter-ip1900series########################################### [100%]


However, it seems the printer is not installed completely. I cannot use it.

I tried System Settings -> Printers -> Add New Printer, but after I click Add button, a installation windows pops up, and disappears. Is there a system log that I can find out the reason?
 
  


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
File conflict with the old installed rpm package while installing new package sr164w Linux - Newbie 3 12-15-2011 11:43 AM
Problem in installing RPM Package cj_cheema Linux - Desktop 9 08-11-2007 02:11 PM
problem in installing src.rpm package syt07 Linux - Newbie 1 06-11-2007 02:12 AM
problem installing the driver for canon 850i printer badshah Linux - Networking 1 03-20-2006 10:56 PM
Debian: Problem installing 'Source RPM package' driver for winmodem Steerpike_jhb Linux - Newbie 8 03-17-2005 03:33 AM

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

All times are GMT -5. The time now is 01:12 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