Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am trying to install avr-gcc using yum on a RHEL 6.

But I get this error.

[root@xilinx etc]# yum install avr-gcc
Loaded plugins: refresh-packagekit, rhnplugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
Setting up Install Process
No package avr-gcc available.
Error: Nothing to do

I am getting this error for even yum update

What is the altertnative then ?

share|improve this question
    
what does "grep -i prox /etc/yum.conf /etc/yum.repos.d/*" output? –  jamespo May 26 at 13:51

2 Answers 2

So does that package even exist? Try typing

yum search avr-gcc

You also should take a look in your /etc/yum.repos.d directory and look at your .repo setup.

In its simplest form it should look like this:

[base]
name=base repo
baseurl=http://mirror.centos.org/centos/$releasever/os/$basesearch
gpgcheck=0
share|improve this answer
    
In this directory I have many .repo files, which one should I modify ? –  gpuguy Jan 25 at 9:20
    
Post the listing of that directory... –  Jay Jan 28 at 20:35

Try:

yum -y install avr-gcc*

If it does not work, search for the package in the repository:

yum search avr
yum search avr-gcc
share|improve this answer
    
Read the OP's Q. He' having issues with yum on RHEL. This adds nothing new to this thread and should be deleted. –  slm Jan 24 at 10:35

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.