Bug #44972
cephadm: add-repo on ubuntu broken
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Description
Right now this fails:
W: http://nl.archive.ubuntu.com/ubuntu/dists/bionic/InRelease: The key(s) in the keyring /etc/apt/trusted.gpg.d/ceph.release.gpg are ignored as the file has an unsupported filetype.
Adding the repo key should be done via
`wget -q -O- 'https://download.ceph.com/keys/release.asc' | sudo apt-key add -
Related issues
History
#1 Updated by Sebastian Wagner almost 4 years ago
- Status changed from New to In Progress
- Assignee set to Sebastian Wagner
#2 Updated by Sebastian Wagner almost 4 years ago
Turns out apt-key is unusable by default:
root@buster:/cephadm# apt-key -h E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
In addition, apt-key ignores the .d directory:
root@buster:~# apt-key list /etc/apt/trusted.gpg -------------------- pub rsa4096 2015-09-15 [SC] 08B7 3419 AC32 B4E9 66C1 A330 E84A C2C0 460F 3994 uid [ unknown] Ceph.com (release key) <security@ceph.com>
#3 Updated by Sebastian Wagner almost 4 years ago
- Blocked by Bug #45009: https://download.ceph.com/keys/release.asc: ignored as the file has an unsupported filetype. added
#4 Updated by Sebastian Wagner almost 4 years ago
- Status changed from In Progress to New
#5 Updated by Sebastian Wagner almost 3 years ago
- Assignee deleted (
Sebastian Wagner)
#6 Updated by Adam King almost 3 years ago
- Status changed from New to In Progress
- Assignee set to Adam King
#7 Updated by Adam King almost 3 years ago
- Pull request ID set to 41813
#8 Updated by Sebastian Wagner over 2 years ago
- Status changed from In Progress to Closed