[Yum] better error handling in yum?

Michael Stenner mstenner at ece.arizona.edu
Thu Apr 29 21:46:32 UTC 2004

On Thu, Apr 29, 2004 at 02:52:46PM -0700, Dan Hollis wrote:
> yum should handle http errors better.
> "[Errno 6] ERROR: Url Return no Content-Length  - something is wrong"
> This is not a terribly useful error message.
> It should say something like
> "[Errno 6] ERROR: Server reports '503 Service Temporarily Unavailable'"
> instead.

This particular error message has been discussed many many times.
It's going away, so lets not get into it in great detail.  The problem
is that the code must be cross-protocol and there is not alway a
useful error message to report.  That particular check covers MANY
problems and it is not always possible to know precisely which of them
is happening.


  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G

More information about the Yum mailing list