Manually installed go, auto-update in conflict











up vote
0
down vote

favorite












I have this version of go installed:



$ go version
go version go1.10.3 linux/amd64


My sources list contains:



$ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
# deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main


When I do any package updates, I see:



The following packages will be upgraded:
golang-1.10-go
After this operation, 17.4 kB disk space will be freed.
Do you want to continue? [Y/n]

(Reading database ... 377323 files and directories currently installed.)
Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
Errors were encountered while processing:
/var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


What is going wrong, what is misconfigured, and how can I make the update succeed?










share|improve this question


























    up vote
    0
    down vote

    favorite












    I have this version of go installed:



    $ go version
    go version go1.10.3 linux/amd64


    My sources list contains:



    $ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
    deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
    # deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main


    When I do any package updates, I see:



    The following packages will be upgraded:
    golang-1.10-go
    After this operation, 17.4 kB disk space will be freed.
    Do you want to continue? [Y/n]

    (Reading database ... 377323 files and directories currently installed.)
    Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
    Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
    dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
    trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
    Errors were encountered while processing:
    /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    What is going wrong, what is misconfigured, and how can I make the update succeed?










    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have this version of go installed:



      $ go version
      go version go1.10.3 linux/amd64


      My sources list contains:



      $ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
      deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
      # deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main


      When I do any package updates, I see:



      The following packages will be upgraded:
      golang-1.10-go
      After this operation, 17.4 kB disk space will be freed.
      Do you want to continue? [Y/n]

      (Reading database ... 377323 files and directories currently installed.)
      Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
      Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
      dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
      trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
      Errors were encountered while processing:
      /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      What is going wrong, what is misconfigured, and how can I make the update succeed?










      share|improve this question













      I have this version of go installed:



      $ go version
      go version go1.10.3 linux/amd64


      My sources list contains:



      $ cat /etc/apt/sources.list.d/gophers-ubuntu-archive-bionic.list
      deb http://ppa.launchpad.net/gophers/archive/ubuntu bionic main
      # deb-src http://ppa.launchpad.net/gophers/archive/ubuntu bionic main


      When I do any package updates, I see:



      The following packages will be upgraded:
      golang-1.10-go
      After this operation, 17.4 kB disk space will be freed.
      Do you want to continue? [Y/n]

      (Reading database ... 377323 files and directories currently installed.)
      Preparing to unpack .../golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb ...
      Unpacking golang-1.10-go (1.10.4-2ubuntu1~18.04.1) over (1.10.1-1ubuntu2) ...
      dpkg: error processing archive /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb (--unpack):
      trying to overwrite '/usr/lib/go-1.10/src', which is also in package golang-1.10-race-detector-runtime 0.0+svn285455-0ubuntu1
      Errors were encountered while processing:
      /var/cache/apt/archives/golang-1.10-go_1.10.4-2ubuntu1~18.04.1_amd64.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      What is going wrong, what is misconfigured, and how can I make the update succeed?







      apt 18.04 package-management ppa golang






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 23 at 16:56









      Mittenchops

      69941533




      69941533



























          active

          oldest

          votes











          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',
          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%2f1095440%2fmanually-installed-go-auto-update-in-conflict%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1095440%2fmanually-installed-go-auto-update-in-conflict%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

          數位音樂下載

          格利澤436b

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