Přidat otázku mezi oblíbenéZasílat nové odpovědi e-mailemVyřešeno Emacs 27.1 v Linuxu Mint

Po příkazu

sudo apt install emacs27

mi to vyhodí:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
emacs27 is already the newest version (27.1~1.git86d8d76aa3-kk2+20.04).
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 emacs27 : Depends: emacs27-common but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Zkusil jsem

apt --fix-broken install

ale vyhodilo mi to chybu, kterou nevím, jak vyřešit:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-headers-5.4.0-89 linux-headers-5.4.0-89-generic linux-image-5.4.0-89-generic linux-modules-5.4.0-89-generic
  linux-modules-extra-5.4.0-89-generic
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  emacs27-common
The following NEW packages will be installed:
  emacs27-common
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 0 B/18,2 MB of archives.
After this operation, 74,0 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 704426 files and directories currently installed.)
Preparing to unpack .../emacs27-common_27.1~1.git86d8d76aa3-kk2+20.04_all.deb ...
Unpacking emacs27-common (27.1~1.git86d8d76aa3-kk2+20.04) ...
dpkg: error processing archive /var/cache/apt/archives/emacs27-common_27.1~1.git86d8d76aa3-kk2+20.04_all.deb (--unpack)
:
 trying to overwrite '/usr/include/emacs-module.h', which is also in package emacs-common 1:26.3+1-1ubuntu2
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/emacs27-common_27.1~1.git86d8d76aa3-kk2+20.04_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Reakce na odpověď

1 Zadajte svou přezdívku:
2 Napište svou odpověď:
3 Pokud chcete dostat ban, zadejte libovolný text:

Zpět do poradny