LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   install the rpm --why not detect one??? (https://www.linuxquestions.org/questions/linux-newbie-8/install-the-rpm-why-not-detect-one-453136/)

venil 06-09-2006 06:40 AM

install the rpm --why not detect one???
 
Dear all,

i install the package using the command <rpm -ivh packagename> and it show up successfully install....
but i using the command to check the particular packagename <rpm -qa | grep packagename> it haven't show the particular packagename that i installed oledi...


Now i install the oracle application server in Linux AS 3.0 but it give me this error:



Checking operating system packages: gcc-3.2.3-20,compat-gcc-7.3-2.96.122,compat-gcc-c++-7.3-2.96.122,compat-libstdc++-7.3-2.96.122,compat-libstdc++-devel-7.3-2.96.122,openmotif21-2.1.30,setarch-1.3-1,pdksh-5.2.14,sysstat-4.0.7,gnome-libs-1.4.1.2.90-34.1,libstdc++-3.2.3,compat-libstdc++-devel-7.3-2.96.122,compat-glibc-7.x-2.2.4.32.5 Failed <<<<
>>> Package gcc-3.2.3-20 is missing
>>> Package compat-gcc-7.3-2.96.122 is missing
>>> Package compat-gcc-c++-7.3-2.96.122 is missing
>>> Package compat-libstdc++-7.3-2.96.122 is missing
>>> Package compat-libstdc++-devel-7.3-2.96.122 is missing
>>> Package openmotif21-2.1.30 is missing
>>> Package compat-libstdc++-devel-7.3-2.96.122 is missing
>>> Package compat-glibc-7.x-2.2.4.32.5 is missing




actually all this package manually install already..but the os still cant detect one. so how?????????
i very blur now...pls hlp me solve this problem....

venil

AwesomeMachine 06-09-2006 06:58 AM

If you used an .rpm file that isn't for your distro it might not update the rpm's database. Your system would not show it as installed in this case, but it still would be installed and usable.

Second part: you can do:

which gcc

etc

and find out what version of all those missing packages you have. Usually if you have an older version it won't work. But, if you have a newer version it should work. You can also compile from source:

source.tar.gz

instead of an rpm.

theYinYeti 06-09-2006 07:48 AM

rpm is rpm. The rpm might not work as expected, but the database is definitely up-to-date if install went well.
However, there is no obligation that the rpm filename reflects the package name, especially where character case is concerned. So for a start, you may want to grep in case-unsensitive mode:
Code:

rpm -qa | grep -i name
Please tell us the filename of the rpm file, so we may have more ideas.

Yves.

venil 06-11-2006 08:12 PM

Dear all,

the package name is :
Package gcc-3.2.3-20
Package compat-gcc-7.3-2.96.122
Package compat-gcc-c++-7.3-2.96.122
Package compat-libstdc++-7.3-2.96.122
Package compat-libstdc++-devel-7.3-2.96.122
Package openmotif21-2.1.30
compat-libstdc++-devel-7.3-2.96.122
Package compat-glibc-7.x-2.2.4.32.5
openmotif-2.1.30


all this package i install already can also show successful install. but even i using the command to check it up, it haven't show the particular package.

thanks,

venil


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