terminator
terminator copied to clipboard
Update install method for Ubuntu
Is your feature request related to a problem? Please describe.
The current install method will place the PPA's public key in /etc/apt/trusted.gpg.d/
. apt-key recommends to put the key in /etc/apt/keyrings/
and use the Signed-By option in the corresponding sources.list file.
Describe the solution you'd like
sudo gpg --homedir /tmp --no-default-keyring \
--keyring /etc/apt/keyrings/matt-rose-ppa.gpg \
--keyserver hkp://keyserver.ubuntu.com:80 \
--recv-keys BD2FE0A01E3164DB
echo "deb [signed-by=/etc/apt/keyrings/matt-rose-ppa.gpg] https://ppa.launchpadcontent.net/mattrose/terminator/ubuntu/ jammy main" \
| sudo tee /etc/apt/sources.list.d/terminator.list
However, we would need a better way of retrieving the fingerprint, I'm not sure how this should be done. Also, it's not the same as the one displayed here: https://launchpad.net/~mattrose.
Additional context
- https://manpages.ubuntu.com/manpages/jammy/man8/apt-key.8.html#deprecation
- https://askubuntu.com/a/1307181
- https://unix.stackexchange.com/a/717955 (explanation of
gpg
parameters)
So, I'll start by saying I'm not very familiar with debian packaging, and even less familiar with launchpad and PPAs. Markus is the debian dev, but he's pretty busy.
I just upload the sources for the deb to launchpad, which builds and signs the package using it's own key. I have no control over the process that installs the key to the users desktop, or even really the key that signs the builds, that I can tell. If you could give me some guidance as to how to configure launchpad to do these things, I'd gladly do it, but I don't really know anything about how the add-apt-repository script works.
I did figure out how you could retrieve the fingerprint, but of course, my PPA does not have a fingerprint there. I'm starting to really dislike launchpad. I have discovered that this is a launchpad bug https://bugs.launchpad.net/launchpad/+bug/1920266 and it hasn't been fixed for a year.
argh.
I've recently gained access to the OG terminator launchpad PPA and started updating that with 2.1.3 packages for focal, jammy, and kinetic, and that PPA doesn't have the same bug, so you could use that for now https://launchpad.net/~gnome-terminator/+archive/ubuntu/ppa