Stand Aside, Sysadmin

Manly yes, but I like it too.

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

About these ads

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: