I am using Debian 12 bookworm. I first installed it about 3 years ago with bullseye, and then upgraded the repositories in order to switch the system to bookworm.
My system is now a bit convoluted because of the openGPG requirements. Here is my /etc/apt/sources.list file:
So my question is, where should the openGPG keys be stored for these system repositories be stored? Right now I have them in /etc/apt/trusted.gpg.d/ as follows:
I have been reading about adding 3rd party repositories and I understand that 3rd party keys are supposed to be stored in /usr/shared/keyrings/. But I am confused about these Debian system repositories and how or where to install the keys for them in order to get my system fully compatible with the new security requirements. I believe they are currently stored in this /etc/apt/trusted.gpg.d/ directory because when I first installed my system I was in bullseye, not bookworm. The upgrade 3 years ago did not automatically reconfigure the system, and I would not expect it to.
Any help would be greatly appreciated. What do I need to do in order to configure the keys for the system repositories in the right location?
My system is now a bit convoluted because of the openGPG requirements. Here is my /etc/apt/sources.list file:
Code:
deb http://deb.debian.org/debian/ bookworm main contrib non-freedeb-src http://deb.debian.org/debian/ bookworm main contrib non-freedeb http://security.debian.org/debian-security bookworm-security main contrib non-freedeb-src http://security.debian.org/debian-security bookworm-security main contrib non-free# bullseye-updates, to get updates before a point release is made;# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backportsdeb http://deb.debian.org/debian/ bookworm-updates main contrib non-freedeb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free
Code:
/etc/apt/trusted.gpg.d$ ls -ltotal 92-rw-r--r-- 1 root root 11861 Mar 17 2023 debian-archive-bookworm-automatic.asc-rw-r--r-- 1 root root 11873 Mar 17 2023 debian-archive-bookworm-security-automatic.asc-rw-r--r-- 1 root root 461 Mar 17 2023 debian-archive-bookworm-stable.asc-rw-r--r-- 1 root root 11861 Mar 17 2023 debian-archive-bullseye-automatic.asc-rw-r--r-- 1 root root 11873 Mar 17 2023 debian-archive-bullseye-security-automatic.asc-rw-r--r-- 1 root root 3403 Mar 17 2023 debian-archive-bullseye-stable.asc-rw-r--r-- 1 root root 11093 Mar 17 2023 debian-archive-buster-automatic.asc-rw-r--r-- 1 root root 11105 Mar 17 2023 debian-archive-buster-security-automatic.asc-rw-r--r-- 1 root root 1704 Mar 17 2023 debian-archive-buster-stable.asc-rw-r--r-- 1 george george 5289 Jun 29 13:15 InRelease
Any help would be greatly appreciated. What do I need to do in order to configure the keys for the system repositories in the right location?
Statistics: Posted by geotechtribe — 2024-08-03 10:46 — Replies 0 — Views 38