Addition of ppa repository failing intermittently
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I get following error intermittently when trying to add ppa repository:
$ sudo add-apt-repository ppa:~longsleep/
Cannot add PPA: 'ppa:~longsleep
The user named '~longsleep' has no PPA named 'ubuntu/
Please choose from the following available PPAs:
* 'bcmwl': bcmwl
* 'couchdb': Apache CouchDB
* 'couchdb-
* 'createrepo-
* 'firehol-
* 'golang-backports': Golang Backports
* 'golang-
* 'iridium-
* 'pixel-extras': Pixel extras
* 'python2.
* 'python3-
* 'stuff': Stuff
* 'ubuntu-
After multiple attempts, it may succeed, but the same above command sometimes may return following error as well (intermittently):
$ sudo add-apt-repository ppa:~longsleep/
Traceback (most recent call last):
File "/usr/bin/
shortcut = shortcut_
File "/usr/lib/
ret = factory(shortcut)
File "/usr/lib/
return PPAShortcutHand
File "/usr/lib/
info = get_ppa_
File "/usr/lib/
_get_
File "/usr/lib/
lp_user = get_info_
File "/usr/lib/
return get_info_
File "/usr/lib/
return json.loads(data)
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/
raise JSONDecodeError
json.decoder.
I am also facing similar issue with add repository with different ppa packages from last few days:
Cannot add PPA: 'ppa:~criu/ ubuntu/ ppa'.
The team named '~criu' has no PPA named 'ubuntu/ppa'
Please choose from the following available PPAs:
* 'ppa': CRIU PPA