[Haskell] ANN: cabal-install-0.14.0
Brent Yorgey
byorgey at seas.upenn.edu
Tue Apr 17 19:32:35 CEST 2012
> selecting cabal-install-0.10.2 (source) and discarding Cabal-1.1.6, ...
Notice it's trying to reinstall the version of cabal-install that you
already have.
After doing 'cabal update', I get
[byorgey at LVN513-9:~]$ cabal list cabal-install
* cabal-install
Synopsis: The command-line interface for Cabal and Hackage.
Default available version: 0.10.2
Installed versions: [ Unknown ]
Homepage: http://www.haskell.org/cabal/
License: BSD3
Notice it lists "Default available version: 0.10.2". Maybe this
version of cabal-install is listed as "preferred" somehow? I.e. it
seems you have to specify the new version of cabal-install explicitly.
cabal install cabal-install-0.14.0 works fine for me.
-Brent
On Tue, Apr 17, 2012 at 10:13:31AM -0700, Johan Tibell wrote:
> First, congratulations on the release.
>
> Unfortunately I ran into a problem that's not obvious to me:
>
> $ cabal install -v3 Cabal cabal-install
> searching for ghc in path.
> found ghc at /usr/bin/ghc
> ("/usr/bin/ghc",["--numeric-version"])
> /usr/bin/ghc is version 7.4.1
> looking for tool "ghc-pkg" near compiler in /usr/bin
> found ghc-pkg in /usr/bin/ghc-pkg
> ("/usr/bin/ghc-pkg",["--version"])
> /usr/bin/ghc-pkg is version 7.4.1
> ("/usr/bin/ghc",["--supported-languages"])
> ("/usr/bin/ghc",["--info"])
> Reading installed packages...
> ("/usr/bin/ghc-pkg",["dump","--global","-v0"])
> ("/usr/bin/ghc-pkg",["dump","--user","-v0"])
> ("/usr/bin/ghc",["--print-libdir"])
> Reading available packages...
> Resolving dependencies...
> applying constraint base 'installed' which excludes base-3.0.3.1,
> base-3.0.3.2, base-4.0.0.0, base-4.1.0.0, base-4.2.0.0, base-4.2.0.1,
> base-4.2.0.2, base-4.3.0.0, base-4.3.1.0, base-4.4.0.0, base-4.4.1.0 and
> base-4.5.0.0
> applying constraint ghc-prim 'installed'
> excluding syb-0.1.0.2 (it cannot be configured)
> excluding syb-0.1.0.3 (it cannot be configured)
> excluding syb-0.2 (it cannot be configured)
> excluding syb-0.2.1 (it cannot be configured)
> excluding syb-0.2.2 (it cannot be configured)
> excluding syb-0.3 (it cannot be configured)
> excluding syb-0.3.1 (it cannot be configured)
> excluding syb-0.3.2 (it cannot be configured)
> excluding syb-0.3.3 (it cannot be configured)
> excluding syb-0.3.4 (it cannot be configured)
> excluding syb-0.3.5 (it cannot be configured)
> excluding unix-2.4.0.0 (it cannot be configured)
> excluding unix-2.4.0.1 (it cannot be configured)
> excluding unix-2.4.0.2 (it cannot be configured)
> excluding unix-2.4.1.0 (it cannot be configured)
> excluding unix-2.4.2.0 (it cannot be configured)
> excluding unix-2.5.0.0 (it cannot be configured)
> excluding directory-1.0.1.0 (it cannot be configured)
> excluding directory-1.0.1.1 (it cannot be configured)
> excluding directory-1.0.1.2 (it cannot be configured)
> excluding directory-1.1.0.0 (it cannot be configured)
> excluding directory-1.1.0.1 (it cannot be configured)
> excluding QuickCheck-1.2.0.0 (it cannot be configured)
> excluding text-0.11.1.0 (it cannot be configured)
> excluding text-0.11.1.1 (it cannot be configured)
> excluding text-0.11.1.2 (it cannot be configured)
> excluding text-0.11.1.3 (it cannot be configured)
> excluding text-0.11.1.5 (it cannot be configured)
> excluding text-0.11.1.6 (it cannot be configured)
> excluding text-0.11.1.7 (it cannot be configured)
> excluding text-0.11.1.8 (it cannot be configured)
> excluding text-0.11.1.9 (it cannot be configured)
> excluding Cabal-1.4.0.0 (it cannot be configured)
> excluding Cabal-1.4.0.1 (it cannot be configured)
> excluding Cabal-1.4.0.2 (it cannot be configured)
> excluding network-2.2.1.8 (it cannot be configured)
> excluding network-2.2.1.9 (it cannot be configured)
> excluding network-2.2.1.10 (it cannot be configured)
> excluding network-2.2.3 (it cannot be configured)
> excluding network-2.2.3.1 (it cannot be configured)
> excluding network-2.3 (it cannot be configured)
> excluding network-2.3.0.1 (it cannot be configured)
> excluding network-2.3.0.2 (it cannot be configured)
> excluding network-2.3.0.3 (it cannot be configured)
> excluding network-2.3.0.4 (it cannot be configured)
> excluding network-2.3.0.5 (it cannot be configured)
> excluding network-2.3.0.6 (it cannot be configured)
> excluding network-2.3.0.7 (it cannot be configured)
> excluding HTTP-3001.1.3 (it cannot be configured)
> excluding HTTP-3001.1.4 (it cannot be configured)
> excluding HTTP-3001.1.5 (it cannot be configured)
> excluding HTTP-4000.0.8 (it cannot be configured)
> excluding HTTP-4000.0.9 (it cannot be configured)
> excluding HTTP-4000.0.10 (it cannot be configured)
> excluding HTTP-4000.1.0 (it cannot be configured)
> excluding HTTP-4000.1.1 (it cannot be configured)
> excluding HTTP-4000.1.2 (it cannot be configured)
> excluding HTTP-4000.2.0 (it cannot be configured)
> excluding HTTP-4000.2.1 (it cannot be configured)
> excluding split-0.1.3 (it cannot be configured)
> excluding split-0.1.4 (it cannot be configured)
> excluding split-0.1.4.1 (it cannot be configured)
> excluding zlib-0.2 (it cannot be configured)
> excluding cabal-install-0.5.0 (it cannot be configured)
> excluding cabal-install-0.5.1 (it cannot be configured)
> excluding cabal-install-0.5.2 (it cannot be configured)
> excluding cabal-install-0.6.0 (it cannot be configured)
> excluding cabal-install-0.6.2 (it cannot be configured)
> excluding cabal-install-0.6.4 (it cannot be configured)
> excluding special-functors-1.0 (it cannot be configured)
> excluding special-functors-1.0.0.1 (it cannot be configured)
> selecting cabal-install-0.10.2 (source) and discarding Cabal-1.1.6, 1.2.1,
> 1.2.2.0, 1.2.3.0, 1.2.4.0, 1.6.0.1, 1.6.0.2, 1.6.0.3, 1.8.0.2, 1.8.0.4,
> 1.8.0.6, 1.10.0.0, 1.12.0, 1.14.0, HTTP-3000.0.0, 3001.0.0, 3001.0.1,
> 3001.0.2, 3001.0.3, 3001.0.4, 4000.0.0, 4000.0.1, array-0.4.0.0,
> cabal-install-0.4.0, 0.8.0, 0.8.2, 0.10.0, 0.14.0, filepath-1.3.0.0,
> old-time-1.1.0.0, pretty-1.1.0.0, 1.1.1.0, process-1.1.0.0, 1.1.0.1, time-1.0,
> 1.3, 1.4, 1.4.0.1, unix-2.5.1.0 and zlib-0.3
> selecting base-4.5.0.0 (installed)
> selecting ghc-prim-0.2.0.0 (installed)
> selecting integer-gmp-0.4.0.0 (installed)
> selecting rts-1.0 (installed)
> selecting zlib-0.5.3.3 (installed or source) and discarding zlib-0.4, 0.4.0.1,
> 0.4.0.2, 0.4.0.3, 0.4.0.4, 0.5.0.0, 0.5.2.0, 0.5.3.1 and 0.5.3.2
> selecting HTTP-4000.2.2 (installed or source) and discarding HTTP-4000.0.2,
> 4000.0.3, 4000.0.4, 4000.0.5, 4000.0.6, 4000.0.7, 4000.2.3, mtl-1.0, 1.1.0.0,
> 1.1.0.1, 1.1.0.2, 1.1.1.0, 1.1.1.1 and 2.1
> selecting network-2.3.0.11 (installed or source) and discarding network-2.0,
> 2.1.0.0, 2.2.0.0, 2.2.0.1, 2.2.1, 2.2.1.1, 2.2.1.2, 2.2.1.3, 2.2.1.4, 2.2.1.5,
> 2.2.1.6, 2.2.1.7, 2.3.0.8, 2.3.0.9 and 2.3.0.10
> selecting parsec-3.1.2 (installed or source) and discarding parsec-2.0,
> 2.1.0.0, 2.1.0.1, 3.0.0, 3.0.1, 3.1.0, 3.1.1 and text-0.1
> selecting Cabal-1.10.2.0 (source) and discarding Cabal-1.10.1.0
> selecting text-0.11.1.13 (installed or source) and discarding deepseq-1.0.0.0,
> text-0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.7.0.1, 0.7.1.0, 0.7.2.1, 0.8.0.0,
> 0.8.1.0, 0.9.0.0, 0.9.0.1, 0.9.1.0, 0.10.0.0, 0.10.0.1, 0.10.0.2, 0.11.0.0,
> 0.11.0.1, 0.11.0.2, 0.11.0.3, 0.11.0.4, 0.11.0.5, 0.11.0.6, 0.11.0.7,
> 0.11.0.8, 0.11.1.10, 0.11.1.11, 0.11.1.12 and 0.11.2.0
> selecting mtl-2.0.1.0 (installed or source) and discarding mtl-2.0.0.0,
> transformers-0.0.0.0, 0.0.1.0, 0.1.0.0, 0.1.0.1, 0.1.1.0, 0.1.3.0, 0.1.4.0 and
> 0.3.0.0
> selecting transformers-0.2.2.0 (installed or source) and discarding
> transformers-0.2.0.0 and 0.2.1.0
> selecting random-1.0.1.1 (installed or source) and discarding random-1.0.0.0,
> 1.0.0.1, 1.0.0.2, 1.0.0.3 and 1.0.1.0
> selecting time-1.2.0.5 (source) and discarding time-1.1.2.0, 1.1.2.1, 1.1.2.2,
> 1.1.2.3, 1.1.2.4, 1.1.3, 1.1.4, 1.2, 1.2.0.1, 1.2.0.2, 1.2.0.3 and 1.2.0.4
> selecting process-1.0.1.5 (source) and discarding filepath-1.0,
> process-1.0.0.0, 1.0.1.1, 1.0.1.2, 1.0.1.3 and 1.0.1.4
> selecting pretty-1.0.1.2 (source) and discarding pretty-1.0.0.0, 1.0.1.0 and
> 1.0.1.1
> selecting directory-1.1.0.2 (installed or source) and discarding
> directory-1.0.0.0 and 1.0.0.3
> selecting unix-2.3.2.0 (source) and discarding unix-2.0, 2.2.0.0, 2.3.0.0 and
> 2.3.1.0
> selecting bytestring-0.9.2.1 (installed or source) and discarding
> bytestring-0.9, 0.9.0.1, 0.9.0.2, 0.9.0.3, 0.9.0.4, 0.9.1.0, 0.9.1.1, 0.9.1.2,
> 0.9.1.3, 0.9.1.4, 0.9.1.5, 0.9.1.6, 0.9.1.7, 0.9.1.8, 0.9.1.9, 0.9.1.10 and
> 0.9.2.0
> selecting old-time-1.0.0.7 (source) and discarding old-time-1.0.0.0, 1.0.0.2,
> 1.0.0.3, 1.0.0.4, 1.0.0.5 and 1.0.0.6
> selecting old-locale-1.0.0.4 (installed or source) and discarding
> old-locale-1.0.0.0, 1.0.0.1, 1.0.0.2 and 1.0.0.3
> selecting filepath-1.2.0.1 (installed or source) and discarding
> filepath-1.1.0.0, 1.1.0.1, 1.1.0.2, 1.1.0.3, 1.1.0.4 and 1.2.0.0
> selecting containers-0.4.2.1 (installed or source) and discarding
> containers-0.1.0.0, 0.1.0.1, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.4.0.0, 0.4.1.0,
> 0.4.2.0, deepseq-1.1.0.0, 1.1.0.1 and 1.1.0.2
> selecting deepseq-1.3.0.0 (installed or source) and discarding deepseq-1.2.0.0
> and 1.2.0.1
> selecting array-0.3.0.3 (source) and discarding array-0.1.0.0, 0.2.0.0,
> 0.3.0.0, 0.3.0.1 and 0.3.0.2
> In order, the following would be installed:
> array-0.3.0.3 (new version)
> deepseq-1.3.0.0 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3
> containers-0.4.2.1 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3
> old-time-1.0.0.7 (new version)
> pretty-1.0.1.2 (new version)
> text-0.11.1.13 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3
> parsec-3.1.2 (reinstall)
> time-1.2.0.5 (new version)
> random-1.0.1.1 (reinstall) changes: time-1.4 -> 1.2.0.5
> unix-2.3.2.0 (new version)
> directory-1.1.0.2 (reinstall) changes: filepath-1.3.0.0 -> 1.2.0.1,
> old-time-1.1.0.0 -> 1.0.0.7, unix-2.5.1.0 -> 2.3.2.0
> network-2.3.0.11 (reinstall) changes: unix-2.5.1.0 -> 2.3.2.0
> HTTP-4000.2.2 (reinstall) changes: array-0.4.0.0 -> 0.3.0.3, old-time-1.1.0.0
> -> 1.0.0.7
> process-1.0.1.5 (new version)
> Cabal-1.10.2.0 (new version)
> cabal-install-0.10.2 -bytestring-in-base (new package)
> cabal: The install plan contains reinstalls which can break your GHC
> installation. You can try --solver=modular for the new modular solver that
> chooses such reinstalls less often and also offers the --avoid-reinstalls
> option. You can also ghc-pkg unregister the affected packages and run ghc-pkg
> check to see the effect on reverse dependencies. If you know what you are
> doing you can use the --force-reinstalls option to override this reinstall
> check.
>
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 7.4.1
>
> $ ghc-pkg list
> WARNING: there are broken packages. Run 'ghc-pkg check' for more details.
> /Library/Frameworks/GHC.framework/Versions/7.4.1-i386/usr/lib/ghc-7.4.1/package.conf.d
> Cabal-1.14.0
> array-0.4.0.0
> base-4.5.0.0
> bin-package-db-0.0.0.0
> binary-0.5.1.0
> bytestring-0.9.2.1
> containers-0.4.2.1
> deepseq-1.3.0.0
> directory-1.1.0.2
> extensible-exceptions-0.1.1.4
> filepath-1.3.0.0
> ghc-7.4.1
> ghc-prim-0.2.0.0
> haskell2010-1.1.0.1
> haskell98-2.0.0.1
> hoopl-3.8.7.3
> hpc-0.5.1.1
> integer-gmp-0.4.0.0
> old-locale-1.0.0.4
> old-time-1.1.0.0
> pretty-1.1.1.0
> process-1.1.0.1
> rts-1.0
> template-haskell-2.7.0.0
> time-1.4
> unix-2.5.1.0
> /Users/tibbe/.ghc/i386-darwin-7.4.1/package.conf.d
> ConfigFile-1.1.1
> HTTP-4000.2.2
> HUnit-1.2.4.2
> MissingH-1.1.1.0
> MonadCatchIO-transformers-0.2.2.3
> PSQueue-1.1
> QuickCheck-2.4.2
> aeson-0.6.0.0
> ansi-terminal-0.5.5
> ansi-wl-pprint-0.6.4
> attoparsec-0.9.1.2
> attoparsec-0.10.1.1
> attoparsec-0.10.2.0
> attoparsec-enumerator-0.3
> base-unicode-symbols-0.2.2.3
> base16-bytestring-0.1.1.4
> base64-bytestring-0.1.1.1
> blaze-builder-0.3.1.0
> blaze-builder-enumerator-0.2.0.3
> bytestring-lexing-0.2.1
> bytestring-mmap-0.2.2
> bytestring-nums-0.3.5
> cairo-0.12.3
> case-insensitive-0.4.0.1
> cmdargs-0.9.3
> cmdlib-0.3.5
> cpphs-1.13.3
> criterion-0.6.0.1
> darcs-2.9.1
> dataenc-0.14.0.3
> datetime-0.2.1
> directory-1.1.0.2
> directory-tree-0.10.0
> dlist-0.5
> enumerator-0.4.18
> erf-2.0.0.0
> filepath-1.2.0.1
> ghc-events-0.4.0.0
> ghc-paths-0.1.0.8
> ghc-syb-utils-0.2.1.0
> gio-0.12.3
> glib-0.12.3
> gtk-0.12.3
> hashable-1.1.2.3
> hashed-storage-0.5.9
> hashmap-1.3.0.1
> haskeline-0.6.4.6
> haskell-src-exts-1.11.1
> hastache-0.3.3
> hlint-1.8.24
> hostname-1.0
> hscolour-1.19
> hslogger-1.1.5
> html-1.0.1.2
> ieee754-0.7.3
> io-choice-0.0.1
> lifted-base-0.1.0.3
> math-functions-0.1.1.1
> mmap-0.5.7
> monad-control-0.3.1
> monad-par-0.1.0.3
> mtl-2.0.1.0
> murmur-hash-0.1.0.5
> mwc-random-0.10.0.1
> mwc-random-0.11.0.0
> network-2.3.0.11
> pango-0.12.3
> parsec-3.1.2
> primitive-0.4.1
> random-1.0.1.1
> regex-base-0.93.2
> regex-compat-0.95.1
> regex-posix-0.95.1
> shake-0.2.8
> snap-core-0.7.0.1
> snap-core-0.8.0.1
> snap-server-0.7.0.1
> snap-server-0.8.0.1
> split-0.1.4.2
> statistics-0.10.1.0
> stringsearch-0.3.6.3
> syb-0.3.6
> tar-0.3.2.0
> terminfo-0.3.2.3
> test-framework-0.5
> test-framework-hunit-0.2.7
> test-framework-quickcheck2-0.2.12
> text-0.11.1.13
> transformers-0.2.2.0
> transformers-base-0.4.1
> uniplate-1.6.6
> unix-compat-0.3.0.1
> unordered-containers-0.1.4.6
> unordered-containers-0.2.0.0
> utf8-string-0.3.7
> vector-0.9.1
> vector-algorithms-0.5.4
> xml-1.3.12
> zlib-0.5.3.3
> zlib-bindings-0.0.3.2
> zlib-enum-0.2.1
>
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
More information about the Haskell
mailing list