Trying to update Ubuntu 14.04 LTS Error Code (1)












0















I am trying to upgrade Ubuntu to a newer version but when I run:



$ sudo apt update
$ sudo apt upgrade
$ sudo apt dist-upgrade


The error message is:



Do you want to continue? [Y/n] y
(Reading database ... 292477 files and directories currently installed.)
Preparing to unpack .../gdb_7.7.1-0ubuntu5~14.04.3_i386.deb ...
Unpacking gdb (7.7.1-0ubuntu5~14.04.3) over (7.7-0ubuntu3.1) ...
dpkg: error processing archive /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb (--unpack):
trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb-arm-none-eabi 7.6.50.20131218-0ubuntu1+1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Processing triggers for man-db (2.6.7.1-1ubuntu1)
Errors were encountered while processing:
/var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Can someone help me?
Thanks in advance.



Peter










share|improve this question





























    0















    I am trying to upgrade Ubuntu to a newer version but when I run:



    $ sudo apt update
    $ sudo apt upgrade
    $ sudo apt dist-upgrade


    The error message is:



    Do you want to continue? [Y/n] y
    (Reading database ... 292477 files and directories currently installed.)
    Preparing to unpack .../gdb_7.7.1-0ubuntu5~14.04.3_i386.deb ...
    Unpacking gdb (7.7.1-0ubuntu5~14.04.3) over (7.7-0ubuntu3.1) ...
    dpkg: error processing archive /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb (--unpack):
    trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb-arm-none-eabi 7.6.50.20131218-0ubuntu1+1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Processing triggers for man-db (2.6.7.1-1ubuntu1)
    Errors were encountered while processing:
    /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Can someone help me?
    Thanks in advance.



    Peter










    share|improve this question



























      0












      0








      0


      0






      I am trying to upgrade Ubuntu to a newer version but when I run:



      $ sudo apt update
      $ sudo apt upgrade
      $ sudo apt dist-upgrade


      The error message is:



      Do you want to continue? [Y/n] y
      (Reading database ... 292477 files and directories currently installed.)
      Preparing to unpack .../gdb_7.7.1-0ubuntu5~14.04.3_i386.deb ...
      Unpacking gdb (7.7.1-0ubuntu5~14.04.3) over (7.7-0ubuntu3.1) ...
      dpkg: error processing archive /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb (--unpack):
      trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb-arm-none-eabi 7.6.50.20131218-0ubuntu1+1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Processing triggers for man-db (2.6.7.1-1ubuntu1)
      Errors were encountered while processing:
      /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Can someone help me?
      Thanks in advance.



      Peter










      share|improve this question
















      I am trying to upgrade Ubuntu to a newer version but when I run:



      $ sudo apt update
      $ sudo apt upgrade
      $ sudo apt dist-upgrade


      The error message is:



      Do you want to continue? [Y/n] y
      (Reading database ... 292477 files and directories currently installed.)
      Preparing to unpack .../gdb_7.7.1-0ubuntu5~14.04.3_i386.deb ...
      Unpacking gdb (7.7.1-0ubuntu5~14.04.3) over (7.7-0ubuntu3.1) ...
      dpkg: error processing archive /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb (--unpack):
      trying to overwrite '/usr/share/man/man1/gdb.1.gz', which is also in package gdb-arm-none-eabi 7.6.50.20131218-0ubuntu1+1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Processing triggers for man-db (2.6.7.1-1ubuntu1)
      Errors were encountered while processing:
      /var/cache/apt/archives/gdb_7.7.1-0ubuntu5~14.04.3_i386.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Can someone help me?
      Thanks in advance.



      Peter







      14.04






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Feb 2 at 4:56









      Amolith

      6051628




      6051628










      asked Feb 1 at 13:11









      Peter JacksonPeter Jackson

      12




      12






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The problem was a package called: "GNU-Debugger". After removing it everything worked fine.






          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%2f1114721%2ftrying-to-update-ubuntu-14-04-lts-error-code-1%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









            0














            The problem was a package called: "GNU-Debugger". After removing it everything worked fine.






            share|improve this answer




























              0














              The problem was a package called: "GNU-Debugger". After removing it everything worked fine.






              share|improve this answer


























                0












                0








                0







                The problem was a package called: "GNU-Debugger". After removing it everything worked fine.






                share|improve this answer













                The problem was a package called: "GNU-Debugger". After removing it everything worked fine.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Feb 6 at 13:08









                Peter JacksonPeter Jackson

                12




                12






























                    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%2f1114721%2ftrying-to-update-ubuntu-14-04-lts-error-code-1%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

                    How to make a Squid Proxy server?

                    Is this a new Fibonacci Identity?

                    19世紀