Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added readme notes how to add source repository for DEB822-source format #22

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

easymoney322
Copy link

@easymoney322 easymoney322 commented Sep 5, 2024

Hello,
I've made some changes to README file.

Current stable LTS distributives of Ubuntu 24.04 and Debian 12 are using the new file format for apt source lists.

The changes are both the new system-repo source list file location, and the format.

In case of ubuntu, the default file is located in /etc/apt/sources.list.d/ubuntu.sources and the default content is this:

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

So to add sourcetree it should be changed to this:

Types: deb deb-src
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 deb-src
URIs: http://security.ubuntu.com/ubuntu
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

This might not be obvious for some people given the new format.

I'm not sure if I should rewrite step 2 for both ubuntu and debian, given that some people are still using older systems.

So I've made a note about this in troubleshooting section, that is related for missing kernel sourcetree.

@meequrox meequrox mentioned this pull request Sep 25, 2024
@ja49619
Copy link

ja49619 commented Oct 6, 2024

WHY you block this commit? These comments would have saved me a lot of hours of searching for the problem of your incorrect instructions

@tiaga
Copy link

tiaga commented Oct 17, 2024

However, old format works well at least on Ubuntu 24.04.

@stone-w4tch3r
Copy link

+1 for this PR. Documentation definetly will benefit from this, especially for newbie users (as in #29)

@AdamsGH
Copy link

AdamsGH commented Nov 28, 2024

@easymoney322 I've already lost a few days with this issue on AWS. Many thanks you saved another one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants