Unable to remove winehq from repositories used by apt-get












0















How can I remove a repository from apt-get? I know this is a duplicate, but the existing answers didn't work for me.



When I run apt-get update I'm getting the following error:



Err:13 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease                                                            
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.winehq.org/wine-builds/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F


I don't need wine anymore so I've been trying to remove it.



When I run sudo apt-cache policy, I can see Wine's repository listed as follows:



500 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 Packages
release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=i386
origin dl.winehq.org
500 https://dl.winehq.org/wine-builds/ubuntu xenial/main amd64 Packages
release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=amd64
origin dl.winehq.org


I've tried various different syntaxes to remove the repository but nothing works. Here are some of the things I tried:



sudo add-apt-repository --remove ppa:https://dl.winehq.org/wine-builds/ubuntu
sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu xenial inRelease'
sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu ./'
sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu ./'
sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu'









share|improve this question



























    0















    How can I remove a repository from apt-get? I know this is a duplicate, but the existing answers didn't work for me.



    When I run apt-get update I'm getting the following error:



    Err:13 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease                                                            
    The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
    W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.winehq.org/wine-builds/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F


    I don't need wine anymore so I've been trying to remove it.



    When I run sudo apt-cache policy, I can see Wine's repository listed as follows:



    500 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 Packages
    release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=i386
    origin dl.winehq.org
    500 https://dl.winehq.org/wine-builds/ubuntu xenial/main amd64 Packages
    release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=amd64
    origin dl.winehq.org


    I've tried various different syntaxes to remove the repository but nothing works. Here are some of the things I tried:



    sudo add-apt-repository --remove ppa:https://dl.winehq.org/wine-builds/ubuntu
    sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu xenial inRelease'
    sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu ./'
    sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu ./'
    sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu'









    share|improve this question

























      0












      0








      0








      How can I remove a repository from apt-get? I know this is a duplicate, but the existing answers didn't work for me.



      When I run apt-get update I'm getting the following error:



      Err:13 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease                                                            
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.winehq.org/wine-builds/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F


      I don't need wine anymore so I've been trying to remove it.



      When I run sudo apt-cache policy, I can see Wine's repository listed as follows:



      500 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 Packages
      release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=i386
      origin dl.winehq.org
      500 https://dl.winehq.org/wine-builds/ubuntu xenial/main amd64 Packages
      release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=amd64
      origin dl.winehq.org


      I've tried various different syntaxes to remove the repository but nothing works. Here are some of the things I tried:



      sudo add-apt-repository --remove ppa:https://dl.winehq.org/wine-builds/ubuntu
      sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu xenial inRelease'
      sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu ./'
      sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu ./'
      sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu'









      share|improve this question














      How can I remove a repository from apt-get? I know this is a duplicate, but the existing answers didn't work for me.



      When I run apt-get update I'm getting the following error:



      Err:13 https://dl.winehq.org/wine-builds/ubuntu xenial InRelease                                                            
      The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.winehq.org/wine-builds/ubuntu xenial InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F


      I don't need wine anymore so I've been trying to remove it.



      When I run sudo apt-cache policy, I can see Wine's repository listed as follows:



      500 https://dl.winehq.org/wine-builds/ubuntu xenial/main i386 Packages
      release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=i386
      origin dl.winehq.org
      500 https://dl.winehq.org/wine-builds/ubuntu xenial/main amd64 Packages
      release v=16.04,o=dl.winehq.org,a=xenial,n=xenial,l=winehq,c=main,b=amd64
      origin dl.winehq.org


      I've tried various different syntaxes to remove the repository but nothing works. Here are some of the things I tried:



      sudo add-apt-repository --remove ppa:https://dl.winehq.org/wine-builds/ubuntu
      sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu xenial inRelease'
      sudo apt-add-repository --remove 'deb https://dl.winehq.org/wine-builds/ubuntu ./'
      sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu ./'
      sudo apt-add-repository --remove 'https://dl.winehq.org/wine-builds/ubuntu'






      apt package-management updates wine repository






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      Atte JuvonenAtte Juvonen

      1205




      1205






















          1 Answer
          1






          active

          oldest

          votes


















          1














          Remove the file containing a link to that repo from /etc/apt/sources.list.d or from /etc/apt.sources.list file.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118619%2funable-to-remove-winehq-from-repositories-used-by-apt-get%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            1














            Remove the file containing a link to that repo from /etc/apt/sources.list.d or from /etc/apt.sources.list file.






            share|improve this answer






























              1














              Remove the file containing a link to that repo from /etc/apt/sources.list.d or from /etc/apt.sources.list file.






              share|improve this answer




























                1












                1








                1







                Remove the file containing a link to that repo from /etc/apt/sources.list.d or from /etc/apt.sources.list file.






                share|improve this answer















                Remove the file containing a link to that repo from /etc/apt/sources.list.d or from /etc/apt.sources.list file.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited 5 hours ago

























                answered 5 hours ago









                Pilot6Pilot6

                52.1k15107197




                52.1k15107197






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1118619%2funable-to-remove-winehq-from-repositories-used-by-apt-get%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b