
#812: setup.exe: internal error: unexpected package db stack: [UserPackageDB] ---------------------------------+------------------------------------------ Reporter: fryguybob | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: cabal-install tool | Version: 1.10.0.0 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: Platform: Windows | ---------------------------------+------------------------------------------ When trying to install Cairo with the new Haskell Platform (2011.2.0.0). I get the error: {{{
cabal install cairo --ghc-option=-DCABAL_VERSION_MINOR=10 ... Registering cairo-0.12.0... setup.exe: internal error: unexpected package db stack: [UserPackageDB] ... }}}
The CABAL_VERSION_MINOR flag is suggested if you try without it but doesn't make a difference in the outcome. I'm on Windows 7 64-bit. {{{
cabal --version cabal-install version 0.10.2 using version 1.10.1.0 of the Cabal library ghc --version The Glorious Glasgow Haskell Compilation System, version 7.0.2 }}}
Attached is the -v2 log. -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/812 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects