LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 12-07-2008, 04:10 PM   #1
shea1roh
Member
 
Registered: Jul 2003
Location: Grand Meadow MN
Distribution: Mandrake 2010.2 & Fedora 14
Posts: 99

Rep: Reputation: 17
Finding a repository for installing dependencies for HPLIP


I need the latest version of HPLIP to support the printer which I recently purchased. I first downloaded the auto install package, which when run complained that I needed to have repositories setup to install packages. I do already have repositories configured for Main, Contrib, Non-Free, so I downloaded the source tarball to manually install. I went to install the dependencies which are listed and get the following:
No package named libdbus-1_3-
No package named libcryptopp5
No package named libcryptopp5-devel
No package named glibc-i18ndata-2.4-4mdk
No package named glibc_lsb-2.3.6-1mdk
No package named sane-utils

Where do I find a repository that has these packages in them? Thanks
 
Old 12-07-2008, 05:20 PM   #2
chickenlinux
Member
 
Registered: Mar 2008
Location: Here - Where else?
Distribution: Fedora 12, Arch Linux (updated daily =D)
Posts: 270

Rep: Reputation: 31
You might not need a repo, you can try to use http://rpm.pbone.net or some other large repo DB.
 
Old 12-08-2008, 10:48 AM   #3
Raymond C. Glassford
Member
 
Registered: Mar 2007
Location: USA
Distribution: Slitaz 4.0
Posts: 30

Rep: Reputation: 16
I am assuming that you are trying to install hplip 2.8.10, which I recently did for my HP P1006 LaserJet printer (monochrome). The automatic installer does work, but not if you are using a dial-up connection; the installer times-out before any packages can be downloaded. I used the automatic downloader, but downloaded and saved all needed packages manually by using wget. The number of packages needed for a full install of hplip is considerable. It was largely a trial-and-error process for me, requiring multiple sessions until all dependencies were satisfied. It is not a project for a Linux newbie, for sure.

A good mirror for you to use for repositories is located at the University of Wisconsin, Madison. It is the one I use, and it has been completely reliable. The following URL is an example for a package on the university's Mandriva Linux mirror:

ftp://mirror.cs.wisc.edu/pub/mirrors...007.0.i586.rpm

Go to MandrivaUsers.org at:

http://mandrivausers.org

and click on "Easy Urpmi". Following the instructions for selecting repositories. The University of Wisconsin's mirror site may or may not still be listed there, so choose an alternative that suits you, if necessary.

I think you will want to save downloaded packages to hard disk. If so, post and I can provide instructions on how to do that and later transfer all packages to cd for permanent storage. I keep all supplemental packages on cd, if needed for future use.
 
Old 12-09-2008, 01:40 PM   #4
shea1roh
Member
 
Registered: Jul 2003
Location: Grand Meadow MN
Distribution: Mandrake 2010.2 & Fedora 14
Posts: 99

Original Poster
Rep: Reputation: 17
Yes I am trying to install hplip 2.8.10. I assume the autoinstaller failed because not all of the dependencies could be found just like when I tried to install them manuallly. I used the Easy URPMI site to setup the repositories I am using. Does the link to the Repository in Wisconsin automatically add it since it is a rpm file? Thanks
 
Old 12-10-2008, 10:55 AM   #5
Raymond C. Glassford
Member
 
Registered: Mar 2007
Location: USA
Distribution: Slitaz 4.0
Posts: 30

Rep: Reputation: 16
Quote:
Originally Posted by shea1roh View Post
Yes I am trying to install hplip 2.8.10. I assume the autoinstaller failed because not all of the dependencies could be found just like when I tried to install them manually. I used the Easy URPMI site to setup the repositories I am using. Does the link to the Repository in Wisconsin automatically add it since it is a rpm file? Thanks
I provided the link to a package on the UW server merely as an example of what I would "plug-in" to a command-line using wget to retrieve the package. This example is not the name of a media that would be added to URPMI as a repository, because it is the path to a specific package, not the path to the server itself. Also, the repositories you will need for Mandriva 2009.0, if they are available on the UW server, will have different paths than the ones I use for Mandriva 2007.0. Only use packages designed for Mandriva 2009.0, in your case. If you have repos already chosen that seem to be reliable, stay with those; all mirrors should have the same packages available, especially for "Main", "Main-Updates", "Contrib", and "Contrib-Updates".

