Announcement

Collapse
No announcement yet.

GPG error + apt-key deprecated.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    GPG error + apt-key deprecated.

    hi

    When updating I get the error GPG, NOT PUBKEY.
    When I try to add the key using:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys xxxxxxx

    I get the error:
    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys xxxxxxxxx
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    Executing: /tmp/apt-key-gpghome.NfH60ZSH4e/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys xxxxxxxxx
    gpg: key xxxxxxxxxxxx: "SCM Packages (signing key for packages.scm-manager.org) <scm-team@cloudogu.com>" not changed
    gpg: Total number processed: 1
    gpg: unchanged: 1

    I don't know how to solve the problem

    #2
    First hit on a Google search of "apt-key is deprecated. Manage keyring files in trusted.gpg.d​" led to this which shows how to do in in the new format. You should be able to export the key and dearmor it using gpg from the keyring if in there otherwise you need to do the download command.

    https://stackoverflow.com/questions/...-gpg-d-instead
    Last edited by Snowhog; May 26, 2024, 08:35 AM.

    Comment


      #3
      Because this is for scm-manager, you might need to verify that you have added their keys properly, or to see if there has been a change

      Their instructions will properly help you get the key, dearmor, etc and do describe each step.
      https://scm-manager.org/docs/latest/...lation/debian/

      Comment


        #4
        Originally posted by RedGreen925 View Post
        First hit on a Google search of "apt-key is deprecated. Manage keyring files in trusted.gpg.d​" led to this which shows how to do in in the new format. You should be able to export the key and dearmor it using gpg from the keyring if in there otherwise you need to do the download command.

        https://stackoverflow.com/questions/...-gpg-d-instead

        I already did that procedure on that website and other similar ones without it working.

        the next time ask first and don't be so arrogant. If it bothers you when people ask, don't answer and you'll be at peace with yourself.​

        Comment


          #5
          Originally posted by claydoh View Post
          Because this is for scm-manager, you might need to verify that you have added their keys properly, or to see if there has been a change

          Their instructions will properly help you get the key, dearmor, etc and do describe each step.
          https://scm-manager.org/docs/latest/...lation/debian/
          Thanks you clay

          Regards.

          Comment

          Working...
          X