opam-repository icon indicating copy to clipboard operation
opam-repository copied to clipboard

conf-emacs wants to install emacs even though it is already present

Open mattiasdrp opened this issue 2 years ago • 3 comments

❯ opam install conf-emacs
The following actions will be performed:
  ∗ install conf-emacs 1

The following system packages will first need to be installed:
    emacs

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] 

But emacs is already available

❯ which emacs
/usr/local/bin/emacs

And if I answer yes it installs emacs through apt

mattiasdrp avatar May 20 '22 13:05 mattiasdrp

i have a similar problem: conf-emacs wants me to install emacs-nox through my package manager even though i already have gui emacs installed

iitalics avatar Jun 24 '22 16:06 iitalics

I had the same problem when I needs to install tuareg, so I installed emacs-conf with --assume-depexts

GoPavel avatar Aug 09 '22 16:08 GoPavel

I had the same problem when I needs to install tuareg, so I installed emacs-conf with --assume-depexts

This seems indeed like the only way to do it currently as opam doesn't support package options nor direct binary detection and there doesn't seem to be a common meta package for emacs on debian

kit-ty-kate avatar Aug 09 '22 16:08 kit-ty-kate