Could not install 'emacs22-gtk'

Bug #155561 reported by David Whitmore
This bug report is a duplicate of:  Bug #154205: Byte-compilation for emacs22 failed!. Edit Remove
4
Affects Status Importance Assigned to Milestone
ilisp (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: emacs22-gtk

This message came up during my upgrade from ubuntu7.04 to ubuntu7.10.

 1st
  Warning Message:
 Could not install 'emacs22-gtk'

 The upgrade will continue but the 'emacs22-gtk' package
 may not be in a working state. Please consider submitting a
 bugreport about it.

    Inner Window message continued:
 subprocess post-installation script returned error exit status 1

ProblemType: Package
Architecture: i386
Date: Sun Oct 21 16:23:28 2007
DistroRelease: Ubuntu 7.10
ErrorMessage:
 ErrorMessage: dependency problems - leaving unconfigured
Package: cogre 1:1.0pre4-2
PackageArchitecture: all
SourcePackage: cedet
Title: package cogre 1:1.0pre4-2 failed to install/upgrade:
Uname: Linux dbdave-loonybin 2.6.20-16-generic #2 SMP Sun Sep 23 19:50:39 UTC 2007 i686 GNU/Linux

Revision history for this message
David Whitmore (dbdave2000) wrote :
Revision history for this message
Reinhard Tartler (siretart) wrote :

For triaging this bug, we would need a logfile of the upgrade.

Most probably some add-on package caused this crash. It is impossible to detect the culprit with the given information.

Changed in emacs22:
status: New → Incomplete
Revision history for this message
Pål Grønås Drange (pgdx) wrote :
Download full text (4.9 KiB)

Would this be of any help?
<pre>
root@pgd-laptop:~# apt-get install emacs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  emacs22-gtk
The following NEW packages will be installed:
  emacs emacs22-gtk
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1954kB of archives.
After unpacking 5636kB of additional disk space will be used.
Do you want to continue [Y/n]?
WARNING: The following packages cannot be authenticated!
  emacs22-gtk emacs
Install these packages without verification [y/N]? y
Selecting previously deselected package emacs22-gtk.
(Reading database ... 149137 files and directories currently installed.)
Unpacking emacs22-gtk (from .../emacs22-gtk_22.1-0ubuntu5_i386.deb) ...
Selecting previously deselected package emacs.
Unpacking emacs (from .../emacs_22.1-0ubuntu5_all.deb) ...
Setting up emacs22-gtk (22.1-0ubuntu5) ...
Byte-compiling add-on packages, please wait... failed.

!! Byte-compilation for emacs22 failed!
!! This indicates a bug in one of the add-on packages
!! installed on your system, or a bug in Emacs itself.
!! Please file a bug report against emacs22
!! and attach the file /tmp/emacs22.o10786
dpkg: error processing emacs22-gtk (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of emacs:
 emacs depends on emacs22-gtk | emacs22 | emacs22-nox; however:
  Package emacs22-gtk is not configured yet.
  Package emacs22 is not installed.
  Package emacs22-gtk which provides emacs22 is not configured yet.
  Package emacs22-nox is not installed.
dpkg: error processing emacs (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 emacs22-gtk
 emacs
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@pgd-laptop:~#
</pre>
Or, after I did an apt-get clean, apt-get update, apt-get upgrade and then tried:
<pre>
root@pgd-laptop:~# apt-get install emacs
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  emacs22-bin-common emacs22-common emacs22-gtk
Suggested packages:
  emacs22-el
The following NEW packages will be installed:
  emacs emacs22-bin-common emacs22-common emacs22-gtk
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 20.7MB of archives.
After unpacking 64.7MB of additional disk space will be used.
Do you want to continue [Y/n]?
Get:1 http://no.archive.ubuntu.com gutsy/main emacs22-common 22.1-0ubuntu5 [18.6MB]
Get:2 http://no.archive.ubuntu.com gutsy/main emacs22-bin-common 22.1-0ubuntu5 [161kB]
Get:3 http://no.archive.ubuntu.com gutsy/universe emacs22-gtk 22.1-0ubuntu5 [1950kB]
Get:4 http://no.archive.ubuntu.com gutsy/main emacs 22.1-0ubuntu5 [4322B]
Fetched 20.7MB in 32s (646kB/s) ...

Read more...

Revision history for this message
Reinhard Tartler (siretart) wrote : Re: [Bug 155561] Re: Could not install 'emacs22-gtk'

Pål Grønås Drange <email address hidden> writes:

> Would this be of any help?

> ...
>
> !! Byte-compilation for emacs22 failed!
> !! This indicates a bug in one of the add-on packages
> !! installed on your system, or a bug in Emacs itself.
> !! Please file a bug report against emacs22
> !! and attach the file /tmp/emacs22.o10786
> dpkg: error processing emacs22-gtk (--configure):
> subprocess post-installation script returned error exit status 1

Yes, we would need that file attached.

--
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4

Revision history for this message
Pål Grønås Drange (pgdx) wrote :

It seems to be a problem with my Lisp installation(s) ...

Revision history for this message
Pål Grønås Drange (pgdx) wrote :

Emacs did install correctly after I removed the package ilisp:

root@pgd-laptop:/etc/ilisp# apt-get remove ilisp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  ilisp
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B of archives.
After unpacking 1147kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 153029 files and directories currently installed.)
Removing ilisp ...
remove/ilisp: purging byte-compiled files for emacs21
Setting up emacs22-gtk (22.1-0ubuntu5) ...
Byte-compiling add-on packages, please wait... done.

Setting up emacs (22.1-0ubuntu5) ...

Changed in emacs22:
status: Incomplete → New
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.