Created
November 24, 2020 02:13
-
-
Save michaeljymsgutierrez/8f9051693293a93b1a7509c1655c8a1c to your computer and use it in GitHub Desktop.
19.04 source list fix
This file contains hidden or 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 sed -i -e 's/archive.ubuntu.com\|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list | |
grep -E 'archive.ubuntu.com|security.ubuntu.com' /etc/apt/sources.list.d/* | |
sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment