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

$ 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
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.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1509702

Title:
  add-apt-repository adds same repository multiple times

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to