Skip to content

apt keyring changed with Debian 12 #241

@boppy

Description

@boppy

I recently updates to Debian 12. This message appears while doing an apt update:

W: http://openresty.org/package/debian/dists/bookworm/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

There referenced man 8 apt-key suggests:

wget -O - https://openresty.org/package/pubkey.gpg | sudo tee /etc/apt/trusted.gpg.d/openresty.asc

I can very that this is working. 🟢

The reference is here: https://github.com/openresty/openresty.org/blob/master/v2/en/linux-packages.md?plain=1#L259

I don't know how far back this change to apt happened, so I would suggest a split for the Debian section in For Debian <= 11 and For Debian 12 or above (just as with ubuntu).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions