add-apt-repository crashed with IndexError in mangle_ppa_shortcut(): string index out of range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| software-properties (Ubuntu) |
Medium
|
Brian Murray | ||
| Vivid |
Medium
|
Unassigned |
Bug Description
from terminal try to add repository
ProblemType: Crash
DistroRelease: Ubuntu 15.04
Package: software-
ProcVersionSign
Uname: Linux 3.19.0-7-generic x86_64
NonfreeKernelMo
ApportVersion: 2.16.1-0ubuntu2
Architecture: amd64
CrashCounter: 1
Date: Sun Mar 1 18:16:57 2015
ExecutablePath: /usr/bin/
InstallationDate: Installed on 2015-03-01 (0 days ago)
InstallationMedia: Xubuntu 15.04 "Vivid Vervet" - Alpha amd64 (20150224)
InterpreterPath: /usr/bin/python3.4
PackageArchitec
ProcCmdline: /usr/bin/python3 /usr/bin/
PythonArgs: ['/usr/
SourcePackage: software-properties
Title: add-apt-repository crashed with IndexError in mangle_
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups:
Related branches
- No reviews requested
milan cvijanovic (cvijanovicmilan) wrote : | #1 |
tags: | removed: need-duplicate-check |
Changed in software-properties (Ubuntu): | |
importance: | Undecided → Medium |
information type: | Private → Public |
Changed in software-properties (Ubuntu): | |
status: | New → Confirmed |
Brian Murray (brian-murray) wrote : | #3 |
The problem is the leading slash in the PPA name and there are surprising number occurrences of this at errors.ubuntu.com.
The instructions for adding a PPA on Launchpad don't display a leading slash but it still seems worth fixing.
Changed in software-properties (Ubuntu): | |
status: | Confirmed → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
Changed in software-properties (Ubuntu Vivid): | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in software-properties (Ubuntu Vivid): | |
milestone: | none → vivid-updates |
Launchpad Janitor (janitor) wrote : | #4 |
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 Murray <email address hidden> Tue, 13 Oct 2015 11:31:14 -0700
Changed in software-properties (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in software-properties (Ubuntu Vivid): | |
status: | Triaged → Invalid |
Changed in software-properties (Ubuntu Vivid): | |
status: | Invalid → Won't Fix |
I was able to recreate this on wily.