LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   conflicting dependencies? (https://www.linuxquestions.org/questions/linux-newbie-8/conflicting-dependencies-424596/)

doowttam 03-13-2006 09:36 PM

conflicting dependencies?
 
I'm trying to install a newer version of glibc, and I thought I had downloaded all of the required dependencies. But, when trying to install the rpms, I get this:

Code:

$ rpm -ivh glibc-common-2.4-4.i386.rpm
warning: glibc-common-2.4-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        glibc < 2.4 conflicts with glibc-common-2.4-4.i386
$ rpm -ivh glibc-2.4-4.i386.rpm
warning: glibc-2.4-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        glibc-common = 2.4-4 is needed by glibc-2.4-4.i386
        gdb < 6.3.0.0-1.111 conflicts with glibc-2.4-4.i386
        glibc > 2.3.5 conflicts with glibc-common-2.3.5-10.i386

The first complains about me having a glibc version below 2.4, but the second says I need the first to have a glibc version of 2.4. I'm using FC4. What am I doing wrong?

Oh, and as I side note, please don't give the advice to install with yum or anything like that because I currently have no internet connection with the fedora box. This glibc stuff is all part of trying to get my wireless card working with fedora, so I'm using a flash drive to shuttle files between it and another computer.

Baldrick65 03-13-2006 11:19 PM

You can always try
Code:

rpm -Uvh <package1.rpm> <package2.rpm>
All on 1 line. This will upgrade rather than install "over the top".

See if that clears up some of the dependancy errors.

HTH
Baldrick

doowttam 03-14-2006 12:19 AM

Well, now I'm getting different errors:

Code:

$ rpm - Uvh glibc-2.4-4.i386.rpm glibc-common-2.4-4.i386.rpm
warning: glibc-2.4-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        gdb < 6.3.0.0-1.111 conflicts with glibc-2.4-4.i386
        glibc = 2.3.5-10 is needed by (installed) glibc-headers-2.3.5-10.i386
        glibc = 2.3.5-10 is needed by (installed) glibc-devel-2.3.5-10.i386

I get that I need to upgrade gdb, but I don't understand what the second two errors mean.

Baldrick65 03-14-2006 12:46 AM

It means you need to upgrade glibc-devel and glibc-headers as well as upgrading gdb.

Baldrick

doowttam 03-15-2006 07:03 PM

I have a version of gdb that meets the dependencies (as seen below), but its still complaining. Do I need a version of gdb that is > 6.3.0.0-1.111 but < 6.4? Because I haven't been able to find that.

Code:

$ rpm -Uvh glibc-2.4-4.i386.rpm glibc-common-2.4-4.i386.rpm glibc-devel-2.4-4.i386.rpm glibc-headers-2.4-4.i386.rpm
warning: glibc-2.4-4.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
        gdb < 6.3.0.0-1.111 conflicts with glibc-2.4-4.i386
$ gdb -v
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu".


Baldrick65 03-19-2006 02:52 AM

You can always force it using the --nodeps option, but that could cause more problems.

Baldrick


All times are GMT -5. The time now is 08:09 PM.