-
-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
APT-KEY is deprecated, update instructions for install #607
Comments
Thanks @alison-gravley for the bookworm install instructions! I just used them on a Debian bookworm host after seeing the deprecation notice about /etc/apt/trusted.gpg. To be clear to non-Debian users why it's worth updating to the new way of storing keys, any ET user who installed the old way will see this warning message every time they run
For new bookworm installation instructions on the website, what about the following?
The only difference from Alison's commands above are:
If it's useful, here's a transcript of an install on a fresh bookworm VM using these instructions. I only ran |
I just realized
(2) seems simpler. That would give us something like this, using
("bullseye" and "bookworm" both work here) Here's a transcript of using these installation instructions on a fresh bullseye (debian 11.4) VM: https://pastebin.com/raw/kvfyJ9Fi |
You should be able to create the folder if it doesn't exist. I am glad this was able to help, and a little surprised the instructions still haven't been updated or changed. |
As you may or may not know, apt-key is deprecated. I did the below instead and it works fine for me. I think Ubunutu would be the same or similar, but I don't know.
I used bits from this article to figure it out. I didn't bother migrating.
OS Info
cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
Distro: DietPi v8.23.3
Device model : RPi 4 Model B (aarch64)
Step 1: Fix /etc/apt/sources.list.d/et.list
Add arch signed by with the gpg key location.
The gpg file should go in /etc/apt/keyrings/, /usr/share/keyrings, or really anywhere as long as it matches what is in the et.list.
The format should be something like this:
You could probably automate the arch field using
and at least on my version of debian, to get the codename:
I figure it isn't great or worth it to automate the codename part, but you could insert the architecture like this:
Step 2: Put the GPG file in the "correct" location
The gpg file should go in /etc/apt/keyrings/, /usr/share/keyrings, or really anywhere as long as it matches what is in the et.list
After that, I just ran 'apt update' and 'apt install et' like normal.
The text was updated successfully, but these errors were encountered: