Skip to content

Instantly share code, notes, and snippets.

@hakerdefo
Created November 28, 2024 16:06
Show Gist options
  • Select an option

  • Save hakerdefo/8d0cac9fa3aa0a632216742590e3e441 to your computer and use it in GitHub Desktop.

Select an option

Save hakerdefo/8d0cac9fa3aa0a632216742590e3e441 to your computer and use it in GitHub Desktop.
Ubuntu 24.04 LTS (Noble Numbat) complete sources.list
deb http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble-backports main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ noble-proposed main restricted universe multiverse
#deb-src http://archive.ubuntu.com/ubuntu/ noble-proposed main restricted universe multiverse
@hakerdefo

Copy link
Copy Markdown
Author

Proposed updates are enabled by default so, if you want to disable them, comment out line number 13 like this,

#deb http://archive.ubuntu.com/ubuntu/ noble-proposed main restricted universe multiverse

Source repositories are disabled by default, to enable them uncomment the lines starting with #deb-src like this,

deb-src http://archive.ubuntu.com/ubuntu/ noble main restricted universe multiverse

@DetlefF

DetlefF commented Feb 8, 2025

Copy link
Copy Markdown

/etc/apt/sources.list
deb http://ports.ubuntu.com/ubuntu-ports noble main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-updates main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-backports main restricted universe multiverse
deb http://ports.ubuntu.com/ubuntu-ports noble-security main restricted universe multiverse

ls /etc/apt/sources.list.d/
deb [arch=amd64] https://download.docker.com/linux/ubuntu noble stable

@dotai2012

Copy link
Copy Markdown

I believe Ubuntu 24.04 uses the new format:

/etc/apt/sources.list.d/ubuntu.sources

Types: deb
URIs: http://archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports noble-proposed
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

@simon1tan1

Copy link
Copy Markdown

yeah. Let's change it again next year for no good reason

@FlorianHeigl

Copy link
Copy Markdown

@simon1tan1 i think they're on it

had this

E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/noble-security/main/dep11/by-hash/SHA256/012a331cd4e132439e20d5eb870a30d663bf5cd5260b10298ce868b419e17eec  Hash Sum mismatch
   Hashes of expected file:
    - Filesize:46440 [weak]
    - SHA256:012a331cd4e132439e20d5eb870a30d663bf5cd5260b10298ce868b419e17eec
    - SHA1:6f3d6c5b95d9a71b2bcfff7bc89afee1ef3b9945 [weak]
    - MD5Sum:c3714b5876c5fab2bf303e293a20c619 [weak]

probably a badly synced mirror
rather pissed off that they still don't default to https, but switched over and got a working mirror, too.

but nonetheless, I think there's always room to break a bit more.

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