[Bug 789859] Re: add-apt-repository adds invalid deb line if PPA contains a / and a -

YannUbuntu yannubuntu at gmail.com
Thu Aug 2 12:56:48 UTC 2012


Something we missed until now:
- we only tested PPAs. We should check if this bug occurs with "standard" repositories too.
- all tested reps contain a /, but also a minus (-). We should check if the bug also occurs if / but no -  (or the contrary).
- we reproduced only with already added rep. We should check if this can happen with not yet added rep. (eg by using many times sudo rm /etc/apt/grub.d/deluge* , then sudo add-apt-repository ppa:deluge-team/ppa)

** Bug watch added: Debian Bug tracker #683638
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683638

** Also affects: software-properties (Debian) via
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=683638
   Importance: Unknown
       Status: Unknown

-- 
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/789859

Title:
  add-apt-repository adds invalid deb line if PPA contains a / and a -

Status in Boot-Repair:
  Triaged
Status in “software-properties” package in Ubuntu:
  Confirmed
Status in “software-properties” package in Debian:
  Unknown

Bug description:
  STEPS TO REPRODUCE:

  1. Add the PPA, that contains a slash, 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':

  rune at runescomp:~/Desktop$ 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

  ProblemType: Bug
  DistroRelease: Ubuntu 11.04
  Package: python-software-properties 0.80.9
  ProcVersionSignature: Ubuntu 2.6.39-0.5~20110427-generic 2.6.39-rc5
  Uname: Linux 2.6.39-0-generic x86_64
  Architecture: amd64
  Date: Sun May 29 14:20:37 2011
  InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_DK:en
   LANG=en_DK.UTF-8
   SHELL=/bin/bash
  SourcePackage: software-properties
  UpgradeStatus: Upgraded to natty on 2011-04-28 (30 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/boot-repair/+bug/789859/+subscriptions




More information about the foundations-bugs mailing list