Ask Your Question
0

Yum update is really broken, how can I fix this?

asked 2014-02-10 11:44:45 -0600

MattsFace gravatar image

updated 2014-02-11 20:56:05 -0600

FranciscoD_ gravatar image

I have a feeling this has to do with that bad SElinux update...

yum -y update produces the following..How can I fix this???

[09:40] mspah@lucy ~ $ sudo yum -y update
[sudo] password for mspah: 
Loaded plugins: etckeeper, langpacks, priorities, refresh-packagekit, refresh-updatesd, versionlock
Dropbox                                                                                                        |  951 B  00:00:00     
adobe                                                                                                          |  951 B  00:00:00     
google-chrome                                                                                                  |  951 B  00:00:00     
korora                                                                                                         | 3.4 kB  00:00:00     
rpmfusion-free-updates                                                                                         | 3.3 kB  00:00:00     
rpmfusion-nonfree-updates                                                                                      | 3.3 kB  00:00:00     
updates/20/x86_64/metalink                                                                                     |  16 kB  00:00:00     
33 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package abrt.x86_64 0:2.1.11-1.fc20 will be updated
--> Processing Dependency: abrt = 2.1.11-1.fc20 for package: abrt-addon-kerneloops-2.1.11-1.fc20.x86_64
--> Processing Dependency: abrt = 2.1.11-1.fc20 for package: abrt-addon-pstoreoops-2.1.11-1.fc20.x86_64
--> Processing Dependency: abrt = 2.1.11-1.fc20 for package: abrt-addon-ccpp-2.1.11-1.fc20.x86_64
--> Processing Dependency: abrt = 2.1.11-1.fc20 for package: abrt-addon-xorg-2.1.11-1.fc20.x86_64
--> Processing Dependency: abrt = 2.1.11-1.fc20 for package: abrt-addon-vmcore-2.1.11-1.fc20.x86_64
---> Package abrt.x86_64 0:2.1.12-1.fc20 will be an update
---> Package glibc-headers.x86_64 0:2.18-11.fc20 will be updated
--> Processing Dependency: glibc-headers = 2.18-11.fc20 for package: glibc-devel-2.18-11.fc20.x86_64
---> Package glibc-headers.x86_64 0:2.18-12.fc20 will be an update
---> Package kernel-headers.x86_64 0:3.12.9-301.fc20 will be updated
---> Package kernel-headers.x86_64 0:3.12.10-300.fc20 will be an update
--> Finished Dependency Resolution
--> Finding unneeded leftover dependencies
Found and removing 0 unneeded dependencies
Error: Package: abrt-addon-pstoreoops-2.1.11-1.fc20.x86_64 (@updates)
           Requires: abrt = 2.1.11-1.fc20
           Removing: abrt-2.1.11-1.fc20.x86_64 (@updates)
               abrt = 2.1.11-1.fc20
           Updated By: abrt-2.1.12-1.fc20.x86_64 (updates)
               abrt = 2.1.12-1.fc20
           Available: abrt-2.1.9-1.fc20.x86_64 (fedora)
               abrt = 2.1.9-1.fc20
Error: Package: abrt-addon-xorg-2.1.11-1.fc20.x86_64 (@updates)
           Requires: abrt = 2.1.11-1.fc20
           Removing: abrt-2.1.11-1.fc20.x86_64 (@updates)
               abrt = 2.1.11-1.fc20
           Updated By: abrt-2.1.12-1.fc20.x86_64 (updates)
               abrt = 2.1.12-1.fc20
           Available: abrt-2.1.9-1.fc20.x86_64 (fedora)
               abrt = 2.1.9-1.fc20
Error: Package: abrt-addon-vmcore-2.1.11-1.fc20.x86_64 (@updates)
           Requires: abrt = 2.1.11-1.fc20
           Removing: abrt-2.1.11-1.fc20.x86_64 (@updates)
               abrt = 2.1.11-1.fc20
           Updated By: abrt-2.1.12-1.fc20.x86_64 (updates)
               abrt = 2.1.12-1.fc20
           Available: abrt-2.1.9-1.fc20.x86_64 (fedora)
               abrt = 2.1.9-1.fc20
