Re: GHC 6.10.1 uploaded to experimental
- To: Debian Haskell <debian-haskell@lists.debian.org>
- Subject: Re: GHC 6.10.1 uploaded to experimental
- From: Marco Túlio Gontijo e Silva <marcot@holoscopio.com>
- Date: Tue, 03 Feb 2009 17:58:59 -0200
- Message-id: <[🔎] 1233691139.18688.56.camel@quindinho.domain.invalid>
- In-reply-to: <1233402002.5539.12.camel@localhost>
- References: <49800172.4080707@therning.org> <1233147689.4627.5.camel@localhost> <e040b520901280820n586647f5m3ae0bc3305bf05d6@mail.gmail.com> <498376EF.8020609@therning.org> <1233402002.5539.12.camel@localhost>
Em Sáb, 2009-01-31 às 12:40 +0100, Joachim Breitner escreveu:
> /me is waiting for amd64 packages as well...
>
> Someone could set up a private repository in the meanwhile to allow
> those on amd64 prepare new versions already – any volunteers?
I've build it, and it's available at:
http://debian.holoscopio.com/ghc6 .
I've got some problems with trying to remove some old packages after
installing ghc6-6.10.
(Reading database ... 142593 files and directories currently installed.)
Removing libghc6-svgcairo-dev ...
Removing libghc6-cairo-dev ...
ghc-pkg: cannot find package cairo-0.9.13
dpkg: error processing libghc6-cairo-dev (--remove):
subprocess pre-removal script returned error exit status 1
Reading package info from
"/usr/lib/haskell-packages/ghc6/lib/cairo-0.9.13/cairo.package.conf" ...
done.
ghc-pkg: Unversioned dependencies found: base
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 1
Removing libghc6-glib-dev ...
ghc-pkg: cannot find package glib-0.9.13
dpkg: error processing libghc6-glib-dev (--remove):
subprocess pre-removal script returned error exit status 1
Removing libghc6-mtl-dev ...
ghc-pkg: cannot find package mtl-1.1.0.0
dpkg: error processing libghc6-mtl-dev (--remove):
subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
libghc6-cairo-dev
libghc6-glib-dev
libghc6-mtl-dev
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Press return to continue.
I think the problem here was that the package was installed with dpkg
-i, and the other were not removed before ghc6. A solution to this
would be not to exit with an error from prerm when this kind of thing
happens, maybe using || true in the call to ghc-pkg.
What do you think?
Greetings.
--
marcot
http://marcot.iaaeee.org/
Reply to: