E.g. if you run
sudo add-apt-repository -P s.jansen/gogglesmm
will the repository be added in one-line-style format or in DEB822-style format?
E.g. if you run
sudo add-apt-repository -P s.jansen/gogglesmm
will the repository be added in one-line-style format or in DEB822-style format?
This is easily tested by starting up a 22.04 container using Docker, Podman, LXC, systemd-nspawn, etc., etc.:
Even if you didn't have a container, you could inspect the changelogs for a recent version of
software-properties-common
(the package which provides theadd-apt-repository
command), where you'd see that all entries about deb822 support came well after 22.04 was released (the oldest entry seems to be from March 2023).