My yum repository able to search packages, but not able to install it in RHEL?

Posted by mandy on Server Fault See other posts from Server Fault or by mandy
Published on 2012-09-30T07:47:15Z Indexed on 2012/09/30 9:39 UTC
Read the original article Hit count: 243

Filed under:
|
|
|
|

I set up yum from dvd. Following is the containts of my .repo file:

[dvd]

name=Red Hat Enterprise Linux Installation DVD

baseurl=file:///media/dvd

enabled=0.

I'm able to search packages. However while installation I'm getting below error:

[root@localhost dvd]# yum install libstdc++.x86_64

Loaded plugins: rhnplugin, security

This system is not registered with RHN.

RHN support will be disabled.

Setting up Install Process

Nothing to do

My Yum Search output:

[root@localhost dvd]# yum search gcc Loaded plugins: rhnplugin, security This system is not registered with RHN. RHN support will be disabled. ============================================================================= Matched: gcc ============================================================================= compat-libgcc-296.i386 : Compatibility 2.96-RH libgcc library compat-libstdc++-296.i386 : Compatibility 2.96-RH standard C++ libraries compat-libstdc++-33.i386 : Compatibility standard C++ libraries compat-libstdc++-33.x86_64 : Compatibility standard C++ libraries cpp.x86_64 : The C Preprocessor. libgcc.i386 : GCC version 4.1 shared support library libgcc.x86_64 : GCC version 4.1 shared support library libgcj.i386 : Java runtime library for gcc libgcj.x86_64 : Java runtime library for gcc libstdc++.i386 : GNU Standard C++ Library libstdc++.x86_64 : GNU Standard C++ Library libtermcap.i386 : A basic system library for accessing the termcap database. libtermcap.x86_64 : A basic system library for accessing the termcap database.

Please guide me on this, I want to install gcc on my RHEL.

© Server Fault or respective owner

Related posts about linux

Related posts about installation