The add-apt-repository command adds always a new "deb-src" line no matter if the source is enabled or disabled.
Example: $ cat /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-wily.list
deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main ------ $ sudo add-apt-repository ppa:audio-recorder/ppa
$ cat /etc/apt/sources.list.d/audio-recorder-ubuntu-ppa-wily.list
deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main # deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main ------
$ sudo add-apt-repository ppa:audio-recorder/ppa
deb http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main # deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main # deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main deb-src http://ppa.launchpad.net/audio-recorder/ppa/ubuntu wily main ------ It seems like the "deb" lines are treated correctly while "deb-src" lines are duplicated.
The [Remove]-button in the GUI (software-properties-gtk) works fine. It removes all extra lines.
The add-apt-repository command adds always a new "deb-src" line no matter if the source is enabled or disabled.
Example: sources. list.d/ audio-recorder- ubuntu- ppa-wily. list
$ cat /etc/apt/
deb http:// ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main recorder/ ppa
deb-src http://
------
$ sudo add-apt-repository ppa:audio-
$ cat /etc/apt/ sources. list.d/ audio-recorder- ubuntu- ppa-wily. list
deb http:// ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main
# deb-src http://
deb-src http://
------
$ sudo add-apt-repository ppa:audio- recorder/ ppa
$ cat /etc/apt/ sources. list.d/ audio-recorder- ubuntu- ppa-wily. list
deb http:// ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main ppa.launchpad. net/audio- recorder/ ppa/ubuntu wily main
# deb-src http://
# deb-src http://
deb-src http://
------
It seems like the "deb" lines are treated correctly while "deb-src" lines are duplicated.
The [Remove]-button in the GUI (software- properties- gtk) works fine. It removes all extra lines.