Ask Your Question
0

Why do I get this error?

asked 2014-05-29 08:37:53 -0500

updated 2014-05-29 09:55:14 -0500

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 09:59:15 -0500

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 gravatar imagesomethingSomething ( 2014-05-29 10:12:15 -0500 )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 gravatar imagecobra ( 2014-05-29 11:04:06 -0500 )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 gravatar imageAhmad Samir ( 2014-05-29 13:23:29 -0500 )edit

Your Answer

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

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-05-29 08:37:53 -0500

Seen: 196 times

Last updated: May 29 '14