Can't install emacs on freshly installed ubuntu-24.04.1-live-server-amd64.iso

Josef Wolf jw at raven.inka.de
Tue Nov 12 00:55:04 UTC 2024


Hello all,

Trying to install emacs on a freshly installed
ubuntu-24.04.1-live-server-amd64.iso:

  # apt install emacs
  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
  
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   emacs : Depends: emacs-gtk (>= 1:27.1) but it is not installable or
                    emacs-pgtk (>= 1:27.1) but it is not installable or
                    emacs-lucid (>= 1:27.1) but it is not installable or
                    emacs-nox (>= 1:27.1) but it is not installable
  E: Unable to correct problems, you have held broken packages.
  
  # apt install emacs-gtk
  WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
  
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   libgccjit0 : Depends: gcc-14-base (= 14-20240412-0ubuntu1) but 14.2.0-4ubuntu2~24.04 is to be installed
  E: Unable to correct problems, you have held broken packages.
 

Now I'm lost.

Any help?

-- 
Josef Wolf
jw at raven.inka.de



More information about the ubuntu-users mailing list