The signed-by field in sources.list files is not (and never has been) supported by python-apt and hence software-properties, hence I believe it's not shown, as --list likely only shows valid sources.
Rest assured that valid sources are being shown,, for example on my system I see: deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main There is a separate feature request for adding more fields to the legacy format parser, but I have not yet acted on it, there is a certain regression potential there in that sources are now considered valid that were not before and some code might not handle it correctly (for example, it may copy the source by copying individual fields and then omit the signed-by option). ** Description changed: 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 + This looks like a fallout from bug 2060331 ** Changed in: software-properties (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Invalid 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 bug 2060331 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2106617/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp