apt-add-repository --remove doesn't remove as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
When running 'apt-add-repository --remove <REPO>', the deb-src repository isn't removed along with the deb repo. Along the same lines, the message when running with the --remove option is confusing (it says it is adding a repository). This may be working as designed, but it doesn't make sense as to what someone would expect to happen.
For instance, If I run 'apt-add-repository --remove ppa:alexandr-
deb http://
deb-src http://
If I then run 'apt-add-repository --remove ppa:alexandr-
deb-src http://
I would expect it to remove both repositories (deb and deb-src) when running it with the --remove command since it added both when running it regularly
thomas@
You are about to add the following PPA to your system:
dharma-pvr
More info: https:/
Press [ENTER] to continue or ctrl-c to cancel adding it
thomas@
total 32
-rw-r--r-- 1 root root 80 2011-11-10 09:51 alexandr-
-rw-r--r-- 1 root root 156 2011-11-10 09:51 alexandr-
-rw-r--r-- 1 root root 49 2011-11-10 09:51 dropbox.list
-rw-r--r-- 1 root root 49 2011-11-10 09:51 dropbox.list.save
-rw-r--r-- 1 root root 160 2011-11-10 09:51 stebbins-
-rw-r--r-- 1 root root 160 2011-11-10 09:51 stebbins-
-rw-r--r-- 1 root root 67 2011-11-10 09:51 virtualbox.list
-rw-r--r-- 1 root root 67 2011-11-10 09:51 virtualbox.
thomas@
deb-src http://
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: apt 0.8.16~exp5ubuntu13
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Thu Nov 10 09:52:16 2011
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Beta amd64 (20110915.1)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)
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.