Red Hat Bugzilla – Bug 126387
--exclude does not seem to work intuitively
Last modified: 2014-01-21 17:49:53 EST
Description of problem:
I have problems with update of evolution and php - they need
libraries which are not available (see below).
Intuitively, if I exclude the update of these programs, problems
having to do with these programs will be skipped over.
This does not happen. Only by constructing a series of yum updates
is this problem partially avoidable ( yum update a\*, yum update b\*,
Version-Release number of selected component (if applicable):
[root@hoho2 etc]# rpm -q yum
evolution is a new problem, php has been a problem for about a week.
Steps to Reproduce:
1. See below
[root@hoho2 etc]# yum --exclude=evolution --exclude=php update
Gathering header information file(s) from server(s)
Server: Fedora Core 2 - Development Tree
Finding updated packages
Downloading needed headers
.Package evolution needs libsoup-2.0.so.0, this is not available.
Package evolution needs libgtkhtml-3.0.so.4, this is not available.
Package evolution needs libgal-2.0.so.6, this is not available.
Package evolution needs libgal-a11y-2.0.so.6, this is not available.
Package php needs libintl.so.3, this is not available.
yum update of everything else except the excluded programs
b/c the other things libsoup, libgtkhtml, libgal, libgal-a11y and
libintl are being upgraded, it is php and evolution, that are still
installed, that are complaining about broken deps..
so when you exclude them from an upgrade you're causing the dep problem.
The solution to this problem is not to not exclude evolution from the
upgrade (upgrade of evolution was not available at the time), but to
just whack evolution, also php
rpm -e --nodeps evolution
rpm -e --nodeps php
Then, do the update
When this finishes, then reinstall evolution and php
yum install php
yum install evolution
If this last step does not succeed, then you are out of luck..
Has - worked for me