Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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?

share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.