Created
October 2, 2023 15:43
-
-
Save gifflet/7be791d5b360fb7c00e9a6fc2edb6fef to your computer and use it in GitHub Desktop.
Change sources repository file to old releases in Ubuntu
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
cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
sudo sed -i -re 's/([a-z]{2}.)?archive.ubuntu.com|security.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list | |
sudo apt-get update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment