LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RPM error (https://www.linuxquestions.org/questions/linux-newbie-8/rpm-error-607605/)

yusufs 12-18-2007 07:57 AM

RPM error
 
Hai all,

when applyin one rpm I got this error :

[root@oracle7 pat]# rpm -ivh compat-gcc-32-3.2.3-47.3.i386.rpm
warning: compat-gcc-32-3.2.3-47.3.i386.rpm: V3 DSA signature: NOKEY, key ID 443e1821
error: Failed dependencies:
glibc-devel >= 2.2.90-12 is needed by compat-gcc-32-3.2.3-47.3.i386
Suggested resolutions:
glibc-devel-2.3.4-2.25.i386.rpm


Guide please

utcursch 12-18-2007 08:14 AM

You also need to download and install glibc-devel-2.3.4-2.25.i386.rpm, since compat-gcc requires glibc-devel:

Code:

rpm -Uvh compat-gcc-32-3.2.3-47.3.i386.rpm glibc-devel-2.3.4-2.25.i386.rpm
If you're using latest version of Fedora, use yum instead of rpm -- it'll automatically install all the dependencies needed by the program that you're trying to install:

Code:

yum install package_name

b0uncer 12-18-2007 09:11 AM

You can also use the graphical add/remove programs interface if I'm not mistaken. It is equivalent with yum (probably uses yum as it's "backend"), so whichever you like more.

Package managers that fetch and install dependencies automatically when needed ease up your life a lot. You should only use 'rpm' to install packages one by one (or as a group after downloading) if you need some specific version, if you can't find the program from any reposity, or if you use some custom package that isn't in the reposities.

yusufs 12-18-2007 01:48 PM

Quote:

Originally Posted by b0uncer (Post 2994702)
You can also use the graphical add/remove programs interface if I'm not mistaken. It is equivalent with yum (probably uses yum as it's "backend"), so whichever you like more.

Package managers that fetch and install dependencies automatically when needed ease up your life a lot. You should only use 'rpm' to install packages one by one (or as a group after downloading) if you need some specific version, if you can't find the program from any reposity, or if you use some custom package that isn't in the reposities.

Thanks utcursch and Bouncer, I will check and let you know

Yusuf


All times are GMT -5. The time now is 11:15 AM.