
Hi all, I tried to install the Network.CGI module by inputting: cabal install CGI into the terminal but got this error: Resolving dependencies... Configuring cgi-3001.1.8.2... Preprocessing library cgi-3001.1.8.2... Building cgi-3001.1.8.2... <command line>: cannot satisfy -package-id network-2.3.0.2-24fdc6b92867c7236e81708f93cae7d0 (use -v for more information) cabal: Error: some packages failed to install: cgi-3001.1.8.2 failed during the building phase. The exception was: ExitFailure 1 I'm almost positive I have the latest version of cabal, and have tried many things, but can't seem to see what I'm leaving out. Thanks, William

On Sat, Jul 16, 2011 at 11:29 PM, william murphy
Hi all,
I tried to install the Network.CGI module by inputting:
cabal install CGI
into the terminal but got this error:
Resolving dependencies... Configuring cgi-3001.1.8.2... Preprocessing library cgi-3001.1.8.2... Building cgi-3001.1.8.2... <command line>: cannot satisfy -package-id network-2.3.0.2-24fdc6b92867c7236e81708f93cae7d0 (use -v for more information) cabal: Error: some packages failed to install: cgi-3001.1.8.2 failed during the building phase. The exception was: ExitFailure 1
Does the command "ghc-pkg check" display anything? Which version of GHC are you using?
I'm almost positive I have the latest version of cabal, and have tried many things, but can't seem to see what I'm leaving out.
Thanks,
William
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe

On 11-07-17 12:29 AM, william murphy wrote:
<command line>: cannot satisfy -package-id network-2.3.0.2-24fdc6b92867c7236e81708f93cae7d0
Look at the output of "ghc -v" and be very horrified. The problem is not lacking packages or being outdated. The problem is possessing too many packages and upgrading too much. The solution is nuking. See my http://www.vex.net/~trebla/haskell/sicp.xhtml for complete information and more ways to be horrified.

On Mon, Jul 18, 2011 at 11:45 AM, Albert Y. C. Lai
On 11-07-17 12:29 AM, william murphy wrote:
<command line>: cannot satisfy -package-id network-2.3.0.2-24fdc6b92867c7236e81708f93cae7d0
Look at the output of "ghc -v" and be very horrified.
The problem is not lacking packages or being outdated. The problem is possessing too many packages and upgrading too much. The solution is nuking.
Once you've reinstalled, or "nuked", you can use cabal-dev to never run into this problem again: http://www.reddit.com/r/haskell/comments/f3ykj/psa_use_cabaldev_to_solve_dep... Jason
participants (4)
-
Albert Y. C. Lai
-
Antoine Latter
-
Jason Dagit
-
william murphy