Red Hat Bugzilla – Bug 474578
/usr/bin/emacs link not updated on upgrade
Last modified: 2013-01-09 23:57:33 EST
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.
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 :(
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
266 roland> uname -r
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
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
*** Bug 446467 has been marked as a duplicate of this bug. ***
*** Bug 394131 has been marked as a duplicate of this bug. ***