yum update blocked for now

Horst H. von Brand vonbrand at inf.utfsm.cl
Tue Aug 8 15:49:01 UTC 2006


Gerry Tool <gstool at earthlink.net> wrote:
> yum update – many available.
> 
> Can't update due to
> 
> Error: Missing Dependency: libebook-1.2.so.5 is needed by package
> control-center

Here I excluded the following (after updating as much as possible yesterday):

bug-buddy
control-center
ekiga
evolution
evolution-data-server
evolution-data-server-devel
evolution-sharp
gaim
gnome-panel
gnome-panel-devel
nautilus-sendto

The evolution-* mess is due to evolution-webcal.


One way forward:

   yum check-update | tail -n +4 | cut -d. -f1 | sort -u > /tmp/list

Note that this isn't very kosher, as there are packages with '.' in their
names, but as a first approximation it does work out. The "sort -u" is more
for x86_64, where there are multiple packages with the same name, this gets
rid of duplicates.

Then go over /tmp/list and see what you can install without messing things
up, after the failed "yum upgrade" it is (somewhat) obvious what could work
as a first cut, and upgrade that "by hand", i.e.,

   yum -y upgrade kernel* krb5* glibc* ...

Any breakage, delete the offending piece(s) and try again until the group
(plus dependencies) goes in cleanly.

Rinse and repeat as required. When finally at wit's end (or bored to death
by all this), brute-force what is left (creating a new list first):

  for p in $(< /tmp/list); do yum -y upgrade $p; done

Note that this last is very inefficient: It starts a new yum(8) for each
package, if some were installed earlier due to dependencies, it won't
notice; it also doesn't notice interdependent groups of packages that can't
be installed and tries each one in turn. That is why a few rounds of
hand-upgrading before going one-by-one is a good idea.
-- 
Dr. Horst H. von Brand                   User #22616 counter.li.org
Departamento de Informatica                     Fono: +56 32 654431
Universidad Tecnica Federico Santa Maria              +56 32 654239
Casilla 110-V, Valparaiso, Chile                Fax:  +56 32 797513




More information about the fedora-test-list mailing list