[Bug 2093420] Re: add-apt-repository --enable-source should work directly on deb822 sources

Talha Can Havadar 2093420 at bugs.launchpad.net
Fri Feb 13 13:52:56 UTC 2026


Please see the logs of my test run with the recent changes in
https://code.launchpad.net/~tchavadar/ubuntu/+source/software-
properties/+git/software-properties/+merge/497789

with 7ef68bd commit hash.

$ ./add-apt-test2.sh
Launching run-b9cde240
Device project_dir added to run-b9cde240
+ sleep 3
+ apt update
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
Get:4 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
Get:5 http://archive.ubuntu.com/ubuntu noble/universe amd64 Packages [15.0 MB]
Get:6 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1448 kB]
Get:7 http://security.ubuntu.com/ubuntu noble-security/main Translation-en [234 kB]
Get:8 http://security.ubuntu.com/ubuntu noble-security/main amd64 Components [21.5 kB]
Get:9 http://security.ubuntu.com/ubuntu noble-security/main amd64 c-n-f Metadata [9892 B]
Get:10 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [930 kB]
Get:11 http://archive.ubuntu.com/ubuntu noble/universe Translation-en [5982 kB]
Get:12 http://security.ubuntu.com/ubuntu noble-security/universe Translation-en [212 kB]
Get:13 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Components [74.2 kB]
Get:14 http://security.ubuntu.com/ubuntu noble-security/universe amd64 c-n-f Metadata [19.9 kB]
Get:15 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2452 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble/universe amd64 Components [3871 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble/universe amd64 c-n-f Metadata [301 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Packages [269 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble/multiverse Translation-en [118 kB]
Get:20 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 Components [35.0 kB]
Get:21 http://archive.ubuntu.com/ubuntu noble/multiverse amd64 c-n-f Metadata [8328 B]
Get:22 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1742 kB]
Get:23 http://archive.ubuntu.com/ubuntu noble-updates/main Translation-en [325 kB]
Get:24 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Components [175 kB]
Get:25 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 c-n-f Metadata [16.5 kB]
Get:26 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1529 kB]
Get:27 http://archive.ubuntu.com/ubuntu noble-updates/universe Translation-en [313 kB]
Get:28 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Components [386 kB]
Get:29 http://security.ubuntu.com/ubuntu noble-security/restricted Translation-en [564 kB]
Get:30 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 c-n-f Metadata [31.9 kB]
Get:31 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2594 kB]
Get:32 http://archive.ubuntu.com/ubuntu noble-updates/restricted Translation-en [595 kB]
Get:33 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Components [212 B]
Get:34 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Packages [32.1 kB]
Get:35 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Translation-en [6816 B]
Get:36 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 Components [940 B]
Get:37 http://archive.ubuntu.com/ubuntu noble-updates/multiverse amd64 c-n-f Metadata [496 B]
Get:38 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Components [212 B]
Get:39 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Packages [28.8 kB]
Get:40 http://security.ubuntu.com/ubuntu noble-security/multiverse Translation-en [6492 B]
Get:41 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 Components [212 B]
Get:42 http://security.ubuntu.com/ubuntu noble-security/multiverse amd64 c-n-f Metadata [396 B]
Get:43 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Packages [40.4 kB]
Get:44 http://archive.ubuntu.com/ubuntu noble-backports/main Translation-en [9208 B]
Get:45 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 Components [7280 B]
Get:46 http://archive.ubuntu.com/ubuntu noble-backports/main amd64 c-n-f Metadata [368 B]
Get:47 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Packages [29.5 kB]
Get:48 http://archive.ubuntu.com/ubuntu noble-backports/universe Translation-en [17.9 kB]
Get:49 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 Components [10.5 kB]
Get:50 http://archive.ubuntu.com/ubuntu noble-backports/universe amd64 c-n-f Metadata [1444 B]
Get:51 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 Components [216 B]
Get:52 http://archive.ubuntu.com/ubuntu noble-backports/restricted amd64 c-n-f Metadata [116 B]
Get:53 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 Components [212 B]
Get:54 http://archive.ubuntu.com/ubuntu noble-backports/multiverse amd64 c-n-f Metadata [116 B]
Fetched 39.9 MB in 5s (8831 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
24 packages can be upgraded. Run 'apt list --upgradable' to see them.
+ add-apt-repository ppa:tchavadar/lp-2093420 -y
PPA publishes dbgsym, you may need to include 'main/debug' component
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu/
Suites: noble
Components: main
'
Description:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/2093420
More info: https://launchpad.net/~tchavadar/+archive/ubuntu/lp-2093420
Adding repository.
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Get:5 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble InRelease [24.1 kB]
Get:6 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble/main amd64 Packages [1268 B]
Get:7 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble/main Translation-en [504 B]
Fetched 25.9 kB in 0s (95.6 kB/s)
Reading package lists... Done
+ apt policy software-properties-common
software-properties-common:
  Installed: 0.99.49.3
  Candidate: 0.99.49.5+ppa1
  Version table:
     0.99.49.5+ppa1 500
        500 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble/main amd64 Packages
 *** 0.99.49.3 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.99.48 500
        500 http://archive.ubuntu.com/ubuntu noble/main amd64 Packages
+ add-apt-repository -s -y
Enabling deb-src for all repositories.
Hit:1 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:5 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble InRelease
Reading package lists... Done
+ add-apt-repository -ss -y
Enabling deb-src for all repositories.
Hit:1 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
+ apt install software-properties-common=0.99.49.5+ppa1 -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  python3-software-properties
The following packages will be upgraded:
  python3-software-properties software-properties-common
2 upgraded, 0 newly installed, 0 to remove and 24 not upgraded.
Need to get 398 kB of archives.
After this operation, 2041 kB of additional disk space will be used.
Get:1 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble/main amd64 software-properties-common all 0.99.49.5+ppa1 [368 kB]
Get:2 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble/main amd64 python3-software-properties all 0.99.49.5+ppa1 [30.4 kB]
Fetched 398 kB in 1s (395 kB/s)
(Reading database ... 37347 files and directories currently installed.)
Preparing to unpack .../software-properties-common_0.99.49.5+ppa1_all.deb ...
Unpacking software-properties-common (0.99.49.5+ppa1) over (0.99.49.3) ...
Preparing to unpack .../python3-software-properties_0.99.49.5+ppa1_all.deb ...
Unpacking python3-software-properties (0.99.49.5+ppa1) over (0.99.49.3) ...
Setting up python3-software-properties (0.99.49.5+ppa1) ...
Setting up software-properties-common (0.99.49.5+ppa1) ...
Processing triggers for man-db (2.12.0-4build2) ...
Processing triggers for dbus (1.14.10-4ubuntu4.1) ...
Scanning processes...

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
+ add-apt-repository -s -y
Enabling deb-src for all repositories.
Warning, missing deb-src for: Types: deb-src
URIs: https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu/
Suites: noble
Components: main
Signed-By: -----BEGIN PGP PUBLIC KEY BLOCK-----
 .
 mQINBGNOrL0BEACvyODn5PJJEW24s67qfXEefTX0/LXbsi1mX5VoVmgqnL9LXSrK
 SnGrYfyHIDDH+bw+H9w4Uf7JgurlxsOLudDxTirzpHa51wwLuzpPsNne1mJJeynA
 e0gwtlOXkIMtrPsu/o4NVXrLYaoQSavH2pOAny3gBCvP9OvNRgqreXnMkFqtpyBq
 IZmAYedD8NVeSfzdrXiH5MPL0z3BQNvahOhzqK4IxLUPMOP0bez3gyS/78ZxewId
 LKwS6shgr0lBFNOReds3Zw3KERO6BQ27GJccicQ0qpsiwwDF5s4olsy5qKlBvlze
 whb3GyP/tdRwXGGgTyEYNl57c1PxkXg+AAogyQ75PxnDYRwfbf07atvZ/6iU8Kju
 F/VhSbNfTHL06UpLAxoa8i58pFavlCse5vHmw0WmChpP3L2hJuEt510Rmazl5+0o
 7LNUlfjfidFLWp82NU7P6By8bmrrFmrsVbCUy9cMrJnRhIFaRfvK1eLyAPmSH2Y8
 UraCWoPgZ8RScyIxajOU8XLYIrYUQsItvC98jfgcNOlipvGCgEIr4xOjzGhHO4dW
 /lm3e8BKd3KNSTIYCMzkEgqaMJrJSzowHUFb8QSWo06euA9O2fG9NI+ZVwF1a/xW
 IiZbDzWNsNZKB0m3Y723Cnllt//LddzzaFa05Lxr1Iwoo/XXJN8giHihCwARAQAB
 tCNMYXVuY2hwYWQgUFBBIGZvciBUYWxoYSBDYW4gSGF2YWRhcokCTgQTAQoAOBYh
 BJJy9E6hAiPHO4hLrbNapbTkALJKBQJjTqy9AhsDBQsJCAcCBhUKCQgLAgQWAgMB
 Ah4BAheAAAoJELNapbTkALJKn/oP/2oMiIx/1aGvvGqsBKqqlsxlXyN7gf00bOq9
 hjClafddY+RBCL/E2sJ4rE0F63erjBwh8AJrFwnktfmkENQ8jLamz9QOreh4AJbC
 PjAekb8EJFIzri7JwiuHBy1MoiqB33OduMAjzwGVfTwmm/NfAi9ZhIAadNuaLujz
 APhwwg7GU6loRk7u9kcMhqppkElXXncbAMu/VAH76Tquphg9x9FOuCBcyNZEWajH
 rxVkiWGDl2WA+19TGtLns891YEiBb+OPTOjaiE9WK1BuAAvaMimjDcOrn/oH8K1+
 3oRyRtfKXqZYEzpWpFyr0JEW9I9dpu5TDsJcQgWCs2Q4Q5N1ExvCk30tshesjOQw
 ryeG3hKdHTdeXMpcR1ao4xAS5XaSGTO1v0A0q/9gFiPvCj2jBQdMNenbSfB7TSCY
 MZs4vz0SHJynayiHDjttrzcjVoWWIGnje/GvG8rqaZyNHa08QAEpk/osSHKSeGur
 wiMo+uBI2VfbDEKISYHLD8GNLcwC0R5MqptrJjTDNyyqyr9o2SRF6digw+IEbuPm
 XC1maD0X8NrpWMbGD731+pYcHFs/wLWPU/vlLaUIpin0eTHqvJ1O6QNmDv3jophC
 Xamz3blZS/D8WPx44YaGJhxotMn6TZg+ITrk4E67b0/M/+e1O8iHTmdDBT3Lieym
 KDWbTi6N
 =tKqz
 -----END PGP PUBLIC KEY BLOCK-----
Warning, missing deb-src for: ## Ubuntu distribution repository
##
## The following settings can be adjusted to configure which packages to use from Ubuntu.
## Mirror your choices (except for URIs and Suites) in the security section below to
## ensure timely security updates.
##
## Types: Append deb-src to enable the fetching of source package.
## URIs: A URL to the repository (you may add multiple URLs)
## Suites: The following additional suites can be configured
##   <name>-updates   - Major bug fix updates produced after the final release of the
##                      distribution.
##   <name>-backports - software from this repository may not have been tested as
##                      extensively as that contained in the main release, although it includes
##                      newer versions of some applications which may provide useful features.
##                      Also, please note that software in backports WILL NOT receive any review
##                      or updates from the Ubuntu security team.
## Components: Aside from main, the following components can be added to the list
##   restricted  - Software that may not be under a free license, or protected by patents.
##   universe    - Community maintained packages. Software in this repository receives maintenance
##                 from volunteers in the Ubuntu community, or a 10 year security maintenance
##                 commitment from Canonical when an Ubuntu Pro subscription is attached.
##   multiverse  - Community maintained of restricted. Software from this repository is
##                 ENTIRELY UNSUPPORTED by the Ubuntu team, and may not be under a free
##                 licence. Please satisfy yourself as to your rights to use the software.
##                 Also, please note that software in multiverse WILL NOT receive any
##                 review or updates from the Ubuntu security team.
##
## See the sources.list(5) manual page for further settings.
Types: deb-src
URIs: http://archive.ubuntu.com/ubuntu
Suites: noble noble-updates noble-backports
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Warning, missing deb-src for: ## Ubuntu security updates. Aside from URIs and Suites,
## this should mirror your choices in the previous section.
Types: deb-src
URIs: http://security.ubuntu.com/ubuntu
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
Hit:1 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:3 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:5 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Reading package lists... Done
+ add-apt-repository -ss -y
Enabling deb-src for all repositories.
Added deb-src to: /etc/apt/sources.list.d/tchavadar-ubuntu-lp-2093420-noble.sources
Added deb-src to: /etc/apt/sources.list.d/ubuntu.sources
Added deb-src to: /etc/apt/sources.list.d/ubuntu.sources
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://security.ubuntu.com/ubuntu noble-security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Get:5 http://archive.ubuntu.com/ubuntu noble/universe Sources [19.8 MB]
Hit:6 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble InRelease
Get:7 http://security.ubuntu.com/ubuntu noble-security/universe Sources [333 kB]
Get:8 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble/main Sources [884 B]
Get:9 http://security.ubuntu.com/ubuntu noble-security/multiverse Sources [21.0 kB]
Get:10 http://security.ubuntu.com/ubuntu noble-security/restricted Sources [62.8 kB]
Get:11 http://security.ubuntu.com/ubuntu noble-security/main Sources [231 kB]
Get:12 http://archive.ubuntu.com/ubuntu noble/main Sources [1384 kB]
Get:13 http://archive.ubuntu.com/ubuntu noble/restricted Sources [18.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu noble/multiverse Sources [299 kB]
Get:15 http://archive.ubuntu.com/ubuntu noble-updates/main Sources [513 kB]
Get:16 http://archive.ubuntu.com/ubuntu noble-updates/multiverse Sources [27.5 kB]
Get:17 http://archive.ubuntu.com/ubuntu noble-updates/restricted Sources [67.3 kB]
Get:18 http://archive.ubuntu.com/ubuntu noble-updates/universe Sources [503 kB]
Get:19 http://archive.ubuntu.com/ubuntu noble-backports/main Sources [5960 B]
Get:20 http://archive.ubuntu.com/ubuntu noble-backports/universe Sources [13.4 kB]
Fetched 23.3 MB in 2s (11.1 MB/s)
Reading package lists... Done
+ add-apt-repository ppa:tchavadar/flash-kernel-versal -ss -y
Repository: 'Types: deb
URIs: https://ppa.launchpadcontent.net/tchavadar/flash-kernel-versal/ubuntu/
Suites: noble
Components: main
'
More info: https://launchpad.net/~tchavadar/+archive/ubuntu/flash-kernel-versal
Adding repository.
Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
Hit:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease
Get:3 https://ppa.launchpadcontent.net/tchavadar/flash-kernel-versal/ubuntu noble InRelease [17.8 kB]
Hit:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease
Hit:5 https://ppa.launchpadcontent.net/tchavadar/lp-2093420/ubuntu noble InRelease
Hit:6 http://security.ubuntu.com/ubuntu noble-security InRelease
Get:7 https://ppa.launchpadcontent.net/tchavadar/flash-kernel-versal/ubuntu noble/main Sources [800 B]
Get:8 https://ppa.launchpadcontent.net/tchavadar/flash-kernel-versal/ubuntu noble/main Translation-en [348 B]
Fetched 19.0 kB in 0s (76.1 kB/s)
Reading package lists... Done
Cleaning up container run-b9cde240...

-- 
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/2093420

Title:
  add-apt-repository --enable-source should work directly on deb822
  sources

Status in software-properties package in Ubuntu:
  Fix Released
Status in software-properties source package in Noble:
  New
Status in software-properties source package in Questing:
  Fix Released

Bug description:
  Currently, if you want to enable sources, you need to enter the option
  twice, otherwise you're treated to a somewhat confusing error message
  (assuming you patched python-apt with https://salsa.debian.org/apt-
  team/python-apt/-/merge_requests/99):

  ```
  ❯ sudo add-apt-repository -s
  Enabling deb-src for all repositories.
  Press [ENTER] to continue or Ctrl-c to cancel.
  Warning, missing deb-src for: ## Ubuntu distribution repository
  ##
  ## The following settings can be adjusted to configure which packages to use from Ubuntu.
  ## Mirror your choices (except for URIs and Suites) in the security section below to
  ## ensure timely security updates.
  ##
  ## Types: Append deb-src to enable the fetching of source package.
  ## URIs: A URL to the repository (you may add multiple URLs)
  ## Suites: The following additional suites can be configured
  ##   <name>-updates   - Major bug fix updates produced after the final release of the
  ##                      distribution.
  ##   <name>-backports - software from this repository may not have been tested as
  ##                      extensively as that contained in the main release, although it includes
  ##                      newer versions of some applications which may provide useful features.
  ##                      Also, please note that software in backports WILL NOT receive any review
  ##                      or updates from the Ubuntu security team.
  ## Components: Aside from main, the following components can be added to the list
  ##   restricted  - Software that may not be under a free license, or protected by patents.
  ##   universe    - Community maintained packages. Software in this repository receives maintenance
  ##                 from volunteers in the Ubuntu community, or a 10 year security maintenance
  ##                 commitment from Canonical when an Ubuntu Pro subscription is attached.
  ##   multiverse  - Community maintained of restricted. Software from this repository is
  ##                 ENTIRELY UNSUPPORTED by the Ubuntu team, and may not be under a free
  ##                 licence. Please satisfy yourself as to your rights to use the software.
  ##                 Also, please note that software in multiverse WILL NOT receive any
  ##                 review or updates from the Ubuntu security team.
  ##
  ## See the sources.list(5) manual page for further settings.
  Types: deb-src
  URIs: http://archive.ubuntu.com/ubuntu
  Suites: plucky plucky-updates plucky-backports
  Components: multiverse restricted universe main
  Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
  Warning, missing deb-src for: ## Ubuntu security updates. Aside from URIs and Suites,
  ## this should mirror your choices in the previous section.
  Types: deb-src
  URIs: http://security.ubuntu.com/ubuntu
  Suites: plucky-security
  Components: multiverse restricted universe main
  Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
  Hit:1 http://archive.ubuntu.com/ubuntu plucky InRelease
  Hit:2 http://security.ubuntu.com/ubuntu plucky-security InRelease
  Hit:3 http://archive.ubuntu.com/ubuntu plucky-updates InRelease
  Hit:4 http://archive.ubuntu.com/ubuntu plucky-backports InRelease
  Reading package lists... Done
  ```

  Only after using -ss do I get the behavior I'm after.

  It used to work out of the box because the old source.list had the commented out deb-src line, but we don't have those anymore in the brave new world of deb822, so we probably reconsider this requirement altogether.
  I actually think it was surprising behavior beforehand but I didn't care much since the default case was covered.

  --------

  [ Impact ]

   * `-s` is not working on `noble` it has no affect due to deb822 transition.
   * Even `-ss` suffering from the same in noble.

  [ Test Plan ]

   * running `add-apt-repository -s` or `add-apt-repository -ss` has no
  affect.

  [ Where problems could occur ]

   * Enabling deb-src is not the major usecase for add-apt-repository
  but wrongly implemented solution could cause add-apt-repository to
  fail or break the sources file which may require manual fix on those
  broken files to get `apt update` working again.

  [ Other Info ]

   * Merge request here: https://code.launchpad.net/~tchavadar/ubuntu/+source/software-properties/+git/software-properties/+merge/497789
     enables deb822 by default.

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




More information about the foundations-bugs mailing list