Bug 474578

Summary: /usr/bin/emacs link not updated on upgrade
Product: [Fedora] Fedora Reporter: Jonathan Kamens <jik>
Component: emacsAssignee: Daniel Novotny <dnovotny>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: braden, dcantrell, roland
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-16 14:34:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jonathan Kamens 2008-12-04 15:23:46 UTC
After upgrading from emacs-22.2-5.fc9.i386.rpm to emacs-22.3-1.fc11.i386, /usr/bin/emacs still pointed at emacs-22.2 rather than emacs-22.3.

Comment 1 Daniel Novotny 2009-02-04 15:41:39 UTC
hello Jonathan,

I am unable to reproduce the bug: I installed current rawhide, installed emacs from F9 there, upgraded to the latest F11 rpm and the link was updated correctly

are there any steps which will definitely reproduce this? there are about three open bugs on Emacs with this symlink problem, but I was so far never able to see it myself :(

Comment 2 Roland Roberts 2009-02-05 21:41:16 UTC
I just upgraded on _Fedora 10_ to emacs-22.3-3.fc10.i386.  Post update, I had no /usr/bin/emacs.  I uninstalled and reinstalled to get it back.

265 roland> rpm -q emacs
emacs-22.3-3.fc10.i386
266 roland> uname -r
2.6.27.12-170.2.5.fc10.i686

Here's an extract from yum.log.  Sorry, no record on what the previous version was, but it had to be recent.

Feb 05 11:14:18 Updated: 1:emacs-common-22.3-3.fc10.i386
Feb 05 11:14:19 Updated: 1:emacs-22.3-3.fc10.i386
Feb 05 11:15:51 Updated: 1:emacs-el-22.3-3.fc10.i386
Feb 05 11:49:20 Erased: emacs
Feb 05 11:49:30 Erased: emacs-common
Feb 05 11:49:52 Erased: emacs-el
Feb 05 16:36:07 Erased: emacs-ess
Feb 05 16:36:07 Erased: emacs
Feb 05 16:36:44 Installed: 1:emacs-22.3-3.fc10.i386
Feb 05 16:36:45 Installed: emacs-ess-5.3.8-1.fc10.noarch
Feb 05 16:36:45 Installed: 1:emacs-22.3-3.fc10.i386

Comment 3 Daniel Novotny 2009-02-16 14:34:52 UTC
OK, I created a script in %posttrans, which will hopefully track the version in alternatives and repair it, if there remains an old version link. I have three bugs like that, but they seem all the same.

fixed in emacs-22.3-5.fc11

Comment 4 Daniel Novotny 2009-02-16 14:35:31 UTC
*** Bug 446467 has been marked as a duplicate of this bug. ***

Comment 5 Daniel Novotny 2009-02-16 14:36:03 UTC
*** Bug 394131 has been marked as a duplicate of this bug. ***