Solved

YUM update fails repeatedly

Posted on 2006-10-28
3
293 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
android secure ftp 3 70
RHEL 6.7 Gnome Desktop on VMware 6 VM 9 111
Looking for a program called HoneyMine. 3 64
Granting root permissions to a user (in Debian Jessie) 17 50
SSH (Secure Shell) - Tips and Tricks As you all know SSH(Secure Shell) is a network protocol, which we use to access/transfer files securely between two networked devices. SSH was actually designed as a replacement for insecure protocols that sen…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

756 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