-
-
Save DeepCoreSystem/4a1ce24a879baae6d230d0cbf8e0a229 to your computer and use it in GitHub Desktop.
Fixing the issue with apt caused by a bad local proxy: 1- Create 99fixbadproxy at /etc/apt/apt.conf.d/99fixbadproxy // 2- Run fix-apt.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Acquire::http::Pipeline-Depth "0"; | |
Acquire::http::No-Cache=True; | |
Acquire::BrokenProxy=true; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo rm /var/lib/apt/lists/* | |
sudo rm /var/lib/apt/lists/partial/* | |
sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment