Misleading error message when adding PPA source
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
software-properties (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu 16.04 LTS
Please add the exception message to stdout, preferably in all cases where an exception is caught.
When trying to add a ppa source, following error message was displayed
~$ sudo add-apt-repository ppa:ubuntu-
Cannot add PPA: 'ppa:~ubuntu-
ERROR: '~ubuntu-
After reading code and adding print statements in ppa.py, came to following exception:
'Error reading https:/
Exception was thrown by 'get_ppa_
This has nothing to do with user or team, but was due to wrong time/date setting on my machine.
Googling found that there are more users with the same problem having a different root-cause (e.g. proxy server settings)
Adding a link to an external issue mentioning this: https:/ /github. com/tmatilai/ vagrant- proxyconf/ issues/ 171#issuecommen t-626098580