On Tue, Sep 08, 2009 at 06:30:16PM +0200, Thorsten Heit wrote:

> 1: Invalid content for action with path usr/share/doc/ant/license.html: 
> chash failure: expected: 6a94235ed9911fc6da326108478d2fa69e025a37 
> computed: 2ee5cfac856d5534a3c73462af3f6e6e38ac7f8f. (happened 8 times)

This error message means that pkg(5) detected that your download was
corrupted.  It expected the file to have one hash value, but the value
that was computed after the download didn't match.

> The following proxy configuration is set in the environment:
> 
> http_proxy: http://localhost:3128/
> 
> Environment:
> - OpenSolaris build 122 running on a x86-64 server
> - Squid as a local proxy whose only purpose is to forward incoming 
> requests without authentication to our corporate's proxy which needs 
> authentication
> - corporate firewall that allows outgoing access only via the standard 
> HTTP(S) ports
> 
> thors...@opensolaris:~$ pkg publisher
> PUBLISHER                             TYPE     STATUS   URI
> opensolaris-dev          (preferred)  origin   online   
> http://pkg.opensolaris.org/dev/
> opensolaris-dev          (preferred)  mirror   online   
> http://pkg.mirror.garr.it:8080/
> kde                                   origin   online   
> http://pkg.bionicmutton.org:8080/

Something is giving you bad data or corrupting your download.  There are
a couple of different ways to figure out who is causing your problem.

You can try setting PKG_DUMP_STATS=1 in your environment.  This should
print out basic statistics about your download.  If one repository has
all of the errors, this may be the problem.  However, it's also possible
that your proxy or something in between the endpoint and your client is
causing the problem.  I would slowly eliminate the extra pieces in this
puzzle, if possible.  E.g. remove the extra mirror, remove the proxy if
you can, etc.  Have you made any configuration changes lately?  I'm
assuming that this had to have worked at one point in time.

-j
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to