RPM runs, but won't install a certain package

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
I'm trying to install some pre-requisites to install a licensed piece of software on RHEL4. The prerequisites says the following packages must be installed:
compat-gcc 7.3
compat-gcc-c++ 7.3
compat-libstdc++ 7.3

I was able to get the last of the three installed with RPM, but can't get the others. I've downloaded the rpms. When I run rpm and install, I see the nice little bar go to 100%, but when I do a rpm -q package, it tells me it's not installed. Since there are only a few packages with compat in the name, I've tried rpm -qa|grep compat and still only see the last one on the list.

Does anyone have any resources on how I get get those pesky things installed? I'm relatively new to RHEL (though I've tangled with it from time to time for the past decade). I've been fortunate because I've not run into real problems with rpm and have had the luxury of yum and other software management software to take the work out of dependency hunting. Any ideas? Thanks....
 

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
I did run the -vv switch and verified that it did something....maybe it's installed afterall. It's just not showing up in the installed packages for some reason.

-Scar
 

Brazen

Diamond Member
Jul 14, 2000
4,259
0
0
Originally posted by: Scarpozzi
I'm trying to install some pre-requisites to install a licensed piece of software on RHEL4. The prerequisites says the following packages must be installed:
compat-gcc 7.3
compat-gcc-c++ 7.3
compat-libstdc++ 7.3

I was able to get the last of the three installed with RPM, but can't get the others. I've downloaded the rpms. When I run rpm and install, I see the nice little bar go to 100%, but when I do a rpm -q package, it tells me it's not installed. Since there are only a few packages with compat in the name, I've tried rpm -qa|grep compat and still only see the last one on the list.

Does anyone have any resources on how I get get those pesky things installed? I'm relatively new to RHEL (though I've tangled with it from time to time for the past decade). I've been fortunate because I've not run into real problems with rpm and have had the luxury of yum and other software management software to take the work out of dependency hunting. Any ideas? Thanks....

Where are you downloading them from? You should be able to get those from RedHat and just install them with 'sudo up2date -i packagename'. Otherwise you could get them off the install media. I've had all those as prereqs for software in the past and never had a problem installing them from official RedHat packages.
 

Scarpozzi

Lifer
Jun 13, 2000
26,391
1,780
126
Originally posted by: Brazen
Originally posted by: Scarpozzi
I'm trying to install some pre-requisites to install a licensed piece of software on RHEL4. The prerequisites says the following packages must be installed:
compat-gcc 7.3
compat-gcc-c++ 7.3
compat-libstdc++ 7.3

I was able to get the last of the three installed with RPM, but can't get the others. I've downloaded the rpms. When I run rpm and install, I see the nice little bar go to 100%, but when I do a rpm -q package, it tells me it's not installed. Since there are only a few packages with compat in the name, I've tried rpm -qa|grep compat and still only see the last one on the list.

Does anyone have any resources on how I get get those pesky things installed? I'm relatively new to RHEL (though I've tangled with it from time to time for the past decade). I've been fortunate because I've not run into real problems with rpm and have had the luxury of yum and other software management software to take the work out of dependency hunting. Any ideas? Thanks....

Where are you downloading them from? You should be able to get those from RedHat and just install them with 'sudo up2date -i packagename'. Otherwise you could get them off the install media. I've had all those as prereqs for software in the past and never had a problem installing them from official RedHat packages.

Thanks. I'm relatively new to up2date...I've been doing a lot of SuSE linux and CentOS...the past few years so I'm kind of starting over with some of these basic utilities.

What's the best way to search for a package version? I noticed the '--whatprovides=' option in the doc for up2date, but since I don't know exactly what's in those packages, is there a good way to search for 'gcc' and see what the RHN has to offer?

Thanks.