-   Linux - Software (
-   -   I recieve a failed dependencies error, but I have all required dependencies (

Laptop2250 11-10-2003 11:35 PM

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-
Desktop lNSSYl.rpm up2date-gnome-
gcc-3.3.2 rRCNYe.rpm
[root@localhost user]# rpm -Fvh up2date-
error: Failed dependencies:
up2date = 3.1.23 is needed by (installed) up2date-gnome-3.1.23-1
[root@localhost user]# rpm -Fvh up2date-gnome-
error: Failed dependencies:
up2date = is needed by up2date-gnome-
[root@localhost user]#

It seems that is telling me it needs (installed) up2date-gnome for it to install up2date-gnome and/or up2date- 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

Bluesuperman 11-11-2003 12:12 AM

IT is telling you that you need to have up2date = installed.


hulkt 11-11-2003 03:39 AM

version # problem

x4n0b1 11-11-2003 04:03 AM

i might be wrong, but to me it seems that it is a circular dependencies,

rpm -uvh packet1.rpm packet2.rpm

but i might be wrong, u know i'm a newbie
or i'm precisely wrong????? :D

Laptop2250 11-11-2003 08:15 AM

thanks "newbie" you helped, i did have to do rpm -Fvh rpm1 rpm2 ty ty

x4n0b1 11-11-2003 09:11 PM

well, i'm not that 'newbie' after all, i guess :D

Bluesuperman 11-11-2003 09:15 PM

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.


DavidPhillips 11-11-2003 10:11 PM

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!

Bluesuperman 11-11-2003 10:59 PM

... and millions of people have issues with RPM's

DavidPhillips 11-12-2003 12:14 AM


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
make install

cd ../C
make install

cd ../A
make install

your finished.

Now if your building rpms..

unpack the same source packages

follow this proceedure for all three of them

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.

farmerdan 02-01-2004 06:40 PM

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.

DavidPhillips 02-02-2004 03:58 PM

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.

farmerdan 02-03-2004 05:18 AM

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.

DavidPhillips 02-03-2004 06:56 PM

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.

farmerdan 02-03-2004 07:33 PM

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. :o

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.



All times are GMT -5. The time now is 02:48 AM.