When I did my install of hplip-2.8.10, I also found that certain packages were not available for 2007.0, at least for those packages labelled as "optional", so I just by-passed those, with no harm being done, except that certain features ("fax" in my case) could not be enabled. The auto-installer seems to be "generically" designed to handle multiple Linux releases, so it does its best to handle an "every-case" scenario, which means it cannot do everything for everyone. Also, some package names seem to be erroneous, at least for Mandriva 2007.0, such as "scan-utilities", which I could find nowhere, not in my repos, nor from http://rpm.pbone.net . I just had to keep "plugging-away" until I had provided as many dependencies as possible. This meant multiple runs and re-runs of the auto-installer, after I had downloaded packages manually using wget.

Your tarball may not provide a "plug-in" for your printer, if one is needed. I had to download the "plug-in" for my HP P1006 manually from a site different from the HPLIP site. I can provide that URL once you get that far, and if you need it. Also, pay close attention to specific instructions for Mandriva installation on the HPLIP site. Do not disregard those instructions. If you cannot find those instructions, post and I can lead you to them.

All things considered, in retrospect the HPLIP installation was not very "user-friendly" for me, and it required a lot of unnecessary "trial-and-error" procedures. I guess this is due to the fact that HPLIP tries to satisfy many Linux distributions, and there are a lot of them available ... perhaps, too many.
 
Old 12-10-2008, 11:47 PM   #6
shea1roh
Member
 
Registered: Jul 2003
Location: Grand Meadow MN
Distribution: Mandrake 2010.2 & Fedora 14
Posts: 99

Original Poster
Rep: Reputation: 17
I tried running the auto install package again & it worked this time only complaining that it could not install dbus & that faxing would be disabled. This is definately a goofy package. Thanks for the reply.
 
Old 12-10-2008, 11:58 PM   #7
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677Reputation: 677
Did Mandrive use dbus/hal two years ago? I think your latest version of hplip was written for more modern Linux distros, causing dependency issues. D-Bus is how hal communicates with the KDE or Gnome desktop environment. This may not have been done for your version of Mandriva.
 
Old 12-11-2008, 02:15 AM   #8
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Devuan
Posts: 3,411
Blog Entries: 33

Rep: Reputation: 222Reputation: 222Reputation: 222
Mandriva still uses them both, dbus and hal.

Cheers, Glenn
 
Old 12-11-2008, 02:17 PM   #9
Raymond C. Glassford
Member
 
Registered: Mar 2007
Location: USA
Distribution: Slitaz 4.0
Posts: 30

Rep: Reputation: 16
Quote:
Originally Posted by GlennsPref View Post
Mandriva still uses them both, dbus and hal.

Cheers, Glenn
As an addendum to what I have already written, let me add that my distro (Mandriva 2007.0) uses dbus and I have all available dbus packages installed, but the hplip auto-installer continually insisted that dbus was not enabled on my system, thus preventing full hplip support; the "fax" feature is disabled. In my case, this is not important, I went through the auto-install procedure as a learning exercise, just to see how much I could get out of hplip with my now non-supported distro. The HP P1006 LaserJet is working fine, and it has more functionality with more Linux apps than did my Canon BJC-610 inkjet, although the HP P1006 LaserJet is not a color laser printer, nor is it multi-function, so I do not need faxing or scanning capabilities.

The supplemental "plug-in" for my printer is found at:

http://www.linuxprinting.org/downloa...es/HP/plugins/

The file name is:

hplip-2.8.10-plugin.run 10-Nov-2008 15:40 1.2M

The files located there were made available because many complaints were being received that the auto-installer was timing-out before the plug-in file could be retrieved.
 
  


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
slack 11.0 testing/hplip dependencies problem kite Slackware 10 10-08-2006 11:40 AM
finding working YUM repository for Mono tenn_eric Fedora 2 05-07-2005 03:30 AM
not finding dependencies OC_eobard Linux - Newbie 20 09-17-2004 08:04 PM
finding dependencies Abe_the_Man Linux - Newbie 2 09-27-2003 11:36 PM
Finding Dependencies??? DiZASTiX Linux - Software 3 05-13-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 08:31 AM.

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