add-apt-repository --remove ppa:username/ppaname does not remove deb-src entry
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/
However when trying to remove ppa repository using 'sudo add-apt-repository --remove ppa:username/
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-
python-
Installed: 0.81.13.1
Candidate: 0.81.13.1
Version table:
*** 0.81.13.1 0
500 http://
100 /var/lib/
0.81.10 0
500 http://
* expected to happen
When try to remove PPA repository which former appended using
$ sudo add-apt-repository --remove ppa:username/
both of 'deb' and 'deb-src' line must be removed from /etc/apt/
and it must became zero-length file or removed.
* what happened instead
'deb-src' line still remain in /etc/apt/
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. wiki.ubuntu. com/BugSquad
---
Ubuntu Bug Squad volunteer triager
http://