[ale] Fedora Core 1 up2date

Michael H. Warfield mhw at wittsend.com
Sat Feb 21 08:53:23 EST 2004

On Fri, Feb 20, 2004 at 11:34:29PM -0500, Chris Fowler wrote:
> I've got Fedore Core 1 installed and some stuff I can not up2date.  I
> keep getting errors What could be causing my up2dates fail?

	Just out of curiousity, why not run yum?

	Actually, I understand, that you can now configure up2date to
actually use yum or apt underneath the hood.  Haven't actually tried
it though.

	Yum is much much better and multiple repositories or retargeting
to local files plus mixed repositories.  I've set up a local up2date
server (current) in the past and the whole thing was a royal pain in the

> [root at cms root]# cat /tmp/up2date.out 
> Fetching package list for channel: fedora-core-1...
> Fetching
> http://fedora.redhat.com/releases/fedora-core-1/headers/header.info...
> Fetching package list for channel: updates-released...
> Fetching
> http://fedora.redhat.com/updates/released/fedora-core-1/headers/header.
> info...
> Fetching Obsoletes list for channel: fedora-core-1...
> Fetching Obsoletes list for channel: updates-released...
> Fetching rpm headers...
> Traceback (most recent call last):
>   File "/usr/sbin/up2date", line 1188, in ?
>     sys.exit(main() or 0)
>   File "/usr/sbin/up2date", line 766, in main
>     fullUpdate, dryRun=options.dry_run))
>   File "/usr/sbin/up2date", line 1051, in batchRun
>     batch.run()
>   File "up2dateBatch.py", line 58, in run
>   File "up2dateBatch.py", line 99, in __findPackagesToUpdate
>   File "packageList.py", line 520, in getPackagesToInstall
>   File "packageList.py", line 549, in __skipPackages
>   File "packageList.py", line 570, in __skipFiles
>   File "packageList.py", line 609, in buildHeaderList
>   File "headers.py", line 37, in __getitem__
>   File "headers.py", line 42, in __retrievePackage
>   File "rpcServer.py", line 110, in doCall
>   File "repoDirector.py", line 31, in getHeader
>   File "rpmSource.py", line 210, in getHeader
>   File "/usr/share/rhn/up2date_client/repoBackends/yumRepo.py", line 96,
> in getH
> eader
>     hdrBuf = fh.read()
>   File "/usr/lib/python2.2/gzip.py", line 156, in read
>     self._read(readsize)
>   File "/usr/lib/python2.2/gzip.py", line 210, in _read
>     self._read_eof()
>   File "/usr/lib/python2.2/gzip.py", line 245, in _read_eof
>     raise ValueError, "CRC check failed"
> ValueError: CRC check failed
> [root at cms root]# 

	Sounds like it's getting a corrupted file.  I've had that
happen a few times.  It may be a file is corrupted in the repository
you are trying to access.  If so, you may be SOL until they fix it.
That may also occur if a connection fails or times out and the
transfer doesn't complete.

 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  http://www.wittsend.com/mhw/
  NIC whois:  MHW9      |  An optimist believes we live in the best of all
 PGP Key: 0xDF1DD471    |  possible worlds.  A pessimist is sure of it!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: not available

More information about the Ale mailing list