Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '14 at 13:51

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:

name=base repo
share|improve this answer
In this directory I have many .repo files, which one should I modify ? – gpuguy Jan 25 '14 at 9:20
Post the listing of that directory... – Jay Jan 28 '14 at 20:35


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 '14 at 10:35

Your Answer


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.