Created
May 8, 2023 13:07
-
-
Save reihanboo/ab12fe56ef93085b54f1938484e91216 to your computer and use it in GitHub Desktop.
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 | |
# Backup the existing sources.list file | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
# Replace the contents of the sources.list file with the official Debian 11 repositories | |
sudo tee /etc/apt/sources.list > /dev/null << EOL | |
deb http://deb.debian.org/debian bullseye main | |
deb-src http://deb.debian.org/debian bullseye main | |
deb http://security.debian.org/debian-security bullseye-security main | |
deb-src http://security.debian.org/debian-security bullseye-security main | |
deb http://deb.debian.org/debian bullseye-updates main | |
deb-src http://deb.debian.org/debian bullseye-updates main | |
EOL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment