[Bug 1781917] Re: Misleading error message when adding PPA source
Paul White
1781917 at bugs.launchpad.net
Mon Jul 16 13:23:30 UTC 2018
** Tags added: xenial
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to software-properties in Ubuntu.
https://bugs.launchpad.net/bugs/1781917
Title:
Misleading error message when adding PPA source
Status in software-properties package in Ubuntu:
New
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-toolchain-r/test
Cannot add PPA: 'ppa:~ubuntu-toolchain-r/ubuntu/test'.
ERROR: '~ubuntu-toolchain-r' user or team does not exist.
After reading code and adding print statements in ppa.py, came to following exception:
'Error reading https://launchpad.net/api/1.0/~ubuntu-toolchain-r/+archive/ubuntu/test: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)'
Exception was thrown by 'get_ppa_info_from_lp(user, ppa)' called in
'get_ppa_info(shortcut)'
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-properties/+bug/1781917/+subscriptions
More information about the foundations-bugs
mailing list