LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 11-10-2003, 11:35 PM   #1
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Rep: Reputation: 15
Exclamation I recieve a failed dependencies error, but I have all required dependencies


I am trying to install the new certificate for RedHat Linux 9.0, so that I can use their up2date program to recieve new updates.


[root@localhost user]# ls
C92Y9r.html gcc-3.3.2.rpm4.tar.Z up2date-3.1.23.2-1.i386.rpm
Desktop lNSSYl.rpm up2date-gnome-3.1.23.2-1.i386.rpm
gcc-3.3.2 rRCNYe.rpm
[root@localhost user]# rpm -Fvh up2date-3.1.23.2-1.i386.rpm
error: Failed dependencies:
up2date = 3.1.23 is needed by (installed) up2date-gnome-3.1.23-1
[root@localhost user]# rpm -Fvh up2date-gnome-3.1.23.2-1.i386.rpm
error: Failed dependencies:
up2date = 3.1.23.2 is needed by up2date-gnome-3.1.23.2-1
[root@localhost user]#


It seems that is telling me it needs (installed) up2date-gnome for it to install up2date-gnome and/or up2date-3.1.23.2-1. What is going on here? I have up2date-gnome installed but it won't let me get further it still thinks I need it installed. Any help would be appreciated. thanks
 
Old 11-11-2003, 12:12 AM   #2
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
IT is telling you that you need to have up2date = 3.1.23.2 installed.

Michael
 
Old 11-11-2003, 03:39 AM   #3
hulkt
Member
 
Registered: Oct 2003
Posts: 172

Rep: Reputation: 30
version # problem
 
Old 11-11-2003, 04:03 AM   #4
x4n0b1
Member
 
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
i might be wrong, but to me it seems that it is a circular dependencies,

try
rpm -uvh packet1.rpm packet2.rpm

but i might be wrong, u know i'm a newbie
or i'm precisely wrong?????
 
Old 11-11-2003, 08:15 AM   #5
Laptop2250
Member
 
Registered: Oct 2003
Posts: 131

Original Poster
Rep: Reputation: 15
thanks "newbie" you helped, i did have to do rpm -Fvh rpm1 rpm2 ty ty
 
Old 11-11-2003, 09:11 PM   #6
x4n0b1
Member
 
Registered: Oct 2003
Posts: 43

Rep: Reputation: 15
well, i'm not that 'newbie' after all, i guess
 
Old 11-11-2003, 09:15 PM   #7
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
I like I have said in the past -- Red Hat users never learn a thing -- OK RPM's are only good for Red Hat -- you should be building from source - this way you can switch to any distro of linux or Unix at anytime.

Michael.
 
Old 11-11-2003, 10:11 PM   #8
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Please! Millions of people use RPM's. You can also build RPM's from source. RPM's are a little more complicated but that's part of the tradeoff.


You have learned a very helpful technique for RPM's. Multiple files must be used at the same time to satisfy each other. That also applies to uninstalling RPM's.


Good job!
 
Old 11-11-2003, 10:59 PM   #9
Bluesuperman
Member
 
Registered: Nov 2002
Distribution: Slackware
Posts: 155

Rep: Reputation: 30
... and millions of people have issues with RPM's
 
Old 11-12-2003, 12:14 AM   #10
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
Ok,

It's the same as the source with the added advantage of a database to keep up with it.

If you have dependencies with A.rpm , B.rpm, and C.rpm where A needs B and C and you install them from source, then a problem will arise if you replace some files in B or C, or delete them. A will not work properly without the needed files.
It's the exact same thing.


99% of what's on my laptop here is built from source targeted for this system, using rpmbuild.

Basically to install source A which needs source B and C you would do this..

unpack the source packages
cd B
./configure
make install

cd ../C
./configure
make install

cd ../A
./configure
make install


your finished.


Now if your building rpms..

unpack the same source packages

follow this proceedure for all three of them

http://www.linux.org/docs/ldp/howto/...WTO/build.html

The result is the same except for with the rpm you have a database that keeps up with what needs what. Not perfect but way better than just trying to get lucky.

The bottom line is you need some form of package management or you will probably run into trouble and then you will be pulling hair to figure out what to do.

Many distros are using package management in some form or the other because it's mandatory to have something to control dependencies.
 
Old 02-01-2004, 06:40 PM   #11
farmerdan
Member
 
Registered: Feb 2004
Location: IA-MO State Line
Distribution: Ubuntu 10.04
Posts: 59

Rep: Reputation: 15
Modification in prodedure of "HOWTO"

Although the information contained in the link above is first-rate, the information refers to the use of rpm to build new packages. I discovered today that rpmbuild now does the indicated building and compiling using almost the same flags.
 
Old 02-02-2004, 03:58 PM   #12
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
That's what I use since I have it. In my opinion rpmbuild is as easy as it gets when it comes to building rpm packages.
 
Old 02-03-2004, 05:18 AM   #13
farmerdan
Member
 
Registered: Feb 2004
Location: IA-MO State Line
Distribution: Ubuntu 10.04
Posts: 59

Rep: Reputation: 15
Yes, you are right. I've just begun my "Linux life" and things are just as others said they would be.

I've studied RPM quite deeply in the last couple of days--trying to get a recalcitrant package built--and the more I learn, the more I appreciate rpm and rpmbuild.
 
Old 02-03-2004, 06:56 PM   #14
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
I spent days rpmbuild --rebuild'ing everything on my laptop running RH 9, I hate to let it go but it looks like fedora is coming up soon for this system.

maybe I can upgrade it.
 
Old 02-03-2004, 07:33 PM   #15
farmerdan
Member
 
Registered: Feb 2004
Location: IA-MO State Line
Distribution: Ubuntu 10.04
Posts: 59

Rep: Reputation: 15
Hey David--

Is Fedora going to APT? or is it that you're just going to change distros?

Got a favor to ask if you have the time. As I indicated in my previous post here, I'm working on a recalcitrant package. I know enough now just to make me dangerous--to my system that is--already forgot once that I was logged in as root and did something and had to delete my UID and get a new one.

Anyway could you take a look at the thread here
I ginned up a lot of data and you may have to "wade" through some irrelevant stuff to get to the meet. My education has continued while I've been waiting for help. In fact, I just read some more stuff in "Maximum RPM" and am going to try to generate some scripts so that I can see exactly what's happening.

Thanks,

Dan
 
  


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
Error: Failed dependencies r0ck Linux - Software 3 05-09-2005 03:24 PM
error: Failed dependencies: Greenman Linux - Newbie 3 09-29-2004 06:23 AM
error: failed dependencies yiannis_1978 Linux - Software 1 08-21-2003 12:41 PM
error : failed dependencies: karunesh Linux - General 1 02-05-2002 05:24 AM
error: failed dependencies punt Linux - General 8 07-23-2001 01:18 AM

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

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