Package: python-software-properties
  Version: 0.82.7.2

  STEPS TO REPRODUCE:
  1. Add the PPA that contains a slash and minus with add-apt-repository:
  $ sudo add-apt-repository ppa:deluge-team/ppa
  2. Removing the PPA with ppa-purge:
  $ sudo ppa-purge ppa:deluge-team/ppa
  3. Again, add the PPA with add-apt-repository:
  $ sudo add-apt-repository ppa:deluge-team/ppa

  RESULT:
  The file '/etc/apt/sources.list.d/deluge-team-ppa-natty.list' now
contains an invalid third line that says 'ain':

  $ cat /etc/apt/sources.list.d/deluge-team-ppa-natty.list
  deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu natty main
  deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu natty main
  ain

  Bug confirmed by 17 users:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/789859

Reply via email to