add-apt-repository --remove ppa:username/ppaname does not remove deb-src entry

Bug #907685 reported by Hiroshi Chonan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
New
Undecided
Unassigned

Bug Description

Fixing bug 399711, we able to create both of 'deb' and 'deb-src' entry into /etc/apt/sources.list.d/username-ppaname-oneiric.list .

However when trying to remove ppa repository using 'sudo add-apt-repository --remove ppa:username/ppaname',
add-apt-repository removes just 'deb' entry only and no touch with 'deb-src' line.

* output of 'lsb_release -rd'
Description: Ubuntu 11.10
Release: 11.10

* output of 'apt-cache policy python-software-properties'
python-software-properties:
  Installed: 0.81.13.1
  Candidate: 0.81.13.1
  Version table:
 *** 0.81.13.1 0
        500 http://jp.archive.ubuntu.com/ubuntu/ oneiric-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     0.81.10 0
        500 http://jp.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages

* expected to happen
When try to remove PPA repository which former appended using
$ sudo add-apt-repository --remove ppa:username/ppaname
both of 'deb' and 'deb-src' line must be removed from /etc/apt/sources.list.d/username-ppaname-oneiric.list
and it must became zero-length file or removed.

* what happened instead
'deb-src' line still remain in /etc/apt/sources.list.d/username-ppaname-oneiric.list .

Revision history for this message
Robert Roth (evfool) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #838507, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

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.