Thanks for reporting this bug - I managed to reproduce it. Since this bug has enough information provided for a developer to begin work, I'm going to ask to mark this report as Triaged and let them handle it from here. Thanks for taking the time to make Ubuntu better!
** Description changed: When using apt-add-repository --remove, it does not remove the deb-src line, only the deb line. I would expect it to remove both deb and deb- src as when running apt-add-repository it adds both of the lines, so --remove should remove both lines. Steps to reproduce. 1) apt-add-repository ppa:mythbuntu/0.25 2) apt-add-repository --remove ppa:mythbuntu/0.25 Expected result: repository .list file contains nothing (or file is completely removed) Actual result: repository .list file contains deb-src http://ppa.launchpad.net/mythbuntu/0.25/ubuntu oneiric main + ----- + Confirmed using Ubuntu 11.10 with python-software-properties 0.81.13.1. Possibly related to bug #889405. ** Tags added: oneiric testcase -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/889406 Title: apt-add-repository --remove does not remove deb-src line To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/889406/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs