[Bug 292576] mail/mu: Could not be installed with Emacs in the system

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 18 Jan 2026 23:49:33 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292576

            Bug ID: 292576
           Summary: mail/mu: Could not be installed with Emacs in the
                    system
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: h0rr0rrdrag@gmail.com
                CC: rwn@mailo.com
                CC: rwn@mailo.com
             Flags: maintainer-feedback?(rwn@mailo.com)

Hello, I found this problem in my FreeBSD 14.3 installation and reproduced it
in my FreeBSD 15.0.

Overview: When I trying to install "mu" package, the pkg removes my "emacs"
package and installs the unwanted "emacs-nox" instead. But I prefer to use GUI
Emacs in my system, not the console-only Emacs. So I need to have both emacs
and mu installed.

Steps to reproduce:
1) Install emacs to the system (pkg install emacs).
2) Install mu to the system (pkg install mu).

At the 2nd point the pkg will remove emacs and install emacs-nox instead of it.

Actual results: emacs is replaced by emacs-nox after mu installation.

Expected result: mu could be installed with emacs already in the system.
Emacs-nox should not replace Emacs.

Build date & hardware:
- mu version: 1.12.13 from FreeBSD:15:amd64 repository
- Emacs version: 30.2,3 from FreeBSD:15:amd64 repository
- FreeBSD version: 15.0-RELEASE-p1
- CPU architecture: amd64

Additional information:

Log of "pkg install mu" while package "emacs" already installed in the system:


All repositories are up to date.
Checking integrity... done (1 conflicting)
  - emacs-nox-30.2,3 [FreeBSD-ports] conflicts with emacs-30.2,3 [installed] on
/usr/local/bin/ctags
Checking integrity... done (0 conflicting)
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        emacs-nox: 30.2,3 [FreeBSD-ports]
        mu: 1.12.13 [FreeBSD-ports]

Installed packages to be REMOVED:
        emacs: 30.2,3

Number of packages to be removed: 1
Number of packages to be installed: 2

The operation will free 125 MiB.

Proceed with this action? [y/N]: n

Additional information 2: if I try to install mu first and install the emacs
second — the pkg removes emacs-nox and mu. So, I could not have both mu and
emacs installed at the same time.

-- 
You are receiving this mail because:
You are the assignee for the bug.