Re: Adding Repositories and using yum to download packages

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 5/12/2010 2:48 PM, John R. Dennison wrote:
> On Wed, May 12, 2010 at 02:27:56PM +0530, Jatin Davey wrote:
>    
>> [root@sc-devld-1 yum.repos.d]# yum install net-snmp
>> Loading "rhnplugin" plugin
>> Loading "installonlyn" plugin
>> This system is not registered with RHN.
>> RHN support will be disabled.
>> Setting up Install Process
>> Setting up repositories
>> not using ftp, http[s], or file for repos, skipping - 5Client is not a
>> valid release or hasnt been released yet
>> Error: Cannot find a valid baseurl for repo: base
>>      
> 	That's a RHEL5 box from the looks of it, but from a follow-up
> 	post of yours /etc/redhat-release says it's centos.  The two
> 	are mutually exclusive.  Also, /etc/redhat-release is a simple
> 	text file that can be made to say anything so it's not a great
> 	source of proper identification.
>
> 	What does "rpm -q centos-release" say?
>
>
>
>
> 							John
>    

Thanks for responding john,

This is what i get from the output of the command that you had asked for:

[root@sc-devld-1 etc]# rpm -q centos-release
package centos-release is not installed

Also i found that there is a file named as redhat-release.bak in the 
/etc directory , doing a cat on it gives the following output:

[root@sc-devld-1 etc]# cat redhat-release.bak
Red Hat Enterprise Linux Client release 5 (Tikanga)

Thanks
Jatin
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux