apt-key being removed in future Debian releases

Bug #1940321 reported by Jason Boyer
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Medium
Unassigned

Bug Description

According to https://www.debian.org/releases/bullseye/amd64/release-notes/ch-information.en.html#deprecated-components Bullseye will be the final Debian release to include apt-key, requiring admins to instead manually drop the .gpg or .asc keys in /etc/apt/trusted.gpg.d/ (which you can do already). We have plenty of time to adjust to this but I believe everything from Stretch up works with this already so it may be a one-and-done minor tweak to Makefile.debian for all Debian systems.

tags: added: install-upgrade
Revision history for this message
Jason Boyer (jboyer) wrote :

After a rousing chorus of "E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation" here's the patch to send apt-key off into the sunset: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/jboyer/lp1940321_apt-key_who / working/user/jboyer/lp1940321_apt-key_who

tags: added: pullrequest
Revision history for this message
Jason Boyer (jboyer) wrote :

Testing is easy: apply the patch and run the make Makefile.debian-* or .ubuntu-* installation step on a fresh machine. As a final extra verification step you can also install something like postgresql-client-14 that is certain to come from the pgdg repo. No errors = no problem.

While this will work on all versions of Debian and Ubuntu that we support there's not much of a reason to backport it.

Revision history for this message
Jane Sandberg (sandbergja) wrote :

Thanks for keeping tabs on this, Jason, and for the patch! I followed these steps to exercise your patch on buster, bullseye, and bookworm:

docker run -it debian-bullseye # repeat for buster and bookworm
apt-get update && apt-get install make git lsb-release wget apache2 -y
git clone -b user/jboyer/lp1940321_apt-key_who git://git.evergreen-ils.org/working/Evergreen.git
cd Evergreen
make -f Open-ILS/src/extras/Makefile.install debian-bullseye # or -buster
make -f Open-ILS/src/extras/Makefile.install postgres-server-debian-bullseye-14 # or -buster-14

I got no errors filling up my screen, so I'm merging this to rel_3_11 and master/main.

Changed in evergreen:
status: New → Fix Committed
importance: Undecided → Medium
milestone: none → 3.11-beta
tags: added: signedoff
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.