Hash Sum Mismatch using preseed (Ubuntu Server 12.04)
- by xorma
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?