Since it's related to this topic, the add-apt-repository in this ppa has support for adding/enabling deb-src and arbitrary pockets as well as private ppas and more: https://launchpad.net/~ubuntu-support-team/+archive/ubuntu/add-apt-repository
I need to find some time to push the changes into the upstream repo. https://code.launchpad.net/~ubuntu-support-team/software-properties/+git/software-properties/+ref/devel On Wed, Jul 22, 2020 at 8:38 AM Bryce Harrington <br...@bryceharrington.org> wrote: > > I've also added an 'enable-proposed' script, similar to enable-debsrc, > which adds DIST-proposed entries (deb and deb-src) for components > currently enabled. IOW, if you don't have > universe/restricted/multiverse components enabled for anything, it won't > add them for -proposed, but if you do, it will. > > The script also strives to use the same archive URI you are using for > the main component, so if you're using a mirror it will also pull > -proposed from that mirror too. > > https://git.launchpad.net/~ubuntu-server/ubuntu-helpers/tree/bryce/enable-proposed > > Bryce > > On Tue, Jul 21, 2020 at 04:20:58PM -0700, Bryce Harrington wrote: > > I've added a simple little script to enable deb-src lines in > > sources.list to ubuntu-helpers: > > > > > > https://git.launchpad.net/~ubuntu-server/ubuntu-helpers/tree/bryce/enable-debsrc > > > > This script modifies your /etc/apt/sources.list and > > /etc/apt/sources.list.d/* files, and for each enabled deb line, it > > uncomments the corresponding deb-src line. > > > > In case anyone else finds it useful, there it is. > > > > Bryce > > -- > ubuntu-server mailing list > ubuntu-server@lists.ubuntu.com > https://lists.ubuntu.com/mailman/listinfo/ubuntu-server > More info: https://wiki.ubuntu.com/ServerTeam -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam