[Bug 1103200] Re: apt-add-repository corrupts sources.list with multiple options
Launchpad Bug Tracker
1103200 at bugs.launchpad.net
Mon Oct 21 17:19:11 UTC 2013
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: software-properties (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1103200
Title:
apt-add-repository corrupts sources.list with multiple options
Status in “python-apt” package in Ubuntu:
Confirmed
Bug description:
[ubuntu 12.04, python-software-properties 0.82.7.3]
Here is how to reproduce:
echo "deb [arch=amd64 trusted=yes] http://research.cs.wisc.edu/htcondor/debian/stable/ squeeze contrib" >>/etc/apt/sources.list
apt-add-repository ppa:semiosis/ubuntu-glusterfs-3.3 </dev/null
tail -1 /etc/apt/sources.list
It shows:
deb [arch=amd64] trusted=yes]
http://research.cs.wisc.edu/htcondor/debian/stable/ squeeze contrib
Notice that an extra right-hand square bracket has been added after
arch=amd64, which means that sources.list is now invalid.
If you correct it, then
apt-add-repository --remove ppa:semiosis/ubuntu-glusterfs-3.3 </dev/null
re-introduces the corruption.
Notes:
(1) The format of the options field is defined in the sources.list(5)
manpage
(2) [arch=amd64 trusted=yes] is a valid option set, and is required
for the htcondor repo, because it doesn't have i386 packages *and* its
packages are not signed
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-apt/+bug/1103200/+subscriptions
More information about the foundations-bugs
mailing list