Due to some accidental eclecticism in my repository list, the package fedora-release was uninstalled from my machine (a Fedora 21 laptop) and replaced with generic-release.I can't seem to be able to remove it, however:[root@linuxbox ~]# yum remove generic-release(...)Error: Trying to remove systemd, which is protectedand neither to install the fedora package:[root@linuxbox ~]# yum install fedora-releaseLoaded plugins: langpacksResolving Dependencies--> Running transaction check---> Package fedora-release.noarch 0:21-2 will be installed--> Processing Conflict: generic-release-21-7.noarch conflicts fedora-release--> Finished Dependency ResolutionError: generic-release conflicts with fedora-release-21-2.noarchHow to replace generic-release with fedora-release?
How to replace generic-release with fedora-release?
fedora;yum
You can try:yum swap generic-release fedora-releaseor you can try with:yum shell> remove generic-release> install fedora-release> runif it does not work may be you can download correct rpm packages fedora-release fedora-release-notes and run:rpm -e --no-deps generic-release generic-release-notesrpm -ihv fedora-release-*