apt-add-repository --remove does not remove deb-src line

Bug #889406 reported by Thomas Mashos
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

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.

affects: apt (Ubuntu) → software-properties (Ubuntu)
Changed in software-properties (Ubuntu):
status: New → Confirmed
Revision history for this message
Alessandro Menti (elgaton) wrote :

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: updated
tags: added: oneiric testcase
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.