Announcement

Collapse
No announcement yet.

Anyone able to help me get wine working?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Anyone able to help me get wine working?

    Having some issues getting winehq to update, and really don't understand keys.

    Code:
    Err:6 https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
    The following signatures couldn't be verified because the public key
    is not available: NO_PUBKEY 76F1A20FF987672F
    Reading package lists... Done
    W: GPG error: https://dl.winehq.org/wine-builds/ubuntu jammy InRelease
    : The following signatures couldn't be verified because the public key
    is not available: NO_PUBKEY 76F1A20FF987672F
    E: The repository 'https://dl.winehq.org/wine-builds/ubuntu jammy InRe
    lease' is not signed.
    N: Updating from such a repository can't be done securely, and is ther
    efore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configur
    ation details.

    #2
    See https://itsfoss.com/solve-gpg-error-...rified-ubuntu/
    Using Kubuntu Linux since March 23, 2007
    "It is a capital mistake to theorize before one has data." - Sherlock Holmes

    Comment


      #3
      Thank you followed that guide but still get the error:
      Code:
      W: GPG error: https://dl.winehq.org/wine-builds/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
      E: The repository 'https://dl.winehq.org/wine-builds/ubuntu jammy InRelease' is not signed.
      N: Updating from such a repository can't be done securely, and is therefore disabled by default.
      N: See apt-secure(8) manpage for repository creation and user configuration details.
      ​

      Comment


        #4
        Have you checked the page on this?
        https://wiki.winehq.org/Ubuntu


        Currently, the Wine servers are being synchronized. This means that some users still getting the older .sources file. If you get this warning, edit the winehq-<distro>.sources file and replace /usr/share/keyrings/ to /etc/apt/keyrings/.
        This is one possibility. It may just be a temporary issue

        Did you follow this page to add winehq, and how recently did you do so?
        As suggested, check your /etc/apt/sources.list.d/winehq-jammy.sources file and make sure the "Signed-by" line is edited as described. You can us Kate or Kwrite for this.

        The contents should match this:
        Code:
        Types: deb
        URIs: https://dl.winehq.org/wine-builds/ubuntu
        Suites: jammy
        Components: main
        Architectures: amd64 i386
        Signed-By: /etc/apt/keyrings/winehq-archive.key​
        Check if you have the key file winehq-archive.key found in /etc/apt/keyrings. You might want to try following the " Add the repository" step if it isn't. It just downloads the key file and puts it in the correct directory.

        Apt has recently changed the preferred way to handle keys, and imo seems a lot easier, but the older methods used to deal with issues won't work on the new stuff, so mass confusion from googling is a problem.
        Both old and new being supported adds to this as well, unfortunately


        Comment


          #5
          Originally posted by claydoh View Post
          Have you checked the page on this?
          Check if you have the key file winehq-archive.key found in /etc/apt/keyrings. You might want to try following the " Add the repository" step if it isn't. It just downloads the key file and puts it in the correct directory.
          Ahhh, nothing in keyrings!

          But I can't add anything to the folder as access is denied

          Last edited by Snowhog; Dec 10, 2022, 03:14 PM.

          Comment


            #6
            Originally posted by pigeon View Post
            But I can't add anything to the folder as access is denied
            Just open the file in Kate. When you try to save it, you will be asked for your login password.
            Using Kubuntu Linux since March 23, 2007
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Originally posted by Snowhog View Post
              Just open the file in Kate. When you try to save it, you will be asked for your login password.
              Oh, I made a mistake, I put winhq.key in etc/apt/keyrings, need to put winehq-archive.key​ in there instead, right.....ummm...if so I can't find it here https://dl.winehq.org/

              Comment


                #8
                Originally posted by pigeon View Post
                But I can't add anything to the folder as access is denied
                If you follow the instructions on the page, sudo should take care of that



                Download and add the repository key:

                Code:
                sudo mkdir -pm755 /etc/apt/keyrings
                sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
                As you already have the dir, you should just need to do the second one.

                BUT, even so, you should be able to open the dir in Dolphin just fine, so something is off here. Easily fixed, though.
                Code:
                sudo chmod 755 /etc/apt/keyrings
                Then
                Code:
                sudo wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
                to download and add the key
                Last edited by claydoh; Dec 10, 2022, 04:31 PM.

                Comment


                  #9
                  May I suggest if your unfamiliar with wine that you install playonlinux and install your program through it. It's a nice gui front end for wine and can be very useful in navigating installs.

                  It's in the repositories. And you can find out more about it from here.
                  Dave Kubuntu 20.04 Registered Linux User #462608

                  Wireless Script: http://ubuntuforums.org/showthread.p...5#post12350385

                  Comment

                  Working...
                  X