Skip to content

Instantly share code, notes, and snippets.

@catamorphism
Created March 4, 2014 01:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save catamorphism/9338732 to your computer and use it in GitHub Desktop.
Save catamorphism/9338732 to your computer and use it in GitHub Desktop.
$ ghc-pkg list containers
WARNING: there are broken packages. Run 'ghc-pkg check' for more details.
/usr/local/Cellar/ghc/7.6.3/lib/ghc-7.6.3/package.conf.d:
{containers-0.5.0.0}
/Users/tchevalier/.ghc/x86_64-darwin-7.6.3/package.conf.d:
containers-0.5.4.0
$ sudo ghc-pkg unregister --package-db=/usr/local/Cellar/ghc/7.6.3/lib/ghc-7.6.3/package.conf.d containers
ghc-pkg: unregistering containers would break the following packages: query-language-0.1 binary-0.7.1.0 aeson-0.7.0.1 attoparsec-0.11.1.0 template-haskell-2.8.0.0 QuickCheck-2.6 cereal-0.4.0.1 (use --force to override)
$ sudo ghc-pkg unregister --package-db=/usr/local/Cellar/ghc/7.6.3/lib/ghc-7.6.3/package.conf.d containers --force
unregistering containers would break the following packages: query-language-0.1 binary-0.7.1.0 aeson-0.7.0.1 attoparsec-0.11.1.0 template-haskell-2.8.0.0 QuickCheck-2.6 cereal-0.4.0.1 (ignoring)
$ ghc-pkg list containers
WARNING: there are broken packages. Run 'ghc-pkg check' for more details.
/usr/local/Cellar/ghc/7.6.3/lib/ghc-7.6.3/package.conf.d:
{containers-0.5.0.0}
/Users/tchevalier/.ghc/x86_64-darwin-7.6.3/package.conf.d:
$ sudo ghc-pkg unregister --package-db=/usr/local/Cellar/ghc/7.6.3/lib/ghc-7.6.3/package.conf.d containers --force
$ ghc-pkg list containers
WARNING: there are broken packages. Run 'ghc-pkg check' for more details.
/usr/local/Cellar/ghc/7.6.3/lib/ghc-7.6.3/package.conf.d:
/Users/tchevalier/.ghc/x86_64-darwin-7.6.3/package.conf.d:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment