messes up alternatives on removal

Bug #162932 reported by James Troup
4
Affects Status Importance Assigned to Milestone
emacs22 (Ubuntu)
Fix Released
Undecided
Michael Olson

Bug Description

Binary package hint: emacs22

emacs22 isn't handling alternatives properly, at least on purge. To reproduce:

install emacs21
install emacs22
purge emacs22
try running 'emacs'
notice it fail with 'no such binary' because /etc/alternatives/emacs is still pointing at emacs22

Related branches

CVE References

Michael Olson (mwolson)
Changed in emacs22:
assignee: nobody → mwolson
status: New → In Progress
Revision history for this message
Luke Hoersten (lukehoersten) wrote :

This error occurs when installing emacs22 as well. Installing a fresh emacs22 with no other emacs installed does not updated the /etc/alternatives/emacs symlink.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package emacs22 - 22.1-0ubuntu10

---------------
emacs22 (22.1-0ubuntu10) hardy; urgency=low

  * debian/control: Conflict and Replace emacs22-common-non-dfsg
    (LP: #172389). Thanks to Jamie Raymond for the report.
  * debian/emacs.prerm: Remove alternatives in reverse creation order
    (LP: #162932). Thanks to James Troup for the report.
  * debian/emacs.menu.in:
    - Use Applications/Editors instead of Apps/Editors as per menu policy.
    - Move menu definition for "emacs -nw" here, and delete
      emacs-common.menu.in. This way, if the user installs emacs22-nox,
      they will not have an unwanted menu item added (LP: #157984).
      Thanks to Ryan for the report.
  * debian/patches:
    - feature-spell-warning.diff: New patch that displays a warning when
      spell is used and the spell binary is not installed (LP: #154989).
    - fix-comint-sudo.diff: New patch that causes comint to recognize the
      sudo prompt used by Ubuntu (LP: #162890).
    - Rename CVE-2007-6109.diff to fix-format-overflow.diff so that it
      shows up in README.Debian. Add patch header as well.
    - fix-local-vars-security.diff: Add CVE ID.
  * debian/README.in:
    - Place Ubuntu rather than Debian in the header line.
    - Add link to further explanation for why we use a separate package.
    - Clarify what "this package" means.
    - Together this fixes LP: #180164. Thanks to era for the report and
      patch.
  * debian/rules: Don't build debian/emacs-common.menu and don't call
    dh_installmenu -i.

 -- <email address hidden> (Michael W. Olson (GNU address)) Tue, 08 Jan 2008 18:00:57 -0500

Changed in emacs22:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.