[clue-tech] CentOS 5 update problems

Dan Poler dpoler at redhat.com
Tue Aug 21 08:42:58 MDT 2007


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

On Mon, 2007-08-20 at 15:22 -0700, Mark G. Harvey wrote:
> Dan, 
> 
> Ok, now I'm really stumped.  It appears what you suggested works fine.  So why can't "yum
> update" use the repositories in these directories 
> 
> [root at hosting ~]# ll /etc/yum.repos.d/
> total 16
> -rw-r--r-- 1 root root 2365 Jul 12 16:32 CentOS-Base.repo
> -rw-r--r-- 1 root root  622 Apr  8 13:22 CentOS-Media.repo
> 
> & download updates?  I can send you the .repo files directly (vice clue-tech) if you need
> them.
> 
> Do I need to manually set a repository such as 
> http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/
> for the system to get its updates? 
> 
> Again, thanks much for lending a hand with this issue. 
> 
> Mark
> 
> 
> the download ... 
> 
> [root at hosting ~]# wget -cvt 0
> 'http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm'
> --16:11:55-- 
> http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm
> Resolving centos-distro.cavecreek.net... 64.38.239.200
> Connecting to centos-distro.cavecreek.net|64.38.239.200|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 319592 (312K) [application/x-rpm]
> --16:11:56--  (try: 2) 
> http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm
> Connecting to centos-distro.cavecreek.net|64.38.239.200|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 319592 (312K) [application/x-rpm]
> Saving to: `vim-minimal-7.0.109-3.el5.3.i386.rpm'
> 
> 100%[====================================================================>] 319,592     
> 149K/s   in 2.1s
> 
> 16:11:58 (149 KB/s) - `vim-minimal-7.0.109-3.el5.3.i386.rpm' saved [319592/319592]
> 
> 
> verification ... I didn't even install it, just verified.  
>  
> [root at hosting ~]# ll
> total 380
> -rw------- 1 root root   1135 Jul 10 19:08 anaconda-ks.cfg
> -rw-r--r-- 1 root root  30911 Jul 10 19:08 install.log
> -rw-r--r-- 1 root root   5572 Jul 10 19:05 install.log.syslog
> -rw-r--r-- 1 root root 319592 May 10 09:09 vim-minimal-7.0.109-3.el5.3.i386.rpm
> [root at hosting ~]# rpm -qip vim-minimal-7.0.109-3.el5.3.i386.rpm
> Name        : vim-minimal                  Relocations: (not relocatable)
> Version     : 7.0.109                           Vendor: CentOS
> Release     : 3.el5.3                       Build Date: Wed 09 May 2007 05:04:27 PM MDT
> Install Date: (not installed)               Build Host: builder4.centos.org
> Group       : Applications/Editors          Source RPM: vim-7.0.109-3.el5.3.src.rpm
> Size        : 590552                           License: freeware
> Signature   : DSA/SHA1, Thu 10 May 2007 09:09:52 AM MDT, Key ID a8a447dce8562897
> Summary     : A minimal version of the VIM editor.
> Description :
> VIM (VIsual editor iMproved) is an updated and improved version of the
> vi editor.  Vi was the first real screen-based editor for UNIX, and is
> still very popular.  VIM improves on vi by adding new features:
> multiple windows, multi-level undo, block highlighting and more. The
> vim-minimal package includes a minimal version of VIM, which is
> installed into /bin/vi for use when only the root partition is
> present. NOTE: The online help is only available when the vim-common
> package is installed.
> [root at hosting ~]#
> 
> 
> --- Dan Poler <dpoler at redhat.com> wrote:
> 
> > From the errors you're receiving it would seem that the files are not
> > coming off of the yum repo properly. I'm not sure what to tell you -- I
> > was able to download, for example,
> >
> http://centos-distro.cavecreek.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm
> > and run 'rpm -qip' against it and see that it was a valid, good package.
> > The files seem good, but they're not getting to you good. 
> 
> > What happens if you download the above rpm and apply it with 'rpm -Uvh',
> > or verify it with 'rpm -qip' ?
> 
> > If your media were bad, or the fact that it's ESX, I suspect you'd have
> > far larger problems than this...
> > 
> > dap
> > 
> 
> 
> 
>        
> ____________________________________________________________________________________
> Pinpoint customers who are looking for what you sell. 
> http://searchmarketing.yahoo.com/
> _______________________________________________
> clue-tech mailing list
> clue-tech at cluedenver.org
> http://www.cluedenver.org/mailman/listinfo/clue-tech
-- 
Dan Poler, RHCE
Senior Consultant
Red Hat, Inc.
E-Mail: dpoler at redhat.com
Phone: +1 (303) 502-4576
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://cluedenver.org/pipermail/clue-tech/attachments/20070821/9d7ba1fe/attachment-0002.bin


More information about the clue-tech mailing list