Last active
January 26, 2023 10:44
-
-
Save dasjoe/b8bd3444033c33fade5cfe41e00e471b to your computer and use it in GitHub Desktop.
Direct link: https://git.io/fix-sources
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
. /etc/os-release | |
cat > /etc/apt/apt.conf.d/01norecommend <<'EOF' | |
APT::Install-Recommends "0"; | |
APT::Install-Suggests "0"; | |
EOF | |
cat > /etc/apt/apt.conf.d/99AutomaticClean <<'EOF' | |
DSELECT::Clean "always"; | |
EOF | |
cat > /etc/apt/sources.list << EOF | |
deb http://de.archive.ubuntu.com/ubuntu ${VERSION_CODENAME} main restricted universe multiverse | |
deb http://de.archive.ubuntu.com/ubuntu ${VERSION_CODENAME}-backports main restricted universe multiverse | |
deb http://de.archive.ubuntu.com/ubuntu ${VERSION_CODENAME}-updates main restricted universe multiverse | |
deb http://security.ubuntu.com/ubuntu ${VERSION_CODENAME}-security main restricted universe multiverse | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment