apt-key is deprecated and will be removed from Debian and Ubuntu
Bug #1892494 reported by
Paride Legovini
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
High
|
Dan Bungert |
Bug Description
Use of apt-key is deprecated and it will last be available in Debian 11 and Ubuntu 22.04, see apt-key(8).
Curtin uses `apt-key add`, which can be replaced by dropping the pubkeys to be trusted in the /etc/apt/
gpg --with-fingerprint --no-default-
which should produce the same result.
Related branches
~dbungert/curtin:lp-1892494-apt-key-v2
Merged
into
curtin:master
- Server Team CI bot: Approve (continuous-integration)
- Michael Hudson-Doyle: Approve
- Olivier Gayot: Approve
-
Diff: 291 lines (+106/-43)2 files modifiedcurtin/commands/apt_config.py (+19/-10)
tests/unittests/test_apt_source.py (+87/-33)
Changed in curtin: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in curtin: | |
importance: | Low → High |
assignee: | nobody → Dan Bungert (dbungert) |
status: | Triaged → In Progress |
Changed in curtin: | |
status: | In Progress → Fix Committed |
Changed in curtin: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've filed similar bugs recently for identical problems in Bionic apt-setup, base-installer and debootstrap srckpgs. I can submit a PR to fix this in curtin Monday. Without this, a totally isolated install using an internal mirror is broken unless you make a custom rootfs.