Bug#586328: gtk-doc-tools: Upgrade fails: ERROR: emacsen-common being used before being configured.

Ludovic Rousseau ludovic.rousseau at gmail.com
Fri Jun 18 12:36:12 UTC 2010


Package: gtk-doc-tools
Version: 1.10-1
Severity: normal

I am upgrading from Lenny to Squeeze. The upgrade does not happen in
only one step so I have to run apt-get multiple times.

In one execution I have:

$ LANG=C sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gcj gij
The following packages will be upgraded:
  gtk-doc-tools
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
552 not fully installed or removed.
Need to get 0B/529kB of archives.
After this operation, 1204kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 276624 files and directories currently installed.)
Preparing to replace gtk-doc-tools 1.10-1 (using
.../gtk-doc-tools_1.15-1_all.deb) ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the gtk-doc-tools package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: warning: subprocess old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the gtk-doc-tools package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: error processing
/var/cache/apt/archives/gtk-doc-tools_1.15-1_all.deb (--unpack):
 subprocess new pre-removal script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/gtk-doc-tools_1.15-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

And I have:
$ dpkg -l emacsen-common
Souhait=inconnU/Installé/suppRimé/Purgé/H=à garder
| État=Non/Installé/fichier-Config/dépaqUeté/échec-conFig/H=semi-installé/W=attend-traitement-déclenchements
|/ Err?=(aucune)/besoin Réinstallation (État,Err: majuscule=mauvais)
||/ Nom            Version        Description
+++-==============-==============-============================================
iU  emacsen-common 1.4.19         Common facilities for all emacsen

So emacsen-common is installed but not yet configured.

The  short term "solution" is to configure emacsen-common first using:
$ sudo apt-get install -f

Then emacsen-common is then configured and can be used. And the
installation of gtk-doc-tools is now successful.

$ LANG=C sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  gcj gij
The following packages will be upgraded:
  gtk-doc-tools
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/529kB of archives.
After this operation, 1204kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 276624 files and directories currently installed.)
Preparing to replace gtk-doc-tools 1.10-1 (using
.../gtk-doc-tools_1.15-1_all.deb) ...
Unpacking replacement gtk-doc-tools ...
Processing triggers for man-db ...
Setting up gtk-doc-tools (1.15-1) ...


I guess gtk-doc-tools (or one of its dependency) needs a Pre-Depends:
emacsen-common

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'stable'), (50, 'unstable'), (1,
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gtk-doc-tools depends on:
ii  docbook-dsssl              1.79-6        modular DocBook DSSSL stylesheets,
ii  docbook-to-man             1:2.0.0-28    converter from DocBook SGML into r
ii  docbook-xml                4.5-7         standard XML documentation system
ii  docbook-xsl                1.75.2+dfsg-5 stylesheets for processing DocBook
ii  gnome-common               2.28.0-1      common scripts and macros to devel
ii  jade                       1.2.1-47      James Clark's DSSSL Engine
ii  perl                       5.10.1-13     Larry Wall's Practical Extraction
ii  python                     2.5.4-9       An interactive high-level object-o
ii  xsltproc                   1.1.26-3      XSLT command line processor

Versions of packages gtk-doc-tools recommends:
ii  pkg-config                    0.25-1     manage compile and link flags for

gtk-doc-tools suggests no packages.

-- no debconf information


-- 
 Dr. Ludovic Rousseau






More information about the pkg-gnome-maintainers mailing list