Bug 701048 - Emacs won't launch unless executed as emacs-23.2
Summary: Emacs won't launch unless executed as emacs-23.2
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: emacs
Version: 15
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Karel Klíč
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 705651 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-30 15:50 UTC by Claudio Saavedra
Modified: 2013-03-03 23:02 UTC (History)
5 users (show)

Fixed In Version: emacs-23.2-19.fc15
Clone Of:
Environment:
Last Closed: 2011-05-26 21:54:59 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Claudio Saavedra 2011-04-30 15:50:16 UTC
Emacs 23.2, 17.fc15.

When launching from the command line as 'emacs' :


  [claudio@localhost ~]$ emacs
  bash: emacs: command not found...
  Packages providing this file are:
  'emacs-nox'
  'emacs'

However, emacs is installed:

[claudio@localhost ~]$ yum info emacs
Loaded plugins: auto-update-debuginfo, langpacks, presto, refresh-packagekit
Installed Packages
Name        : emacs
Arch        : x86_64
Epoch       : 1
Version     : 23.2
Release     : 17.fc15
Size        : 10 M
Repo        : installed


The launcher in GNOME 3 doesn't work either, I guess because the 'emacs' command is not found.

Comment 1 Karel Klíč 2011-05-02 15:44:36 UTC
Re-installing Emacs (`yum remove emacs && yum install emacs`) should help as a workaround.

Was the machine upgraded from some older Fedora? Or is it a clean F-15 installation?

Comment 2 Claudio Saavedra 2011-05-04 09:12:04 UTC
It's an upgrade from Fedora 14.

I noticed that the same happens with transmission (it can only be ran as transmission-gtk), so it might pretty well be a general problem.

Comment 3 Yann Droneaud 2011-05-12 08:55:15 UTC
I have the same problem after a preupgrade from F14 to F15.

Comment 4 Jens Petersen 2011-05-21 08:17:15 UTC
*** Bug 705651 has been marked as a duplicate of this bug. ***

Comment 5 Jens Petersen 2011-05-21 08:27:09 UTC
(In reply to comment #1)
> Re-installing Emacs (`yum remove emacs && yum install emacs`) should help as a
> workaround.

So any explanation for the upgrade problem?

I suppose it is related to:

* Tue Aug 17 2010 Karel Klic <kklic> - 1:23.2-11
- Own /usr/bin/emacs (rhbz#614935)
- Updated the handling of alternatives to match
  https://fedoraproject.org/wiki/Packaging:Alternatives

?

Comment 6 Karel Klíč 2011-05-23 10:23:24 UTC
Jens,

there are multiple issues in both Fedora 14 and 15 emacs packages related to the usage of alternatives. I'm going to backport fixes from Rawhide to both branches and issue updates.

This particular update problem is AFAICT caused by Fedora 14 package removing emacs from alternatives, and Fedora 15 emacs failing to register back because of missing dependency on alternatives (chkconfig package), which is also updated when going from F14 to F15 (thus missing at the time of emacs %post execution).

Comment 7 Fedora Update System 2011-05-23 14:37:12 UTC
emacs-23.2-10.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/emacs-23.2-10.fc14

Comment 8 Fedora Update System 2011-05-23 14:37:26 UTC
emacs-23.2-19.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/emacs-23.2-19.fc15

Comment 9 Fedora Update System 2011-05-25 02:29:13 UTC
Package emacs-23.2-10.fc14:
* should fix your issue,
* was pushed to the Fedora 14 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing emacs-23.2-10.fc14'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/emacs-23.2-10.fc14
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2011-05-26 15:42:46 UTC
emacs-23.2-11.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/emacs-23.2-11.fc14

Comment 11 Fedora Update System 2011-05-26 21:54:50 UTC
emacs-23.2-19.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.