Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fixing the issue with apt caused by a bad local proxy: -1- Create 99fixbadproxy at: /etc/apt/apt.conf.d/99fixbadproxy -2- Run clear.sh
Acquire::http::Pipeline-Depth "0";
Acquire::http::No-Cache=True;
Acquire::BrokenProxy=true;
#!/bin/bash
sudo rm /var/lib/apt/lists/*
sudo rm /var/lib/apt/lists/partial/*
sudo apt-get update
@rgautam98

This comment has been minimized.

Copy link

commented Jan 27, 2017

Can you explain the use and the terms in 99fixbadproxy

@ax3l

This comment has been minimized.

Copy link

commented Jun 14, 2017

(Not an answer to the question above, just a backlink)
Relates SO question: https://askubuntu.com/questions/679233/failed-to-fetch-hash-sum-mismatch-tried-rm-apt-list-but-didnt-work

@yabin-kang

This comment has been minimized.

Copy link

commented Feb 27, 2019

this helped me to work around a apt-get install issue about error "Hash Sum MIsmatch" in docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.