There's no version-agnostic way of running emacs-nox. Such thing (a symlink to versioned emacs-nox binary) would be useful for configurations that survive updating to next version of Fedora. An example would be git's core.editor used for writing commit messages. Also, emacs-nox is way easier to type than emacs-24.3-nox.
Yeah, it make sense. scm-commit rawhide (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140728/1324981.html) scm-commit F21 (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140728/1325013.html) scm-commit F20 (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140728/1324955.html) switched to MODIFIED
emacs-24.3-19.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/emacs-24.3-19.fc20
Package emacs-24.3-19.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing emacs-24.3-19.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9103/emacs-24.3-19.fc20 then log in and leave karma (feedback).
This change seems to mean that: BuildRequires: emacs-nox no longer provides a /usr/bin/emacs binary. See this build failure: https://kojipkgs.fedoraproject.org//work/tasks/2604/7232604/build.log I don't know if that was intentional or not.
(In reply to Richard W.M. Jones from comment #4) > This change seems to mean that: > > BuildRequires: emacs-nox > > no longer provides a /usr/bin/emacs binary. See this > build failure: > > https://kojipkgs.fedoraproject.org//work/tasks/2604/7232604/build.log > > I don't know if that was intentional or not. Actually it's worse than that. The package now "Provides" /usr/bin/emacs but doesn't actually contain the binary. Something strange/broken is going on anyway.
The change was only to add symlink /usr/bin/emacs-nox to alternatives etc. build finished successfully. http://koji.fedoraproject.org/koji/buildinfo?buildID=549708 BuildRequires is not a right way. emacs-nox is emacs witout XWindow.
I hope that %posttrans nox is used only during installation emacs-nox package.
Well, I uninstalled emacs completely with all his subpackages and installed them again (build via mock) and emacs binary exists on the system. I could not reproduced your error unfortunately.
(In reply to Petr Hracek from comment #6) > The change was only to add symlink /usr/bin/emacs-nox to alternatives etc. > build finished successfully. > http://koji.fedoraproject.org/koji/buildinfo?buildID=549708 > > BuildRequires is not a right way. > emacs-nox is emacs witout XWindow. All I'm saying is that I have a package which does: BuildRequires: /usr/bin/emacs and it pulled in emacs-nox but there was no emacs binary. See for yourself: http://koji.fedoraproject.org/koji/buildinfo?buildID=549863 root.log shows: DEBUG util.py:283: emacs-nox i686 1:24.3-20.fc22 build 2.2 M build.log fails: /var/tmp/rpm-tmp.wBSSfz: line 84: /usr/bin/emacs: No such file or directory http://pkgs.fedoraproject.org/cgit/coq.git/commit/?id=bc0153ad51c41f4d73d9ce4ea2e0f05885180b9f BR was /usr/bin/emacs
I have catched the problem. You are right in package nox is emacs file marked as ghost which is wrong. Fix is ongoing. Rawhide first.
Fix who provides emacs-nox. scm-commit-rawhide (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140804/1326464.html) scm-commit-f21 (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140804/1326470.html) scm-commit-f20 (https://lists.fedoraproject.org/pipermail/scm-commits/Week-of-Mon-20140804/1326477.html) switch to MODIFIED
emacs-24.3-21.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/emacs-24.3-21.fc20
emacs-24.3-22.fc20 has been submitted as an update for Fedora 20. https://admin.fedoraproject.org/updates/emacs-24.3-22.fc20
Package emacs-24.3-22.fc20: * should fix your issue, * was pushed to the Fedora 20 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing emacs-24.3-22.fc20' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2014-9169/emacs-24.3-22.fc20 then log in and leave karma (feedback).
emacs-24.3-22.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report.
Unfortunately, now that this change has been made, 'emacs' no longer exists on my systems if I only have emacs-nox installed. *Very* disconcerting to have emacs disappear after doing a yum update. Is there any way to make /usr/bin/emacs resolve to /etc/alternatives/emacs-nox or something if emacs-nox is installed but emacs is not?
This is emacs-nox-24.3-22.fc20.x86_64, emacs-common-24.3-22.fc20.x86_64.
bug 1130587 was filed for /usr/bin/emacs going missing from Fedora 20 with the current 'stable' update.
Hello, Jonathan, you can create symlink to /usr/bin/emacs-nox. # ln -s /usr/bin/emacs-nox /usr/bin/emacs Justification: as emacs-nox package provides emacs without x, the binary is named emacs-nox, not emacs. Having emacs and emacs-nox packages installed together, one has to distinguish between emacs with x windows and the one without. Yes, you are right, it is unpleasant. Suddenly, emacs is gone without any notice. Regards Jan
Ongoing resolution in bug 1130587.