LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-08-2005, 02:48 PM   #1
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
RPM dependency


I am boring with a package dependency problem when installing Gaim in
My redhat9.0. I download the binary package and tried to install these rpm
But The installlation failed because of the package requirement.
I wonder if Linux have some pakage get tools like solaris pkg-get tool.
 
Old 07-08-2005, 03:21 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Re: RPM dependency

Quote:
Originally posted by UltraSoul
I am boring with a package dependency problem when installing Gaim in
My redhat9.0. I download the binary package and tried to install these rpm
But The installlation failed because of the package requirement.
I wonder if Linux have some pakage get tools like solaris pkg-get tool.
You can use YUM or APT. You need to get rid of Redhat 9 because its now obsolete and no longer supported. Get something newer like Fedora or RHEL.
 
Old 07-08-2005, 08:30 PM   #3
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
If you want to access a single package database and have automatic dependency handling, use another distribution, such as Debian, Gentoo or Ubuntu.
 
Old 07-09-2005, 10:45 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by stefan_nicolau
If you want to access a single package database and have automatic dependency handling, use another distribution, such as Debian, Gentoo or Ubuntu.
Redhat and derivatives have those same features using YUM and APT, so I don't see the need to change distros.
 
Old 07-09-2005, 11:01 AM   #5
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Redhat and derivatives have those same features using YUM and APT, so I don't see the need to change distros.
A) Yes, but yum (and all rpm) packages for redhat9 are now outdated.
B) I made this suggestion becuause I don't like rpm's dependency nightmares.
C) YUM does not contain as many packages as debian-apt or portage
 
Old 07-09-2005, 11:33 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
Originally posted by stefan_nicolau
A) Yes, but yum (and all rpm) packages for redhat9 are now outdated.
B) I made this suggestion becuause I don't like rpm's dependency nightmares.
C) YUM does not contain as many packages as debian-apt or portage
[list=a][*]Yes Redhat 9 is now outdated and the original poster should really think about upgrading to something newer.[*]I don't know what dependency nightmares you mean beacause any issues with dependencies can be resolved by installing packages using yum or apt.[*]Yes YUM does not contain as many packages as Debian or Gentoo, but by adding the Fedora Extras repository (and other repositories independent of the Fedora Project), you have access to thousands of extra packages that are not part of the main Fedora release, just like Mandrivas contrib repositories.[/list=a]
 
Old 07-09-2005, 11:59 AM   #7
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
but by adding the Fedora Extras repository (and other repositories independent of the Fedora Project)
This has always caused dependency problems for me.

Dependency nightmare:
pam-mysql depends on "mysql"
the rpms from mysql.com (the only ones with the latest MySQL version when I tried this) provide "mysql-server", "mysql-libs" and "mysql-client", but not "mysql"
 
Old 07-09-2005, 12:42 PM   #8
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Thats a problem thats not just suffered by rpm but by other binary package formats. In this instance, whoever built the pam-mysql rpm, compiled it against mysql, so mysql will need to be installed for the package to work correctly. Also on Redhat/Fedora distros, mysql refers to mysql-client on versions 4 and above of mysql. You would not have suffered that problem if you had only installed the Fedora/REdhat rpms or just the mysql rpms without mixing the two.

Last edited by reddazz; 07-09-2005 at 12:44 PM.
 
Old 07-09-2005, 01:03 PM   #9
stefan_nicolau
Member
 
Registered: Jun 2005
Location: Canada
Distribution: Debian Etch/Sid, Ubuntu
Posts: 529

Rep: Reputation: 32
Quote:
Thats a problem thats not just suffered by rpm but by other binary package formats.
Yes, but debian gives you a version of pam-mysql that works with the latest mysql packages, which it also provides.

Quote:
In this instance, whoever built the pam-mysql rpm
That would be redhat
Quote:
, compiled it against mysql, so mysql will need to be installed for the package to work correctly.
I know, but the "mysql" package is stuck at version 3.23 (latest MySQL is 4.1.12)
Quote:
You would not have suffered that problem if you had only installed the Fedora/REdhat rpms or just the mysql rpms without mixing the two.
A) I need MySQL libraries for 4.1 to be able to use a MySQL 4.1 server located on another machine.
B) I would love to use the redhat rpms for mysql, but they are only for MySQL 3.x
C) I tried to install just the mysql.com rpm's, but they don't work with any pam-mysql rpm.

I'm not saying anyone is to blame for this unfortunate situation, and I am in the process of upgrading my server to a more suitable distribution.
I'm not saying anyone who prefers redhat is wrong, it is just my personal choice to move to something else.

I don't want to start a distro flame war. I think we should call it quits.
 
Old 07-09-2005, 01:14 PM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
No, its not a distro or flame war, merely stating facts and opinions. I use quite a few distros myself, so I am not very loyal to any particular distro. Redhat does have mysql rpms for version 4.x, I use them on CentOS 4.x. If you are using version 3.x of RHEL (or Redhat 9) then they may have decided not to upgrade to mysql 4 for stability reasons, just like what other distros do to their server versions. It can be a pain in the back side if you want newer versions of certain packages, but I guess when you want a stable distro for your server, you have to make some sacrifices.
 
  


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
rpm dependency problem Baltasar Linux - Software 2 12-27-2004 02:24 PM
looking for rpm dependency files varunnarang Linux - Software 1 12-21-2004 11:09 PM
RPM dependency help (apt 4 rpm) Cubsy Linux - Software 4 10-08-2004 04:15 PM
RPM Dependency Question cmpaul Linux - Software 4 08-13-2003 06:16 PM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 04:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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