Error Installing Emacs25 Package on Ubuntu 16.04












0















I am trying to install Emacs25 package on Ubuntu 16.04 alongside Emacs 24 and Emacs-snapshot (currently Emacs 27.0.50).



I ran the following commands



sudo add-apt-repository ppa:kelleyk/emacs 
sudo apt-get update


After that I ran



sudo apt install emacs25


during which I get this



user@user-desktop:$ sudo apt install emacs25
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
emacs25-common
The following NEW packages will be installed:
emacs25 emacs25-common
0 upgraded, 2 newly installed, 0 to remove and 132 not upgraded.
Need to get 0 B/21.0 MB of archives.
After this operation, 90.8 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 298195 files and directories currently installed.)
Preparing to unpack .../emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb ...
Unpacking emacs25-common (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb (--unpack):
trying to overwrite '/usr/share/emacs/site-lisp/subdirs.el', which is also in package emacs-snapshot-common 20190326:96618-9a6cba2~ubuntu16.04.1
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Selecting previously unselected package emacs25.
Preparing to unpack .../emacs25_92792-c3ff671-emacs-25.2~ubuntu16.04.1_amd64.deb ...
Unpacking emacs25 (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for install-info (6.1.0.dfsg.1-5) ...
Errors were encountered while processing:
/var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


Could someone tell me what is going on and how I could troubleshoot this?









share



























    0















    I am trying to install Emacs25 package on Ubuntu 16.04 alongside Emacs 24 and Emacs-snapshot (currently Emacs 27.0.50).



    I ran the following commands



    sudo add-apt-repository ppa:kelleyk/emacs 
    sudo apt-get update


    After that I ran



    sudo apt install emacs25


    during which I get this



    user@user-desktop:$ sudo apt install emacs25
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
    emacs25-common
    The following NEW packages will be installed:
    emacs25 emacs25-common
    0 upgraded, 2 newly installed, 0 to remove and 132 not upgraded.
    Need to get 0 B/21.0 MB of archives.
    After this operation, 90.8 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    (Reading database ... 298195 files and directories currently installed.)
    Preparing to unpack .../emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb ...
    Unpacking emacs25-common (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
    dpkg: error processing archive /var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb (--unpack):
    trying to overwrite '/usr/share/emacs/site-lisp/subdirs.el', which is also in package emacs-snapshot-common 20190326:96618-9a6cba2~ubuntu16.04.1
    dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
    Selecting previously unselected package emacs25.
    Preparing to unpack .../emacs25_92792-c3ff671-emacs-25.2~ubuntu16.04.1_amd64.deb ...
    Unpacking emacs25 (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
    Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
    Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
    Rebuilding /usr/share/applications/bamf-2.index...
    Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
    Processing triggers for mime-support (3.59ubuntu1) ...
    Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
    Processing triggers for man-db (2.7.5-1) ...
    Processing triggers for install-info (6.1.0.dfsg.1-5) ...
    Errors were encountered while processing:
    /var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Could someone tell me what is going on and how I could troubleshoot this?









    share

























      0












      0








      0








      I am trying to install Emacs25 package on Ubuntu 16.04 alongside Emacs 24 and Emacs-snapshot (currently Emacs 27.0.50).



      I ran the following commands



      sudo add-apt-repository ppa:kelleyk/emacs 
      sudo apt-get update


      After that I ran



      sudo apt install emacs25


      during which I get this



      user@user-desktop:$ sudo apt install emacs25
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following additional packages will be installed:
      emacs25-common
      The following NEW packages will be installed:
      emacs25 emacs25-common
      0 upgraded, 2 newly installed, 0 to remove and 132 not upgraded.
      Need to get 0 B/21.0 MB of archives.
      After this operation, 90.8 MB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      (Reading database ... 298195 files and directories currently installed.)
      Preparing to unpack .../emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb ...
      Unpacking emacs25-common (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
      dpkg: error processing archive /var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb (--unpack):
      trying to overwrite '/usr/share/emacs/site-lisp/subdirs.el', which is also in package emacs-snapshot-common 20190326:96618-9a6cba2~ubuntu16.04.1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Selecting previously unselected package emacs25.
      Preparing to unpack .../emacs25_92792-c3ff671-emacs-25.2~ubuntu16.04.1_amd64.deb ...
      Unpacking emacs25 (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
      Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
      Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
      Rebuilding /usr/share/applications/bamf-2.index...
      Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
      Processing triggers for mime-support (3.59ubuntu1) ...
      Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
      Processing triggers for man-db (2.7.5-1) ...
      Processing triggers for install-info (6.1.0.dfsg.1-5) ...
      Errors were encountered while processing:
      /var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Could someone tell me what is going on and how I could troubleshoot this?









      share














      I am trying to install Emacs25 package on Ubuntu 16.04 alongside Emacs 24 and Emacs-snapshot (currently Emacs 27.0.50).



      I ran the following commands



      sudo add-apt-repository ppa:kelleyk/emacs 
      sudo apt-get update


      After that I ran



      sudo apt install emacs25


      during which I get this



      user@user-desktop:$ sudo apt install emacs25
      Reading package lists... Done
      Building dependency tree
      Reading state information... Done
      The following additional packages will be installed:
      emacs25-common
      The following NEW packages will be installed:
      emacs25 emacs25-common
      0 upgraded, 2 newly installed, 0 to remove and 132 not upgraded.
      Need to get 0 B/21.0 MB of archives.
      After this operation, 90.8 MB of additional disk space will be used.
      Do you want to continue? [Y/n] y
      (Reading database ... 298195 files and directories currently installed.)
      Preparing to unpack .../emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb ...
      Unpacking emacs25-common (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
      dpkg: error processing archive /var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb (--unpack):
      trying to overwrite '/usr/share/emacs/site-lisp/subdirs.el', which is also in package emacs-snapshot-common 20190326:96618-9a6cba2~ubuntu16.04.1
      dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
      Selecting previously unselected package emacs25.
      Preparing to unpack .../emacs25_92792-c3ff671-emacs-25.2~ubuntu16.04.1_amd64.deb ...
      Unpacking emacs25 (92792-c3ff671-emacs-25.2~ubuntu16.04.1) ...
      Processing triggers for desktop-file-utils (0.22-1ubuntu5.2) ...
      Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20180209-0ubuntu1) ...
      Rebuilding /usr/share/applications/bamf-2.index...
      Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
      Processing triggers for mime-support (3.59ubuntu1) ...
      Processing triggers for hicolor-icon-theme (0.15-0ubuntu1.1) ...
      Processing triggers for man-db (2.7.5-1) ...
      Processing triggers for install-info (6.1.0.dfsg.1-5) ...
      Errors were encountered while processing:
      /var/cache/apt/archives/emacs25-common_92792-c3ff671-emacs-25.2~ubuntu16.04.1_all.deb
      E: Sub-process /usr/bin/dpkg returned an error code (1)


      Could someone tell me what is going on and how I could troubleshoot this?







      apt software-installation package-management emacs dpkg





      share












      share










      share



      share










      asked 8 mins ago









      MadPhysicistMadPhysicist

      10314




      10314






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f508868%2ferror-installing-emacs25-package-on-ubuntu-16-04%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f508868%2ferror-installing-emacs25-package-on-ubuntu-16-04%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 rewrite equation of hyperbola in standard form

          No ethernet ip address in my vocore2