Hi,

Am Montag, den 11.02.2008, 17:15 +0100 schrieb Rubén Porras:
> 2008/2/11, Joachim Breitner <[EMAIL PROTECTED]>:
> > Hi,
> >
> > sorry for the bug, it was a little mistake with the dependencies. Fixed
> > version is being uploaded.
> >
> > If you have trouble removing the package, try to remove
> > the /lib/dpkg/info/libghc6-xmonad-contrib-dev.postrm file before trying
> > to remove it, it might help.
> >
> 
> I think they are still wrong, there is no xmonad-contrib-0.6 provided
> by the xmonad-contrib source package.

Note that the referred xmonad-contrib-0.6 is not a Debian package but a
haskell (ghc-pkg) package...

> The output now is:

Yes, thats the kind of problem I expected:

> (Reading database ... 189883 files and directories currently installed.)
> Preparing to replace libghc6-xmonad-contrib-dev 0.6-1 (using
> .../libghc6-xmonad-contrib-dev_0.6-2_i386.deb) ...
> ghc-pkg: cannot find package xmonad-contrib-0.6
> dpkg: warning - old pre-removal script returned error exit status 1

You have the old package partially installed. When you remove it, the
postrm script is run, which calls ghc-pkg, which tries to unregister the
xmonad-contrib-0.6 _haskell_ package from your system. This does not
exist, so ghc-pkg flags an error, dpkg aborts and the broken package is
not removed.

> dpkg - trying script from the new package instead ...
> ghc-pkg: cannot find package xmonad-contrib-0.6
> dpkg: error processing /tmp/libghc6-xmonad-contrib-dev_0.6-2_i386.deb
> (--install):
>  subprocess new pre-removal script returned error exit status 1

No dpkg tries the postrm script in the new package, but this fails as
well..

> Reading package info from stdin ... done.
> ghc-pkg: dependency X11-1.4.1 doesn't exist (use --force to override)
> dpkg: error while cleaning up:
>  subprocess post-installation script returned error exit status 1

dpkg tries to clean up the mess by running the postinst script from the
package that it can not remove, to at least have it installed properly,
but this fails because you don’t have libghc6-x11-dev in the required
version.

> Errors were encountered while processing:
>  /tmp/libghc6-xmonad-contrib-dev_0.6-2_i386.deb

I assume you were installing the new package directly with dpkg -i?
Because with other tools, you would have been warned that the new
package does correctly depend on libghc6-x11-dev (>= 1.4.1). 

This version is not yet officially uploaded, but I’m providing a private
build on
http://people.debian.org/~nomeata/xmonad/libghc6-x11-dev_1.4.1-0.nomeata3_i386.deb

Please install this package and then try to install the new
libghc6-xmonad-contrib-dev package. This way, you should get rid of the
installations errors (I hope).

Sorry for the inconvenience, and thanks for testing the packages,

Joachim

> 
-- 
Joachim "nomeata" Breitner
Debian Developer
  [EMAIL PROTECTED] | ICQ# 74513189 | GPG-Keyid: 4743206C
  JID: [EMAIL PROTECTED] | http://people.debian.org/~nomeata

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to