On 2 February 2018 at 14:44, Staffa, Christian AVL/DE <
christian.sta...@avl.com> wrote:

> I am trying to setup a yocto build environment. I am using win 10 with WSL
> and an ubuntu environment.
> After coping with the company proxy to route the traffic properly I have
> an error with db-native package now
> ERROR: db-native-1_5.3.28-r1 do_fetch: Checksum failure fetching
> http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
> ERROR: db-native-1_5.3.28-r1 do_fetch: Fetcher failure for URL: '
> http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz'. Checksum
> mismatch!
> File: '/home/cs/dev/poky/build/downloads/db-5.3.28.tar.gz' has md5
> checksum 73ef4c55d184a55807bee8d4c4a5cd40 when
> b99454564d5b4479750567031d66fe24 was expected

$ wget http://download.oracle.com/berkeley-db/db-5.3.28.tar.gz
2018-02-02 21:22:47 (2.10 MB/s) - ‘db-5.3.28.tar.gz’ saved

$ md5sum db-5.3.28.tar.gz
b99454564d5b4479750567031d66fe24  db-5.3.28.tar.gz

Works for me.  I blame either your corporate proxy (wouldn't be the first
time a proxy has rewritten files as they get transferred) or some weird
interaction with WSL.

Isolate the parts.  If you download that file with a Windows browser, what
is the md5?  What if you download it using wget in WSL? Use WSL on another
network that doesn't use your corporate proxy to see what md5 that file has.

yocto mailing list

Reply via email to