Commit a3c27a1
committed
Document deb822 sources for Ubuntu 24.04 and later
Closes #1530.
The dependency instructions tell you to uncomment `deb-src` lines in
/etc/apt/sources.list. On Ubuntu 24.04 that file is a four line stub whose
own comments say the sources have moved, and there is nothing to uncomment.
A contributor following the guide gets:
E: You must put some 'deb-src' URIs in your sources.list
Verified on Ubuntu 24.04.4 LTS. `apt-get build-dep -s python3` fails exactly
as above with the file as shipped. Adding `deb-src` to the `Types` field in
/etc/apt/sources.list.d/ubuntu.sources and running `apt-get update` makes it
resolve. Ubuntu's own generated file documents this at line 21:
## Types: Append deb-src to enable the fetching of source package.
The 22.04 one-line instructions are kept rather than replaced, since releases
still using that format need them.1 parent 3f36f40 commit a3c27a1
1 file changed
Lines changed: 23 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
790 | 790 | | |
791 | 791 | | |
792 | 792 | | |
793 | | - | |
794 | | - | |
795 | | - | |
| 793 | + | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
| 800 | + | |
| 801 | + | |
| 802 | + | |
| 803 | + | |
| 804 | + | |
| 805 | + | |
| 806 | + | |
| 807 | + | |
| 808 | + | |
| 809 | + | |
| 810 | + | |
| 811 | + | |
| 812 | + | |
| 813 | + | |
| 814 | + | |
796 | 815 | | |
797 | 816 | | |
798 | 817 | | |
799 | | - | |
| 818 | + | |
800 | 819 | | |
801 | 820 | | |
802 | 821 | | |
| |||
0 commit comments