OXYGENHUB

/apt: install the keyring readable by apt 72cde3da4176

The page said sudo curl -o, which leaves the keyring 0600 under some
umasks; apt then cannot read it and calls it an unsupported filetype.
Pipe it through sudo tee, which writes 0644.
Author
Andy McCall @andymccall <[email protected]>
When
· 2026-10-04 14:36 UTC
Signature
✔ signed by Andy McCall
Hash
72cde3da4176aff69eecc9cc4a625aa277dc22cd4cd5728ab1e18d0646135100
Depends on
ea85398a51bc
Depended on by
nothing yet
In bookmarks
api-unknown-fields cancel-landed-runs clear-waiting close-proposal-140 diffusion-pin-bookmark draft-ready image-check job-waits main oh-comment-body-file proposal-list-fast run-one-job wiki-says-so
In tags
v0.4.0 v0.4.1 v0.4.2 v0.5.0 v0.5.1 v0.5.2 v0.6.0 v0.6.1 v0.7.0 v0.8.0 v0.9.0 v0.9.1 v0.9.11 v0.9.15 v0.9.16 v0.9.19 v0.9.2 v0.9.20 v0.9.21 v0.9.22 v0.9.23 v0.9.24 v0.9.3 v0.9.4 v0.9.5 v0.9.6 v0.9.7 v0.9.8 v0.9.9
Edits
2 atoms, 0 tree operations, 1 file

Browse the tree at this change

modified crates/hub/src/apt.rs +1 −1
…
281 unchanged lines
282 282
    let text = format!(
283 283
        "{site} apt repository: oxy and oh for Debian and Ubuntu ({arches}).\n\n\
284 284
         Installing a .deb from a release adds this repository by itself. To add it by hand:\n\n\
285 -
         sudo curl -fsSLo /usr/share/keyrings/oxygenhub-archive-keyring.gpg {base}/apt/oxygenhub.gpg\n\
285 +
         curl -fsSL {base}/apt/oxygenhub.gpg | sudo tee /usr/share/keyrings/oxygenhub-archive-keyring.gpg >/dev/null\n\
286 286
         sudo tee /etc/apt/sources.list.d/oxygenhub.sources >/dev/null <<EOF\n\
287 287
         Types: deb\nURIs: {base}/apt\nSuites: {suite}\nComponents: {component}\n\
288 288
         Signed-By: /usr/share/keyrings/oxygenhub-archive-keyring.gpg\nEOF\n\
…
131 unchanged lines