Solved

YUM update fails repeatedly

Posted on 2006-10-28
3
289 Views
Last Modified: 2013-12-16
Running Fedora core 4.  Logged in as root. run YUM update and at transaction summary I see
install 6 packages
update 300 packages
remove 0 packages
Total download size 539 M
When I approve it goes to 1 of 306,  glib2-2.6.6-1.i3, and tries to dowload it. Then it stops and says "package does not match checksum" and tries a mirror. It does this three times and then dies with an index error. flushed the cache with YUM clear all and repeated over 3 days with identical results. Any thoughts?
0
Comment
Question by:Oldie_One
3 Comments
 
LVL 43

Expert Comment

by:ravenpl
ID: 17828149
try updating yum itself first:
yum update yum

if it fails as well, update by hand. Download ftp://download.fedora.redhat.com/pub/fedora/linux/core/updates/4/i386/yum-2.4.1-1.fc4.noarch.rpm
install as: rpm -Uv yum-2.4.1-1.fc4.noarch.rpm
0
 
LVL 30

Expert Comment

by:Kerem ERSOY
ID: 17833337
Hi,

it seems that indexes are meessed try this:

yum clean
yum list yum

clean option will clean the yum cache (though you told you've cleaned I don't know how did you do it. List yum option will read thus recreate the indexes.

Cheers,
K.

0
 
LVL 20

Accepted Solution

by:
nedvis earned 250 total points
ID: 17847261
There are quite few more trick when working with yum:
a- make sure you have enough free space on partition where your /var  and  /tmp  folders reside,
b- clean all cached yum data ( packages, metadata and headers ) --> command is :    yum clean all
c- be more selective when updating installed packages , for instance, select to download only updated libraries
   e.g. :   yum update lib*
    or   :  yum update k*         to update only packages with initial "k" in package names etc.
d- skip package number 306   ( with supposedly wrong checksum )
  and so on.
  That way ( running selective and subsequent updates) your update process/procedure may prove to be better than
  updating system all-at-once ( 300 packages in your case).

 
     
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Fine Tune your automatic Updates for Ubuntu / Debian
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question