Here is an example on 12.04 that shows this bug:

$ sudo -i
root@me:~# cat /etc/apt/sources.list.d/yannubuntu-boot-repair-precise.list
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main
root@me:~# add-apt-repository -y ppa:yannubuntu/boot-repair
(snip..)
root@me:~# cat /etc/apt/sources.list.d/yannubuntu-boot-repair-precise.list
deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main
root@me:~# add-apt-repository -y ppa:yannubuntu/boot-repair
(..)
root@me:~# cat /etc/apt/sources.list.d/yannubuntu-boot-repair-precise.list
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main
ain
root@me:~# add-apt-repository -y ppa:yannubuntu/boot-repair
(..)
root@me:~# cat /etc/apt/sources.list.d/yannubuntu-boot-repair-precise.list
deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main
root@me:~# add-apt-repository -y ppa:yannubuntu/boot-repair
(..)
root@me:~# cat /etc/apt/sources.list.d/yannubuntu-boot-repair-precise.list
deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main
ain
root@me:~# add-apt-repository -y ppa:yannubuntu/boot-repair
(..)
root@me:~# cat /etc/apt/sources.list.d/yannubuntu-boot-repair-precise.list
deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu precise main

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/789859

Title:
  if PPA contains a forward slash, when adding an already added, but
  disabled PPA, add-apt-repository adds invalid deb line to sources file

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/789859/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to