Hash Sum Mismatch using preseed (Ubuntu Server 12.04)

Posted by xorma on Ask Ubuntu See other posts from Ask Ubuntu or by xorma
Published on 2012-09-03T12:54:56Z Indexed on 2012/09/04 3:49 UTC
Read the original article Hit count: 424

My install through Preseed fails at around 80% on Select and Install Software. In VT-4, I can see Hash Sum mismatch errors.

This may be because I am going through a firewall which is caching files.

There is no-cache option for apt but I can't seem to get it to work with Preseed.

Have tried:

d-i debian-installer/no-cache string true

d-i apt-setup/no-cache boolean true

d-i preseed/early_command string mkdir -p /target/etc/apt/apt.conf.d; echo "Acquire::http {No-Cache=True;};" > /target/etc/apt/apt.conf.d/no-cache

but none of these are working. It appears that the early_command occurs too early so is over written once install starts.

I'm not sure if the other commands are even correct.

Anyone know what is the correct way of disabling achieving this through Preseed?

© Ask Ubuntu or respective owner

Related posts about 12.04

Related posts about installation