English
Ask Your Question
0

Why do I get this error?

asked 2014-05-29 13:37:53 +0000

updated 2014-05-29 14:55:14 +0000

cobra gravatar image

Yum error:

Error: generic-release conflicts with fedora-release-20-1.noarch

I'm trying to install some packages, but I get this error. I've never seen this error before and I don't understand why when the description I found of a possible cause is that I haven't respected the trademark of Fedora. Thread where I found a clue for my error:ask.fedoraproject.org Quote from thread:

Description : Generic release files such as yum configs and various /etc/ files that
            : define the release. This package explicitly is a replacement for the
            : trademarked release package, if you are unable for any reason to abide by the
            : trademark restrictions on that release package.

Command that gave the error:

~]$ sudo yum install *forms* *mono* *monodevelop* *.net* *.NET*

My repolist:

Loaded plugins: fastestmirror, langpacks, refresh-packagekit, versionlock
Loading mirror speeds from cached hostfile
 * fedora: www.fedora.is
 * rpmfusion-free: www.fedora.is
 * rpmfusion-free-updates: www.fedora.is
 * rpmfusion-nonfree: www.fedora.is
 * rpmfusion-nonfree-updates: www.fedora.is
 * updates: www.fedora.is
repo id                              repo name                               status
adobe-linux-i386                     Adobe Systems Incorporated                   2
adobe-linux-x86_64                   Adobe Systems Incorporated                   2
fedora/20/x86_64                     Fedora 20 - x86_64                      38,597
home_Dman95                          SASM (Fedora_20)                             3
home_tpokorra_mono                   mono and monodevelop (Fedora_20)            68
mysql-connectors-community/20/x86_64 MySQL Connectors Community                  12
mysql-tools-community/20/x86_64      MySQL Tools Community                        7
mysql56-community/20/x86_64          MySQL 5.6 Community Server                  43
rpmfusion-free/20/x86_64             RPM Fusion for Fedora 20 - Free            468
rpmfusion-free-updates/20/x86_64     RPM Fusion for Fedora 20 - Free - Updat    383
rpmfusion-nonfree/20/x86_64          RPM Fusion for Fedora 20 - Nonfree         203
rpmfusion-nonfree-updates/20/x86_64  RPM Fusion for Fedora 20 - Nonfree - Up    246
updates/20/x86_64                    Fedora 20 - x86_64 - Updates            16,793
repolist: 56,827
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-05-29 14:59:15 +0000

cobra gravatar image

What the error (and what that thread that you linked) is telling you is that the 'generic-release' and 'fedora-release' repositories conflict with each other.

If you disable one or the other, then the problem should go away. You should use 'fedora-release' unless you have a reason for not using it.

You have a lot of other repositories installed too - you should check that none of those conflict with each other either. If they do, you may have to re-think your strategy for installing the packages you want.

edit flag offensive delete link more

Comments

@cobra Where does the generic-release come from, it says in the description that it has only something to do with not abiding to the trademark restrictions. Am I doing something wrong or is it because I use 3rd party software sources?

somethingSomething ( 2014-05-29 15:12:15 +0000 )edit
1

It is because you're using 3rd party sources. I'm not sure which of the repository definitions you're using provides it, but the definitions can all be found in:

/etc/yum.repos.d/

It will be defined in one of the .repo files (you should be able to find it with grep generic-release /etc/yum.repos.d/ as the root user). Once you have it, just edit the .repo file and set enabled=0 for that definition.

cobra ( 2014-05-29 16:04:06 +0000 )edit

generic-release is an rpm package, and it conflicts with the fedora-release package.

Most likely one of the packages you'd tried to install requires generic-release and that's why you're getting that error. Examine the output of the yum install command you used; you can upload the output to any online pastebin for others to look at.

Ahmad Samir ( 2014-05-29 18:23:29 +0000 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

[hide preview]

Use your votes!

  • Use the 30 daily voting points that you get!
  • Up-vote well framed questions that provide enough information to enable people provide answers.
  • Thank your helpers by up-voting their comments and answers. If a question you asked has been answered, accept the best answer by clicking on the checkbox on the left side of the answer.
  • Down-voting might cost you karma, but you should consider doing so for incorrect or clearly detrimental questions and answers.

Question Tools

Follow
1 follower

Stats

Asked: 2014-05-29 13:37:53 +0000

Seen: 186 times

Last updated: May 29 '14