Error: Package: abrt-addon-kerneloops-2.1.11-1.fc20.x86_64 (@updates)
           Requires: abrt = 2.1.11-1.fc20
           Removing: abrt-2.1.11-1.fc20.x86_64 (@updates)
               abrt = 2.1.11-1.fc20
           Updated By: abrt-2.1.12-1.fc20.x86_64 (updates)
               abrt = 2.1.12-1.fc20
           Available: abrt-2.1.9-1.fc20.x86_64 (fedora)
               abrt = 2.1.9-1.fc20
Error: Package: glibc-devel-2.18-11.fc20.x86_64 (@Fedora 20 - x86_64/$releasever)
           Requires: glibc-headers = 2.18-11.fc20
           Removing: glibc-headers-2.18-11.fc20.x86_64 (@Fedora 20 - x86_64/$releasever)
               glibc-headers = 2.18-11.fc20
           Updated ...
(more)
edit retag flag offensive close merge delete

Comments

Maybe something to look at: "33 packages excluded due to repository priority protections"? Citing from http://lists.centos.org/pipermail/centos/2009-November/086189.html "Gosh, I hope people do not set up yum priorities."

marcindulak gravatar imagemarcindulak ( 2014-02-10 12:09:44 -0600 )edit

Did you start with kokora, or did you add the kokora repositories to Fedora?

randomuser gravatar imagerandomuser ( 2014-02-15 12:26:15 -0600 )edit

4 Answers

Sort by ยป oldest newest most voted
2

answered 2014-02-17 11:05:13 -0600

HatsUp gravatar image

updated 2014-02-17 13:32:48 -0600

Try removing duplicates with package-cleanup --cleandupes

Then you can try to update again with yum update.

edit flag offensive delete link more

Comments

There is no need to "advertise" any site/blog or anything for a simple package-cleanup command. You can use either man package-cleanup or official documentation as a reference (if needed)

NickTux gravatar imageNickTux ( 2014-02-17 12:13:15 -0600 )edit
1

Noted and edited. Sorry, it's my first post, and thanks for heads up. :)

HatsUp gravatar imageHatsUp ( 2014-02-17 13:34:28 -0600 )edit
2

answered 2014-02-10 12:13:04 -0600

NickTux gravatar image

updated 2014-02-10 17:27:52 -0600

Probably you have combined multiple repositories that include the same packages, thus the duplicates error occurred . You may wish to disable some repositories in order the update to be completed without errors.

You can do so from the command line like this (below command will not disable repositories permanently).

sudo yum --disablerepo "*" --enablerepo  "updates" update

You have to remove/disable some repositories, because is most likely you will encounter the same error in future updates,

Or

you should assign the priorities manually.

Read about yum repositories priorities.

edit flag offensive delete link more
0

answered 2014-02-10 12:51:52 -0600

Looks like kernel 3.12.10-300 is not on the update server yet. I'm getting the same result updating my F20

edit flag offensive delete link more

Comments

At least I'm not the only one...

MattsFace gravatar imageMattsFace ( 2014-02-10 12:53:14 -0600 )edit

I never set any yum priorities, hell, I don't even remember ever adding any repositories

MattsFace gravatar imageMattsFace ( 2014-02-10 12:53:39 -0600 )edit

I'm running 3.12.10-300.fc20.x86_64, so it is in the repositories and was as of early this morning.

MattsFace, are you running Fedora or Korora?

Glenn gravatar imageGlenn ( 2014-02-10 17:12:23 -0600 )edit
1

Me too: this kernel is in Fedora. As for additional installed repositories: Dropbox, adobe, google-chrome, rpmfusion-*-updates, but where is fedora? Did you do yum clean all?

marcindulak gravatar imagemarcindulak ( 2014-02-11 03:30:22 -0600 )edit

I am actually using Korora..

MattsFace gravatar imageMattsFace ( 2014-02-11 11:17:56 -0600 )edit
0

answered 2014-02-15 01:32:05 -0600

tiansworld gravatar image

updated 2014-02-15 03:01:12 -0600

This is the situation exactly what I met.

I hope this may help you

Solution:

# setenforce 0
# yum clean expire-cache
# yum update selinux-policy\*
# setenforce 1

You'd better read the details here: http://fedoraproject.org/wiki/Common_F20_bugs#RPM_scriptlets_fail_during_updates Related bug is: https://bugzilla.redhat.com/show_bug.cgi?id=1054350

