[Touch-packages] [Bug 2017014] Re: can't add private ppa raw entry wihout lp login

2023-04-19 Thread Guillermo Gonzalez
Looked at the a bit closer and it seems that the PPAShortcutHandler is trying to handle the above raw sources.list line and trying to contact launchpad. In this setup, which is quite common for servers, the charm takes care of calling add-apt-repository but also handles the GPG keys on it's own.

[Touch-packages] [Bug 2017014] [NEW] can't add private ppa raw entry wihout lp login

2023-04-19 Thread Guillermo Gonzalez
Public bug reported: While running somtething like: add-apt-repository --yes "deb https://user:secrets@private- ppa.launchpad.net/owner/ppa-name/ubuntu jammy main" it fails with: Traceback (most recent call last): File "/usr/bin/add-apt-repository", line 364, in sys.exit(0 if addaptrepo.