Richard Lewis <[EMAIL PROTECTED]> wrote: > When doing a "apt-get dist-upgrade" (from version 1:4.13b-4) > I got the following error > > dpkg: dependency problems prevent configuration of a2ps: > a2ps depends on emacsen-common; however: > Package emacsen-common is not configured yet. > dpkg: error processing a2ps (--configure): > dependency problems - leaving unconfigured > > re-running "apt-get dist-upgrade" fixed things. > emacsen-common was upgraded from 1.4.15 -> 1.4.16
Richard, do you remember any error messages prior to this? The most likely cause for this error is that dpkg tried to configure emacsen-common first (as dictated by the declared dependencies), but failed for some reason. Rodrigo Tadeu Claro <[EMAIL PROTECTED]> wrote: > I am sending patch for its package. I wait that this decides the BUG and > that this package is in sarge. The archive control was modified by > understanding that in this case pre-depends cannot be applied. I made > the installation and removal of the package and got success. Success only because you accidently had emacsen-common installed. It is used in a2ps' postinst script, and therefore it must be installed and set up before this postinst script is run. Therefore a2ps needs a "Depends: emacsen-common". But in fact there is no need for a Pre-depends - it doesn't even have a preinst file, and I have no idea how it could "hamper the ability of the system to continue with any upgrade", as Policy says. Regards, Frank -- Frank Küster Inst. f. Biochemie der Univ. Zürich Debian Developer