Public bug reported: 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) ** Affects: software-properties (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp