[clue-tech] CentOS 5 update problems

Dan Poler dpoler at redhat.com
Mon Aug 20 13:15:24 MDT 2007


It almost seems like the header to vim-minimal is wonky.
yum clean all then yum update again? maybe a yum --exclude=vim-minimal
update ?

dap

On Mon, 2007-08-20 at 12:06 -0700, Mark G. Harvey wrote:
> Dan,
> 
> I've not had any issue when downloading updates for Windows, SuSE Linux, or anything else.  I
> seriously doubt its a firewall issue.  No proxy server involved either.  
> 
> I did a basic install of CentOS 5 with the intention of using it as a hosting server.  Its a
> virtual machine in VMware ESX 3.0.1 which, AFAIK, supports RHEL 5.  
> 
> Thanks for your help.
> 
> Mark
> 
> 
> repository entries ... 
> 
> [admin 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
> [admin at hosting ~]$
> 
> Here's what I have in the way of errors for Package Updater & yum
> 
>  ... Package Updater sees that there are 43 updates available, but bombs when trying to
> retrieve them.  
> 
> -- Package Updater Crash --
> 
> Component: Software Manager
> Summary: TBccefa5c9 yumRepo.py:426:__get:RepoError: failure:
> CentOS/compat-gcc-34-3.4.6-4.i386.rpm from base: [Errno 256] No more mirrors to try.
> 
> Traceback (most recent call last):
>   File "/usr/sbin/pirut", line 334, in _apply
>     self.applyChanges(self.mainwin)
>   File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 557, in applyChanges
>     self.checkDeps(mainwin)
>   File "/usr/lib/python2.4/site-packages/pirut/__init__.py", line 322, in checkDeps
>     self.populateTs(keepold=0)
>   File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 150, in populateTs
>     self.downloadHeader(txmbr.po)
>   File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 767, in downloadHeader
>     cache=repo.http_caching != 'none',
>   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 454, in getHeader
>     cache=cache,
>   File "/usr/lib/python2.4/site-packages/yum/yumRepo.py", line 426, in __get
>     raise Errors.RepoError, "failure: %s from %s: %s" % (relative, self.id, e)
> RepoError: failure: CentOS/compat-gcc-34-3.4.6-4.i386.rpm from base: [Errno 256] No more
> mirrors to try.
> 
> Local variables in innermost frame:
> e: [Errno 256] No more mirrors to try.
> start: 440
> url: None
> text: None
> self: base
> cache: True
> reget: None
> relative: CentOS/compat-gcc-34-3.4.6-4.i386.rpm
> headers: ()
> checkfunc: (<bound method PackageManager.verifyHeader of <__main__.PackageManager object at
> 0x91389cc>>, (<yum.sqlitesack.YumAvailablePackageSqlite object at 0x9692f8c>, 1), {})
> copy_local: 1
> end: 9309
> local: //var/cache/yum/base/headers/compat-gcc-34-3.4.6-4.i386.hdr
> 
> -----------------------------------------------------------------------------------------
> 
> -- yum update failure -- 
> 
> [root at hosting /]# yum update
> Loading "installonlyn" plugin
> Setting up Update Process
> Setting up repositories
> base                      100% |=========================| 1.1 kB    00:00
> updates                   100% |=========================|  951 B    00:00
> addons                    100% |=========================|  951 B    00:00
> extras                    100% |=========================| 1.1 kB    00:00
> Reading repository metadata in from local files
> Resolving Dependencies
> --> Populating transaction set with selected packages. Please wait.
> ---> Downloading header for vim-minimal to pack into transaction set.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://pubmirrors.reflected.net/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://mirror.newnanutilities.org/pub/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> http://mirrors.csumb.edu/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno 14] HTTP Error 302: The HTTP server returned a redirect error that would lead to an
> infinite loop.
> The last 30x error message was:
> Found
> Trying other mirror.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://mirror.fast-serv.com/pub/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://mirrors.cat.pdx.edu/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://mirror.cs.vt.edu/pub/CentOS/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> ftp://ftp.linux.ncsu.edu/pub/CentOS/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 500 Unknown command.
> Trying other mirror.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://centos.mirrors.mypsh.com/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> ftp://mirror.daemonbox.net/pub/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno 4] IOError: [Errno ftp error] [Errno ftp error] 500 Unknown command.
> Trying other mirror.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://mirror.centos.org/centos/5/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> vim-minimal-7.0.109-3.el5 100% |=========================| 7.4 kB    00:00
> http://updates.interworx.info/centos/5.0/updates/i386/RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm:
> [Errno -1] Header is not complete.
> Trying other mirror.
> Error: failure: RPMS/vim-minimal-7.0.109-3.el5.3.i386.rpm from updates: [Errno 256] No more
> mirrors to try.
> [root at hosting /]#
> --------------------------------------------------------------------------------------------
> 
> 
> --- Dan Poler <dpoler at redhat.com> wrote:
> 
> > On Mon, 2007-08-20 at 09:36 -0700, Mark G. Harvey wrote:
> > > A question for CentOS gurus ... 
> > > 
> > > My background ... I'm using CentOS for the first time.  I'm experienced in other distros,
> > > particularly SuSE.  Used to use RedHat back in version 8 & 9.  
> > > 
> > > The problem ... Did a fresh install of CentOS 5 into a Virtual Machine.  All seems normal
> > &
> > > the update monitor even detects that 40+ updates are available.  The trouble is that when
> > > using Package Updater, it bombs saying it can't find the mirror servers to receive the
> > > updates.  
> > 
> > If you do a 'service yum-updatesd stop' and a 'yum update' from the
> > command line what's that do for you? Can you provide a cut and paste of
> > the errors if that errors out?
> > 
> > Do you have repo entries in /etc/yum.repos.d/* ?
> > 
> > Getting blocked by a firewall somewhere along the way?
> > 
> > dap
> > 
> > -- 
> > Dan Poler, RHCE
> > Senior Consultant
> > Red Hat, Inc.
> > E-Mail: dpoler at redhat.com
> > Phone: +1 (303) 502-4576
> > > _______________________________________________
> > clue-tech mailing list
> > clue-tech at cluedenver.org
> > http://www.cluedenver.org/mailman/listinfo/clue-tech
> 
> 
> 
>        
> ____________________________________________________________________________________
> Choose the right car based on your needs.  Check out Yahoo! Autos new Car Finder tool.
> http://autos.yahoo.com/carfinder/
> _______________________________________________
> 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/20070820/2a450c26/attachment-0002.bin


More information about the clue-tech mailing list