Debated adding this as a "documentation" change but really I think it might need to be further discussed as I only propose a solution - for which I am not sure if it is best-practice for other users to follow.
Checklist
[ ] Upgrade Terraspace: Are you using the latest version of Terraspace? This allows Terraspace to fix issues fast. There's an Upgrading Guide: https://terraspace.cloud/docs/misc/upgrading/
[ ] Reproducibility: Are you reporting a bug others will be able to reproduce and not asking a question. If you're unsure or want to ask a question, do so on https://community.boltops.com
[x] Code sample: Have you put together a code sample to reproduce the issue and make it available? Code samples help speed up fixes dramatically. If it's an easily reproducible issue, then code samples are not needed. If you're unsure, please include a code sample.
My Environment
Software
Version
Operating System
Pop_OS!
Terraform
Irrelevant
Terraspace
Irrelevant
Ruby
Irrelevant
Expected Behaviour
Running apt update on Debian based systems shouldn't throw a deprecation notice
Run sudo apt-key export 1FABFF8F | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/boltops.gpg to resolve error
Code Sample
➜ sudo apt update
...
Hit:5 https://apt.boltops.com stable InRelease
...
Get:16 http://apt.pop-os.org/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [12.5 kB]
Fetched 602 kB in 6s (92.8 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
29 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: https://apt.boltops.com/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
Note
Debated adding this as a "documentation" change but really I think it might need to be further discussed as I only propose a solution - for which I am not sure if it is best-practice for other users to follow.
Checklist
My Environment
Expected Behaviour
Running
apt update
on Debian based systems shouldn't throw a deprecation noticeCurrent Behavior
Step-by-step reproduction instructions
terraspace
as per the documentation for Ubuntu/Debianapt update
sudo apt-key export 1FABFF8F | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/boltops.gpg
to resolve errorCode Sample
Solution Suggestion
I am far from an authority on this but I found this solution:
Which would mean the new documentation would be:
Note: I don't have a
/usr/local/share/keyrings
directory on my system. Not sure of the best place to put it if not/etc/apt/trusted.gpg.d/
:shrug: