[Bug 585720] Re: add-apt-repository does not handle "+" in PPAs

Robert Roth evfool at gmail.com
Tue Feb 14 13:14:48 UTC 2012


I have found one in a related bug ##494058, the ppa is ppa:paul-climbing/lesstif+nedit, however I have managed to add it using add-apt-repository, the sources.list.d file created for it is paul-climbing-lesstif_nedit-oneiric.list , so I'd say this is fixed, as the plus sign does not appear in the filename anymore, the reason the apt-get update fails is because the repository is an old one and does not have packages for oneiric. Could you please confirm that this is true, and the problem has been fixed by replacing the + sign in the filename with an underscore?
---
Ubuntu Bug Squad volunteer triager
http://wiki.ubuntu.com/BugSquad

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

Title:
  add-apt-repository does not handle "+" in PPAs

Status in “software-properties” package in Ubuntu:
  Incomplete

Bug description:
  If I add a PPA with a "+" in its name, add-apt-repository works
  without a warning or error, but apt-get update then ignores the added
  apt source, as files with "+" are ignored in /etc/apt/source.list.d/:

  $ sudo add-apt-repository ppa:user/xxx+yyy
  [...]
  $ sudo aptitude update     # does not update packages from above PPA
  [...]
  $ cat /etc/apt/sources.list.d/user-xxx+yyy-lucid.list
  deb http://ppa.launchpad.net/user/xxx+yyy/ubuntu lucid main

  Moving /etc/apt/sources.list.d/user-xxx+yyy-lucid.list to
  /etc/apt/sources.list.d/user-xxx-yyy-lucid.list fixes the problem:

  $ cat /etc/apt/sources.list.d/user-xxx+yyy-lucid.list /etc/apt/sources.list.d/user-xxx-yyy-lucid.list
  $ sudo aptitude update     # updates packages from above PPA works now
  [...]

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




More information about the foundations-bugs mailing list