[Hackage] #829: Happstack overrides MissingH

#829: Happstack overrides MissingH ----------------------------+----------------------------------------------- Reporter: mcandre | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: normal | Keywords: Difficulty: unknown | Ghcversion: 6.12.3 Platform: Mac OS | ----------------------------+----------------------------------------------- I just updated to the new Haskell Platform 2011.2.0.0-i386. Someone needs to update Trac to let us input these version numbers into the relevant fields: The GHC version is 7.0.2, NOT 6.12.3. {{{ $ ghc --version The Glorious Glasgow Haskell Compilation System, version 7.0.2 $ cabal --version cabal-install version 0.10.2 using version 1.10.1.0 of the Cabal library }}} I've got a [https://github.com/mcandre/doeshappstackwork web app] that needs Happstack for the server API and MissingH for the string API. But I can't install the packages at the same time. {{{ $ cabal install missingh $ runhaskell doeshappstackwork.hs doeshappstackwork.hs:8:8: Could not find module `Happstack.Server' $ cabal install happstack-server $ runhaskell doeshappstackwork.hs doeshappstackwork.hs:14:8: Could not find module `Data.String.Utils' $ cabal install missingh $ runhaskell doeshappstackwork.hs doeshappstackwork.hs:8:8: Could not find module `Happstack.Server' ... And so on }}} This is madness! -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/829 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#829: Happstack overrides MissingH ----------------------------+----------------------------------------------- Reporter: mcandre | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: normal | Resolution: duplicate Keywords: | Difficulty: unknown Ghcversion: 6.12.3 | Platform: Mac OS ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => duplicate Comment: If you need two packages, install them simultaneously: {{{ cabal install [--dry-run] happstack-server missingh }}} This guarantees that they get installed with consistent dependencies. You're hitting an instance of ticket #371, that cabal can break existing installed packages. What we should do there, is warn that installing something would break other packages and let the user either force that or change their request. (Or the long term solution is a persistent package store) -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/829#comment:1 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#829: Happstack overrides MissingH ----------------------------+----------------------------------------------- Reporter: mcandre | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: normal | Resolution: duplicate Keywords: | Difficulty: unknown Ghcversion: 6.12.3 | Platform: Mac OS ----------------------------+----------------------------------------------- Comment(by mcandre): I can confirm duncan's solution works: {{{ cabal install happstack-server missingh }}} -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/829#comment:2 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects

#829: Happstack overrides MissingH ----------------------------+----------------------------------------------- Reporter: mcandre | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: 1.8.0.6 Severity: normal | Resolution: duplicate Keywords: | Difficulty: unknown Ghcversion: 6.12.3 | Platform: Mac OS ----------------------------+----------------------------------------------- Comment(by elga): * [http://www.releve-identite-operateur.fr/numbero-de-virgin-mobile.html virgin mobile] -- Ticket URL: http://hackage.haskell.org/trac/hackage/ticket/829#comment:3 Hackage http://haskell.org/cabal/ Hackage: Cabal and related projects
participants (1)
-
Hackage