update-alternatives fails to create link to editor man page

Bug #696315 reported by David Ayers
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNU Emacs
Fix Released
Unknown
emacs23 (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: emacs23

When updating alternative to make emacs the default editor the following warning is emitted:

ayers@schiefer:~$ LANG=C sudo update-alternatives --config editor
There are 4 choices for the alternative editor (providing /usr/bin/editor).

  Selection Path Priority Status
------------------------------------------------------------
* 0 /bin/nano 40 auto mode
  1 /bin/ed -100 manual mode
  2 /bin/nano 40 manual mode
  3 /usr/bin/emacs23 0 manual mode
  4 /usr/bin/vim.tiny 10 manual mode

Press enter to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/bin/emacs23 to provide /usr/bin/editor (editor) in manual mode.
update-alternatives: warning: skip creation of /usr/share/man/man1/editor.1.gz because associated file /usr/share/man/man1/emacs.1emacs23.1.gz (of link group editor) doesn't exist.

The file of the emacs-common package is /usr/share/man/man1/emacs.emacs23.1.gz

I'm not sure whether the file name or the update-alternatives snippets need to be corrected.

This issue exists in both Lucid and Maverick.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: emacs23-common 23.1+1-4ubuntu7
ProcVersionSignature: Ubuntu 2.6.35-24.42-generic 2.6.35.8
Uname: Linux 2.6.35-24-generic x86_64
Architecture: amd64
Date: Sat Jan 1 20:17:45 2011
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=de_AT.utf8
 SHELL=/bin/bash
SourcePackage: emacs23

Revision history for this message
David Ayers (ayers) wrote :
David Ayers (ayers)
tags: added: lucid
removed: amd64
Revision history for this message
David Ayers (ayers) wrote :

I believe the issue may have been introduced by the debian change:

 -- Rob Browning <snipped> Thu, 03 Sep 2009 21:55:25 -0700

emacs23 (23.1+1-2) unstable; urgency=low
...
  * Fix update-alternatives to reflect the fact that all the binaries
    have manpages now. Rename manpages from NAME.1FLAVOR to
    NAME.FLAVOR.1.

Revision history for this message
David Ayers (ayers) wrote :

This bug is fixed upstream in debian with:

 -- Rob Browning <snipped> Sun, 02 May 2010 10:56:09 -0700
...
emacs23 (23.1+1-6) unstable; urgency=low

  * Fix update-alternatives call for emacs manpage. Thanks to
    Jörg-Volker Peetz <snipped> and Sven Joachim
    <snipped> for the report. (closes: #552565)

Changed in emacs23 (Ubuntu):
status: New → Incomplete
status: Incomplete → New
Changed in emacs:
status: Unknown → 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.