After ran commands above, my yum update still failed with the same error output. Then I add --skip-broken, then some of packages got updated. And yum update will still generate errors:Skipping filters plugin, no data --> Running transaction check ---> Package glibc-headers.x86_64 0:2.18-11.fc20 will be updated --> Processing Dependency: glibc-headers = 2.18-11.fc20 for package: glibc-devel-2.18-11.fc20.x86_64 ---> Package glibc-headers.x86_64 0:2.18-12.fc20 will be an update ---> Package kernel-headers.x86_64 0:3.12.9-301.fc20 will be updated ---> Package kernel-headers.x86_64 0:3.12.10-300.fc20 will be an update --> Finished Dependency Resolution Error: Package: glibc-devel-2.18-11.fc20.x86_64 (@fedora) Requires: glibc-headers = 2.18-11.fc20 Removing: glibc-headers-2.18-11.fc20.x86_64 (@fedora) glibc-headers = 2.18-11.fc20 Updated By: glibc-headers-2.18-12.fc20.x86_64 (_local) glibc-headers = 2.18-12.fc20 You could try using --skip-broken to work around the problem ** Found 33 pre-existing rpmdb problem(s), 'yum check' output follows: 1:NetworkManager-0.9.9.0-24.git20131003.fc20.x86_64 has missing requires of NetworkManager-glib(x86-64) = ('1', '0.9.9.0', '24.git20131003.fc20') 1:NetworkManager-0.9.9.0-25.git20131003.fc20.x86_64 is a duplicate with 1:NetworkManager-0.9.9.0-24.git20131003.fc20.x86_64 1:NetworkManager-0.9.9.0-25.git20131003.fc20.x86_64 has missing requires of NetworkManager-glib(x86-64) = ('1', '0.9.9.0', '25.git20131003.fc20') 1:NetworkManager-0.9.9.0-26.git20131003.fc20.x86_64 is a duplicate with 1:NetworkManager-0.9.9.0-25.git20131003.fc20.x86_64 1:NetworkManager-0.9.9.0-26.git20131003.fc20.x86_64 has missing requires of NetworkManager-glib(x86-64) = ('1', '0.9.9.0', '26.git20131003.fc20') 1:NetworkManager-0.9.9.0-28.git20131003.fc20.x86_64 is a duplicate with 1:NetworkManager-0.9.9.0-26.git20131003.fc20.x86_64 audit-2.3.2-1.fc20.x86_64 has missing requires of audit-libs = ('0', '2.3.2', '1.fc20') audit-2.3.3-1.fc20.x86_64 is a duplicate with audit-2.3.2-1.fc20.x86_64 bluez-5.14-1.fc20.x86_64 is a duplicate with bluez-5.13-1.fc20.x86_64 dnf-0.4.12-1.fc20.noarch is a duplicate with dnf-0.4.11-1.fc20.noarch dnf-0.4.13-2.fc20.noarch is a duplicate with dnf-0.4.12-1.fc20.noarch firefox-26.0-3.fc20.x86_64 has installed conflicts xulrunner(x86-64) > ('0', '26.1', None): xulrunner-27.0-1.fc20.x86_64 firefox-26.0-5.fc20.x86_64 is a duplicate with firefox-26.0-3.fc20.x86_64 firefox-26.0-6.fc20.x86_64 is a duplicate with firefox-26.0-5.fc20.x86_64 firefox-27.0-1.fc20.x86_64 is a duplicate with firefox-26.0-6.fc20.x86_64 firewalld-0.3.9.2-1.fc20.noarch is a duplicate with firewalld-0.3.9-1.fc20.noarch firewalld-0.3.9.3-1.fc20.noarch is a duplicate with firewalld-0.3.9.2-1.fc20.noarch flash-plugin-11.2.202.336-release.x86_64 is a duplicate with flash-plugin-11.2.202.335-release.x86_64 glibc-devel-2.18-11.fc20.x86_64 has missing ... (more)

edit flag offensive delete link more

Comments

"I manually remove the duplicate packages(for example yum-3.4.3-129, gnome-shell-3.10.3-[1,3]*, firefox) Now it seems OK."

Could you please state which command did you use to manually remove packages?

Neswbie Alert!

elemer82 gravatar imageelemer82 ( 2014-05-27 17:31:54 -0600 )edit

elemer82,

To manually remove packages run 'yum erase <package_name>' and it'll remove that package. Run 'man yum' to see the documentation on yums other options.</package_name>

roshi gravatar imageroshi ( 2014-06-11 19:10:51 -0600 )edit

Question Tools

3 followers

Stats

Asked: 2014-02-10 11:44:45 -0600

Seen: 29,945 times

Last updated: Feb 17 '14