[clue-tech] CentOS 5 update problems

Mark G. Harvey markgharvey at yahoo.com
Tue Aug 21 11:06:29 MDT 2007


Dan,

At this point, I'm thinking about downloading the DVD .iso from a different mirror than my
original .iso so as to avoid any corruptions.  The trouble is that my original .iso passed the
md5sum test and other mirror sites have the exact same DVD .iso file!  So it may not do me any
good.  

I did submit a bug report to CentOS.org  As you can see by the date, I've been dealing with
this problem for a while now.  Granted there is no feedback through this venue, but I'd hoped
for some kind of manual rpm patch to fix the issue.  
0002198	 [CentOS-5]-OTHER	crash	new	2007-07-11	Package Updater Crash
0002197	 [CentOS-5]-OTHER	crash	new	2007-07-11	package manager crash

I have also browsed the "CentOS 5 - General Support" (General support questions including new
installations) forum but not had any luck in finding a posting that related to my update
issue.  

I suspect there is something wrong with these two lines in the CentOS-Base.repo file.
  mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
  baseurl=http://mirror.centos.org/centos/$releasever/os/$basearch/
They occur in each section - base, updates, addons, extras, centosplus, & contrib

Been trying to figure out what values are in these variables:  $releasever  $basearch


Also, some other items to check out ... 

----------------------------------------------------------------------------

[root at hosting etc]# cat yum.conf
[main]
cachedir=/var/cache/yum
keepcache=1
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
metadata_expire=1800

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

----------------------------------------------------------------------------

[root at hosting etc]# ll /var/cache/yum/
total 40
drwxr-xr-x 4 root root 4096 Aug 20 15:07 addons
drwxr-xr-x 4 root root 4096 Aug 20 15:07 base
drwxr-xr-x 4 root root 4096 Jul 12 23:46 extracdinstaller
drwxr-xr-x 4 root root 4096 Aug 20 15:07 extras
drwxr-xr-x 4 root root 4096 Aug 20 15:07 updates

----------------------------------------------------------------------------

[root at hosting etc]# cat /var/cache/yum/base/repomd.xml
<?xml version="1.0" encoding="UTF-8"?>
<repomd xmlns="http://linux.duke.edu/metadata/repo">
  <data type="other">
    <location href="repodata/other.xml.gz"/>
    <checksum type="sha">6c0139acf1873aebcbdd220c45795b45a2bc2666</checksum>
    <timestamp>1176234319</timestamp>
    <open-checksum type="sha">9c448cc4ce93b237a6c1ef0f127a9fbeca652eec</open-checksum>
  </data>
  <data type="filelists">
    <location href="repodata/filelists.xml.gz"/>
    <checksum type="sha">155e4b87827d99b19a86ca23505521171c24d8fd</checksum>
    <timestamp>1176234319</timestamp>
    <open-checksum type="sha">75d210f95ba98f3f51f1ae5f6936221e2c2d9e71</open-checksum>
  </data>
  <data type="primary">
    <location href="repodata/primary.xml.gz"/>
    <checksum type="sha">d960cd1b41bac6a6c739b72314ed451b90879d58</checksum>
    <timestamp>1176234319</timestamp>
    <open-checksum type="sha">000fec4a70c492e71a57940150fd7e20f7de8a2b</open-checksum>
  </data>
  <data type="group">
    <location href="repodata/comps.xml"/>
    <checksum type="sha">10b04b72722ee9ad6113c00740df75aa2b7168e6</checksum>
    <timestamp>1176233807</timestamp>
  </data>
</repomd>

----------------------------------------------------------------------------

The yum log file [ /var/log/yum.log ] is empty and is dated the day I built my CentOS 5
machine.
   -rw-r--r-- 1 root  root       0 Jul 10 19:23 yum.log

----------------------------------------------------------------------------

I'm ready to go back to SuSE but my choices of hosting software (GNU Hosting Helper and/or
Virtualmin) both have better support for CentOS.

Appreciate any suggestions you or the clue-tech crowd can provide.  Thanks.

Mark

--- Dan Poler <dpoler at redhat.com> wrote:

> I'm gettin' towards stumped myself... This is not making much sense. 
> Your thought is a good one -- move the existing .repo files out of the
> way and use one to create a template pointing to _one_ specific mirror,
> but I'm guessing.... Haven't encountered anything like this before.
> 
> Interestingly enough, it feels like a corrupted RPM problem I ran into
> yesterday at work -- trying to do kickstart installations, and roughly
> ~10% of the RPM's on the server were present but corrupt. I had to
> figure out which ones via md5 against their original source and replace
> them. Much fun. :-)
> 
> dap
> 



       
____________________________________________________________________________________
Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
http://autos.yahoo.com/carfinder/



More information about the clue-tech mailing list