You would need to uninstall emacs25 and emacs25-common first.
emacs25-common conflicts with emacs26-common.
Consider using this ppa https://launchpad.net/~kelleyk/+archive/ubuntu/emacs
Using the ppa this is the error i got when installing emacs25 then attemting to install emacs26.
Code:
Preparing to unpack .../emacs26-common_26.1~1.git07f8f9b-kk1+18.04_all.deb ...
Unpacking emacs26-common (26.1~1.git07f8f9b-kk1+18.04) ...
dpkg: error processing archive /var/cache/apt/archives/emacs26-common_26.1~1.git07f8f9b-kk1+18.04_all.deb (--unpack):
trying to overwrite '/usr/share/emacs/site-lisp/subdirs.el', which is also in package emacs25-common 25.3~1.gite0284ab-kk1+18.04
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/emacs26-common_26.1~1.git07f8f9b-kk1+18.04_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Bookmarks