[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



	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
fanny.

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

	Mike
-- 
 Michael H. Warfield    |  (770) 985-6132   |  mhw at WittsEnd.com
  /\/\|=mhw=|\/\/       |  (678) 463-0932   |  <a  rel="nofollow" href="http://www.wittsend.com/mhw/";>http://www.wittsend.com/mhw/</a>
  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



</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00779" href="msg00779.html">[ale] Fedora Core 1 up2date</a></strong>
<ul><li><em>From:</em> cfowler at outpostsentinel.com (Chris Fowler)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00786.html">[ale] Removing duplicate files</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00788.html">[ale] NW meeting last night</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00789.html">[ale] Fedora Core 1 up2date</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00780.html">[ale] xfree problem</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00787"><strong>Date</strong></a></li>
<li><a href="threads.html#00787"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>