LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Catch 22 installing programs? (https://www.linuxquestions.org/questions/linux-software-2/catch-22-installing-programs-96067/)

BajaNick 09-23-2003 06:38 PM

Catch 22 installing programs?
 
I am trying to install the development packages from the RH9 cd but when i try to i get this:

cannot find:
Krb5-libs 1.2.7-8
OpenSSL 0.9.7a-2

so i found them both on the net and tried to install them but i get a message saying newer versions of both are already installed so i cant install the development packages.

any idea how to get around this?
thanks

BigNate 09-23-2003 07:09 PM

How are you trying to install them?

BajaNick 09-23-2003 07:18 PM

By clicking on the rpm, I didnt want to try to force them in the console cuz im getting the newer version already installed message, but ig thats so why am i getting a message telling me to install them when i try to install the devel. packages? This is crazy:eek:

cetialphav 09-23-2003 07:31 PM

There have been security updates to both of those RPMs. I suspect that you have newer versions than what is on the CD. So rpm is correctly preventing the old packages from being installed.

To confirm this, issue these commands. On an updated system, it will appear as below.

Code:

[todd@perl bin]$ rpm -q krb5-libs
krb5-libs-1.2.7-14
[todd@perl bin]$ rpm -q openssl
openssl-0.9.7a-5


BajaNick 09-23-2003 07:50 PM

Yes cetialphav that explains what is happening, thanks, but how do i install the devel packages then ?

LavaDevil94 09-23-2003 07:55 PM

what devel packages are you trying to install? odds are it will be available on the net somewhere

BajaNick 09-23-2003 08:16 PM

I was just trying to install fluxbox and after i did " ./configure " I got an error saying " no acceptable C compiler found in $PATH "
So i tried to install the devel packages but i guess i cant now. So im now stuck and im not sure what to do. Is fluxbox worth the hassle? LOL:D

cetialphav 09-23-2003 09:11 PM

Dude, the devel packages are right there on the RedHat website. Check here and here.

This just gets the right development packages installed. Once you get past that, you have other problems. You have no C compiler installed. I don't know why there are so many people not installing gcc. Anyway, that is being discussed in other threads around here.

BajaNick 09-23-2003 09:17 PM

dude.. lol

I was only trying to install the devel packages cuz i need the C compiler to install fluxbox. is it necessary to install the devel packages if i only need the C compiler?

cetialphav 09-23-2003 10:47 PM

Have you tried to run redhat-config-packages to install gcc? Just have it install the development tools.

Note: I'm just guessing here. I always have gcc installed when I install the OS. And I always use the command line instead of the gui RPM stuff.

BajaNick 09-23-2003 10:52 PM

Yea and same problem. i cannot install the devel. tools cuz the RH config-packages program keeps telling me i need these 2 files but i already have newer ones installed and RH config dosnt recognize them.

cetialphav 09-24-2003 07:53 AM

Ok. Now I understand what you are doing. The Redhat tool isn't very good at understanding that updated versions of packages are installed. (This is one of the reasons I don't use this stuff). If it were me, I would look at what should be installed as part of the development package and install them one by one with rpm from the command line. If a package tells you it needs an older version of another package, that indicates that there is probably a newer version of that package on the Redhat errata site. If you have to, you can force the installation of an RPM, but that usually isn't necessary.

BajaNick 09-24-2003 07:27 PM

Ok so the bottom line is Redhat dosnt recognize older files due to some new security updates and I have to force the installation of the development packages? is that right?

cetialphav 09-24-2003 09:09 PM

Reread what I said. I did not say you will have to force the installation of any packages. Using rpm from the command line is not the same as forcing the installation. rpm has special switches to override dependency checking, but that is not the default and I did not tell you to use them.

What is not clear from your posts is which development package had problems being installed. So if you go through things one by one, you will be able to find out. Then, people like me can provide better answers to your questions.

BajaNick 09-24-2003 09:21 PM

No i was not saying you told me to do those things, Look up at the other posts.


All times are GMT -5. The time now is 03:59 PM.