I created a PPA for some packages I've written. Then I added its keys in my machine:
$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 03BBACDA765F39D9A14EEDE4425F3F9343B40373
...
gpg: Número total processado: 1
gpg: importados: 1
Then I tried to add the PPA repo, and got this:
$ sudo add-apt-repository ppa:brandizzi/ppa
...
Err:4 http://ppa.launchpad.net/brandizzi/ppa/ubuntu bionic InRelease
403 Forbidden [IP: ...]
...
E: The repository 'http://ppa.launchpad.net/brandizzi/ppa/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I know I can force APT to use an unsigned repository, or add [trusted=yes]
in my local source.list
files but I'd like to see the commands above working without any of these approaches (which seem heavy-handed and less secure than possible.)
What should I change in my PPA to avoid this error?