[CentOS] Yum repomd.xml error
Les Mikesell
lesmikesell at gmail.com
Wed May 11 17:45:00 UTC 2005
On Tue, 2005-05-10 at 21:02, Lamar Owen wrote:
> No, but if she steps on your foot, there's two reasons why: she can't dance,
> or you can't move your feet fast enough. Her misstep has two causes. In this
> case, yum is getting an RFC2616 compliant response code of 304 as an
> inappropriate response (after all, 304 is indicated only with a conditional
> GET and is intended to answer caching questions).
I don't think I've ever seen apache get that wrong, although it can
be fooled by bad timestamps on the underlying files.
> Now, the question becomes
> how yum is doing its GET, and how yum responds to an unexpected 304, which
> just means Not Modified. The urlgrab routines apparently don't handle this
> for yum (it's open source; I read the source). Fixable with a little work,
> really.
It makes perfect sense to do a conditional get if you already have a
copy of something that is likely to be unchanged on the server.
--
Les Mikesell
les at futuresource.com
More information about the CentOS
mailing list