Skip to content

Instantly share code, notes, and snippets.

@Masterxilo
Last active July 26, 2025 10:38
Show Gist options
  • Save Masterxilo/a18c3aeef67682a045651b8f6a66b20a to your computer and use it in GitHub Desktop.
Save Masterxilo/a18c3aeef67682a045651b8f6a66b20a to your computer and use it in GitHub Desktop.
Default ubuntu.sources for Ubuntu 24.04 (LTS) /etc/apt/sources.list.d/ubuntu.sources
# Default ubuntu.sources for Ubuntu 24.04 (LTS)
# Ubuntu 24.04 LTS repositories
f="/etc/apt/sources.list.d/ubuntu.sources"
sudo tee "$f" > /dev/null <<EOF
Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
EOF
@Masterxilo
Copy link
Author

run sudo apt-get update after changing this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment