[Bug 52598] New: Update instructions for repository key usage due to deprecation of apt-key

WineHQ Bugzilla wine-bugs at winehq.org
Sat Feb 26 18:38:52 CST 2022


https://bugs.winehq.org/show_bug.cgi?id=52598

            Bug ID: 52598
           Summary: Update instructions for repository key usage due to
                    deprecation of apt-key
           Product: Packaging
           Version: unspecified
          Hardware: x86-64
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: wine-packages
          Assignee: wine-bugs at winehq.org
          Reporter: shtetldik at gmail.com
                CC: dimesio at earthlink.net
      Distribution: ---

When using the repo, apt update produces such warning:

W: https://dl.winehq.org/wine-builds/debian/dists/testing/InRelease: Key is
stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the
DEPRECATION section in apt-key(8) for details.

>From man apt-key

DEPRECATION
       Except for using apt-key del in maintainer scripts, the use of apt-key
is deprecated. This section shows how to replace existing use of apt-key.

       If your existing use of apt-key add looks like this:

       wget -qO- https://myrepo.example/myrepo.asc | sudo apt-key add -

       Then you can directly replace this with (though note the recommendation
below):

       wget -qO- https://myrepo.example/myrepo.asc | sudo tee
/etc/apt/trusted.gpg.d/myrepo.asc

       Make sure to use the "asc" extension for ASCII armored keys and the
"gpg" extension for the binary OpenPGP format (also known as "GPG key public
ring"). The binary OpenPGP format works for all apt versions, while the ASCII
armored format
       works for apt version >= 1.4.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list