Package: emacsen-common
Version: 1.4.16
Severity: important

Currently when an emacs is installed, it executes 

/usr/lib/emacsen-common/packages/install/<pkg> <flavor> <others>

for each <pkg> it finds.  However, when emacs is installed in one dpkg
run together with an add-on package, and this add-on package has an
additional dependency, this will in many cases fail.

For example, auctex Depends: gs-gpl | gs, and uses gs in its install
script.  Thus, if I say

apt-get install emacs21 auctex

then emacs21 will sometimes be configured before gs-gpl is configured,
and configuring emacs will fail because
/usr/lib/emacsen-common/packages/install/auctex fails.

One possible solution would be to require that every package register
somewhere (probably best by touching some file named after it) that it
has once been configured successfully for any emacs.  If an emacs main
package is installed, it will execute the install scripts only for
packages which have already registered themselves.  Otherwise running
the install script is left to those packages' postinst script.

Regards, Frank

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (99, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.16-2-686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages emacsen-common depends on:
ii  bsdmainutils                  6.0.17     collection of more utilities from 

-- no debconf information

-- 
Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX)

Reply via email to