Hi, Am Montag, den 22.02.2010, 10:42 +0200 schrieb Antti-Juhani Kaijanaho: > Package: ghc6 > Version: 6.12.1-10 > Severity: important > > I ran a normal sid->sid upgrade, and it got aborted thus, after all packages > had been unpacked but before any of them were configured: > > Processing triggers for ghc6 ... > There are problems in package glib-0.10.1: > dependency "base-4.2.0.0-f87cc184652024ad761422b6a80d0306" doesn't exist > > The following packages are broken, either because they have a problem > listed above, or because they depend on a broken package. > glib-0.10.1 > dpkg: subprocess installed post-installation script returned error exit > status 1 > E: Sub-process /usr/bin/dpkg returned an error code (2) > > Running dpkg --configure --all fixed the situation.
hmm, I forgot to consider that the return value of the trigger can cause dpkg problems. > Maybe the trigger should not run ghc-pkg check when ghc6 is in the > unconfigured > state? I’m not sure that this is the cause; could it be possible that you had a broken libghc6-glib-dev package which caused ghc-pkg check to fail and the upgrade to abort. When you retried with "dpkg --configure --all", the fixed package is installed and the trigger works? In any case, a simple || true should do the case. After all, the trigger is not that critical for the working of the system, and the call to "ghc-pkg check" is merely informational. Greetings, Joachim -- Joachim "nomeata" Breitner Debian Developer [email protected] | ICQ# 74513189 | GPG-Keyid: 4743206C JID: [email protected] | http://people.debian.org/~nomeata
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

