** Changed in: hundredpapercuts
Status: Confirmed => Fix Released
--
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
This bug was fixed in the package software-properties - 0.96.13
---
software-properties (0.96.13) wily; urgency=medium
* Properly parse a ppa which has a leading slash, something which a lot of
people seem use as an argument to add-apt-repository. (LP: #1426933)
-- Brian
** Branch linked: lp:ubuntu/wily-proposed/software-properties
--
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
The attachment "gracefully handle empty ppa spec" seems to be a patch.
If it isn't, please remove the "patch" flag from the attachment, remove
the "patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned
** Patch added: "gracefully handle empty ppa spec"
https://bugs.launchpad.net/hundredpapercuts/+bug/1405950/+attachment/4480820/+files/bug-1405950-gracefullyhandle-empty-ppa-spec.patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
This code went through several major overhauls, so I won't try to fix them all.
As I already stated the last LTS 14.04.3 is already fine.
I provide a patch just for the most recent - currently being
upstream/wily which should ensure the issue doesn't come back once more.
--
You received this
Interesting, there must be a fix out there somewhere - but so far I find
it rather unclear where it is included.
On Ubuntu 14.04.3 LTS with software-properties-common 0.92.37.5 it works in
the requested way:
=> sudo apt-add-repository ppa:
Cannot add PPA: 'ppa:'.
Please check that the PPA name
** Changed in: software-properties (Ubuntu)
Importance: Undecided => Medium
** Changed in: software-properties (Ubuntu)
Importance: Medium => High
** Also affects: hundredpapercuts
Importance: Undecided
Status: New
** Changed in: hundredpapercuts
Status: New => Confirmed
Thanks for testing. :) I'm marking this confirmed since you were able to
trigger the same problem.
Unrelated, note that 14.10 has now reached end of life, so you probably want to
upgrade to 15.04 when you have the opportunity.
** Changed in: software-properties (Ubuntu)
Status: New =>
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
shortcut = shortcut_handler(line)
File
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line
** Description changed:
$ sudo apt-add-repository ppa
Error: 'ppa' invalid
Just saying ppa without a user- or ppa name fails gracefully and informs
the user it doesn't work. However, if we add the ':' separator, it
attempts and fails to parse the string:
$ sudo
11 matches
Mail list logo