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
Bugs, which is subscribed to 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2106617/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to