Stand Aside, Sysadmin

Manly yes, but I like it too.

Category Archives: ubuntu

Hash Sum Mismatch When Using Aptitude Through a Proxy

Internet access for my DMZ servers is provided by Squid running on my Vyatta router in transparent mode.

This is great for conserving bandwidth when downloading packages, but it has the undesirable effect of occasionally giving the error message: “Hash Sum Mismatch” when updating the package index on the servers behind the proxy – this can be caused by a corrupt or outdated version of the package indexes in cache.

Other than flushing the cache on the proxy, the other workaround for this is to force aptitude to update it’s index from scratch: sudo apt-get update -o Acquire::http::No-Cache=True

Follow

Get every new post delivered to your Inbox.