apt-add-repository mangles ppa:sources.list files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On 12.04 the command
apt-add-repository -y ppa:existing_ppa
mangles the existing ppa sources.list file, causing all updates to be broken,
command line and graphically, requiring manual intervention:
0 root@muizenberg
deb http://
# deb-src http://
0 root@muizenberg
Executing: gpg --ignore-
gpg: requesting key BE796FF2 from hkp server keyserver.
gpg: key BE796FF2: "Launchpad PPA for AIMS" not changed
gpg: Total number processed: 1
gpg: unchanged: 1
0 root@muizenberg
deb-src http://
b-src http://
0 root@muizenberg
E: Type 'b-src' is not known on line 2 in source list /etc/apt/
E: The list of sources could not be read.
100 root@muizenberg:~#
Related branches
- Colin Watson: Approve
- Sami Jaktholm (community): Needs Resubmitting
-
Diff: 22 lines (+3/-2)1 file modifiedsoftwareproperties/ppa.py (+3/-2)
Status changed to 'Confirmed' because the bug affects multiple users.