[Bug 2106617] [NEW] apt-add-repository -L/--list shows only repositories defined in deb822 .sources files, not in the old-stype sources.list file format
rjc
2106617 at bugs.launchpad.net
Wed Apr 9 11:10:55 UTC 2025
Public bug reported:
As per the summary, on Ubuntu 24.04 LTS, `add-apt-repository -L` now
only lists repositories defined in the new, deb822 .sources files,
ignoring the old-style `sources.list(5)` files:
```
$ ls /etc/apt/sources.list.d
foo.list ubuntu.sources
$ cat /etc/apt/sources.list.d/foo.list
deb [signed-by=/etc/apt/keyrings/foo.gpg arch=amd64] https://repo.example.com/ stable main
$ cat /etc/apt/sources.list.d/ubuntu.sources
Types: deb
URIs: http://ubuntu.example.org/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
$ add-apt-repository -L
Types: deb
URIs: http://ubuntu.example.org/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
```
This looks like a fallout from #2060331
** Affects: software-properties (Ubuntu)
Importance: Undecided
Status: New
** Tags: noble
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/2106617
Title:
apt-add-repository -L/--list shows only repositories defined in deb822
.sources files, not in the old-stype sources.list file format
Status in software-properties package in Ubuntu:
New
Bug description:
As per the summary, on Ubuntu 24.04 LTS, `add-apt-repository -L` now
only lists repositories defined in the new, deb822 .sources files,
ignoring the old-style `sources.list(5)` files:
```
$ ls /etc/apt/sources.list.d
foo.list ubuntu.sources
$ cat /etc/apt/sources.list.d/foo.list
deb [signed-by=/etc/apt/keyrings/foo.gpg arch=amd64] https://repo.example.com/ stable main
$ cat /etc/apt/sources.list.d/ubuntu.sources
Types: deb
URIs: http://ubuntu.example.org/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
$ add-apt-repository -L
Types: deb
URIs: http://ubuntu.example.org/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
```
This looks like a fallout from #2060331
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2106617/+subscriptions
More information about the foundations-bugs
mailing list