Skip to content

Instantly share code, notes, and snippets.

@dasjoe
Last active January 26, 2023 10:44
Show Gist options
  • Save dasjoe/b8bd3444033c33fade5cfe41e00e471b to your computer and use it in GitHub Desktop.
Save dasjoe/b8bd3444033c33fade5cfe41e00e471b to your computer and use it in GitHub Desktop.
. /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