package emacs 22.1-0ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 2

Bug #128978 reported by Michael D. Stemle, Jr.
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
emacs22 (Ubuntu)
Fix Released
Medium
Reinhard Tartler

Bug Description

Binary package hint: emacs22

I attempt to aptitude update && aptitude upgrade and now I've got the emacs package in limbo.

ProblemType: Package
Architecture: amd64
Date: Sat Jul 28 19:37:24 2007
DistroRelease: Ubuntu 7.10
ErrorMessage: subprocess post-installation script returned error exit status 2
NonfreeKernelModules: driverloader
Package: emacs 22.1-0ubuntu3
PackageArchitecture: all
SourcePackage: emacs22
Title: package emacs 22.1-0ubuntu3 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux larry 2.6.22-8-generic #1 SMP Thu Jul 12 16:09:47 GMT 2007 x86_64 GNU/Linux

Related branches

Revision history for this message
Michael D. Stemle, Jr. (manchicken) wrote :
Ryan Kavanagh (ryanakca)
Changed in emacs22:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Reinhard Tartler (siretart) wrote :

I'm looking into it

Changed in emacs22:
assignee: nobody → siretart
Revision history for this message
Reinhard Tartler (siretart) wrote :

I get this error:

Setting up emacs (22.1-0ubuntu3) ...
update-alternatives: priority must be an integer

Usage: update-alternatives [<option> ...] <command>

Commands:
  --install <link> <name> <path> <priority>
    [--slave <link> <name> <path>] ...
                           add a group of alternatives to the system.
  --remove <name> <path> remove <path> from the <name> group alternative.
  --remove-all <name> remove <name> group from the alternatives system.
  --auto <name> switch the master link <name> to automatic mode.
  --display <name> display information about the <name> group.
  --list <name> display all targets of the <name> group.
  --config <name> show alternatives for the <name> group and ask the
                           user to select which one to use.
  --set <name> <path> set <path> as alternative for <name>.
  --all call --config on all alternatives.

<link> is the symlink pointing to /etc/alternatives/<name>.
  (e.g. /usr/bin/pager)
<name> is the master name for this link group.
  (e.g. pager)
<path> is the location of one of the alternative target files.
  (e.g. /usr/bin/less)
<priority> is an integer; options with higher numbers have higher priority in
  automatic mode.

Options:
  --altdir <directory> change the alternatives directory.
  --admindir <directory> change the administrative directory.
  --test don't do anything, just demonstrate.
  --verbose verbose operation, more output.
  --quiet quiet operation, minimal output.
  --help show this help message.
  --version show the version.
dpkg: error processing emacs (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 emacs
E: Sub-process /usr/bin/dpkg returned an error code (1)

Changed in emacs22:
status: Confirmed → In Progress
Revision history for this message
Reinhard Tartler (siretart) wrote :

emacs22 (22.1-0ubuntu4) gutsy; urgency=low

  [ Michael Olson ]
  * debian/control(.in): Add emacs22 as a Depends option for the emacs
    metapackage

  [ Reinhard Tartler ]
  * Don't install postinst in emacs metapackage, Fixes LP: #128978

 -- Reinhard Tartler <email address hidden> Sun, 29 Jul 2007 10:40:00 +0200

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.