On Ubuntu14.10 with latest update I have the same error
# apt-add-repository ppa:
Traceback (most recent call last):
File "/usr/bin/apt-add-repository", line 119, in <module>
shortcut = shortcut_handler(line)
File
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line
839, in shortcut_handler
ret = factory(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 382, in
shortcut_handler
return PPAShortcutHandler(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 345, in
__init__
self.shortcut = mangle_ppa_shortcut(shortcut)
File "/usr/lib/python3/dist-packages/softwareproperties/ppa.py", line 133, in
mangle_ppa_shortcut
if (user[0] == "~"):
IndexError: string index out of range
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1405950
Title:
sudo apt-add-repository ppa: results in IndexError: string index out
of range
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1405950/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs