<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12px">parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1</span></blockquote><div><br></div><div>mtl is almost certainly installed globally, and installing a private copy is likely to cause all sorts of problems (as indeed cabal told you).</div><div><br></div><div>Since I see a bunch of yesod dependencies, I suspect you need to throw out your global Platform installation because yesod does not bother with Platform compatibility and in fact breaks it completely. Get a minimal ghc and install Stackage, because that is the only install that yesod will tolerate. (And get used to a world where your choices are either to let yesod determine what you're allowed to install, or use a supposed standard that certain parts of the Haskell world believe they have a mission to destroy.)</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 25, 2015 at 6:01 PM, Peng Yu <span dir="ltr"><<a href="mailto:pengyu.ut@gmail.com" target="_blank">pengyu.ut@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I clean up all Haskell related things in my home directory.<br>
<br>
rm -rf ~/.cabal<br>
rm -rf ~/Library/Haskell<br>
rm -rf ~.ghc/<br>
cabal update<br>
cabal install cabal-install<br>
<br>
<br>
Then I try to install git-annex again, which shows me the following.<br>
What I should do next?<br>
<span class=""><br>
~$ cabal install git-annex<br>
Resolving dependencies...<br>
</span>In order, the following would be installed:<br>
HUnit-1.2.5.2 (new package)<br>
SafeSemaphore-0.10.1 (new package)<br>
ansi-terminal-0.6.2.1 (new package)<br>
ansi-wl-pprint-0.6.7.2 (new package)<br>
appar-0.1.4 (new package)<br>
async-2.0.2 (new package)<br>
auto-update-0.1.2.1 (new package)<br>
base16-bytestring-0.1.1.6 (new package)<br>
base64-bytestring-1.0.0.1 (new package)<br>
blaze-builder-0.4.0.1 (new package)<br>
blaze-markup-0.7.0.2 (new package)<br>
blaze-html-0.8.0.2 (new package)<br>
bloomfilter-2.0.0.0 (new package)<br>
byteable-0.1.1 (new package)<br>
byteorder-1.0.4 (new package)<br>
bytestring-builder-0.10.6.0.0 (new package)<br>
cereal-0.4.1.1 (new package)<br>
clock-0.4.5.0 (new package)<br>
cryptohash-0.11.6 (new package)<br>
data-default-class-0.0.1 (new package)<br>
data-default-instances-base-0.0.1 (new package)<br>
data-default-instances-containers-0.0.1 (new package)<br>
data-default-instances-old-locale-0.0.1 (new package)<br>
dataenc-0.14.0.7 (new package)<br>
dlist-0.7.1.1 (new package)<br>
data-default-instances-dlist-0.0.1 (new package)<br>
data-default-0.5.3 (new package)<br>
cookie-0.4.1.4 (new package)<br>
easy-file-0.2.0 (new package)<br>
edit-distance-0.2.1.2 (new package)<br>
entropy-0.3.6 (new package)<br>
fast-logger-2.3.1 (new package)<br>
file-embed-0.0.8.2 (new package)<br>
gnuidn-0.2.1 (new package)<br>
hashable-1.2.3.2 (new package)<br>
case-insensitive-1.2.0.4 (new package)<br>
hourglass-0.2.9 (new package)<br>
asn1-types-0.3.0 (new package)<br>
http-types-0.8.6 (new package)<br>
iproute-1.4.0 (new package)<br>
mime-mail-0.4.8.2 (new package)<br>
mime-types-0.1.0.6 (new package)<br>
monad-loops-0.4.2.1 (new package)<br>
nats-1 (new package)<br>
network-info-0.2.0.5 (new package)<br>
network-multicast-0.0.11 (new package)<br>
parallel-3.2.0.6 (new package)<br>
path-pieces-0.2.0 (new package)<br>
prelude-extras-0.4 (new package)<br>
reflection-1.5.1.2 (new package)<br>
safe-0.3.8 (new package)<br>
scientific-0.3.3.8 (new package)<br>
attoparsec-0.12.1.6 (new package)<br>
css-text-0.1.2.1 (new package)<br>
email-validate-2.1.1 (new package)<br>
http-date-0.0.6 (new package)<br>
securemem-0.1.7 (new package)<br>
crypto-cipher-types-0.0.9 (new package)<br>
cipher-aes-0.2.10 (new package)<br>
cipher-des-0.0.6 (new package)<br>
cipher-rc4-0.1.4 (new package)<br>
setenv-0.1.1.3 (new package)<br>
silently-1.2.4.1 (new package)<br>
simple-sendfile-0.2.18 (new package)<br>
socks-0.5.4 (new package)<br>
stm-chans-3.0.0.3 (new package)<br>
stringsearch-0.3.6.6 (new package)<br>
system-filepath-0.4.13.3 (new package)<br>
system-fileio-0.3.16.2 (new package)<br>
tagged-0.8.0.1 (new package)<br>
tagsoup-0.13.3 (new package)<br>
transformers-0.4.3.0 (new version)<br>
StateVar-1.1.0.0 (new package)<br>
crypto-api-0.13.2 (new package)<br>
gsasl-0.3.5 (new package)<br>
mmorph-1.0.4 (new package)<br>
monads-tf-0.1.0.2 (new package)<br>
gnutls-0.1.5 (new package)<br>
mtl-2.2.1 (new version)<br>
IfElse-0.85 (new package)<br>
asn1-encoding-0.9.0 (new package)<br>
asn1-parse-0.9.0 (new package)<br>
crypto-pubkey-types-0.4.3 (new package)<br>
hfsevents-0.1.5 (new package)<br>
hslogger-1.2.8 (new package)<br>
parsec-3.1.9 (reinstall) changes: mtl-2.1.3.1 -> 2.2.1<br>
bencode-0.5.0.1 (new package)<br>
json-0.9.1 (new package)<br>
network-uri-2.6.0.1 (reinstall)<br>
pem-0.2.2 (new package)<br>
primitive-0.6 (new package)<br>
regex-base-0.93.2 (new package)<br>
regex-posix-0.95.2 (new package)<br>
regex-compat-0.95.1 (new package)<br>
MissingH-1.3.0.1 (new package)<br>
regex-tdfa-1.2.0 (new package)<br>
skein-1.0.9.3 (new package)<br>
streaming-commons-0.1.12 (new package)<br>
torrent-10000.0.0 (new package)<br>
transformers-compat-0.4.0.4 (new package)<br>
MonadRandom-0.3.0.2 (new package)<br>
distributive-0.4.4 (new package)<br>
exceptions-0.8.0.2 (new package)<br>
optparse-applicative-0.11.0.2 (new package)<br>
transformers-base-0.4.4 (new package)<br>
monad-control-1.0.0.4 (new package)<br>
lifted-base-0.2.3.6 (new package)<br>
enclosed-exceptions-1.0.1.1 (new package)<br>
resourcet-1.1.4.1 (new package)<br>
unix-compat-0.4.1.4 (new package)<br>
unix-time-0.3.5 (new package)<br>
unordered-containers-0.2.5.1 (new package)<br>
semigroups-0.16.2.2 (new package)<br>
utf8-string-1 (new package)<br>
language-javascript-0.5.13.3 (new package)<br>
hjsmin-0.1.4.7 (new package)<br>
publicsuffixlist-0.1 (new package)<br>
http-client-0.4.11.1 (new package)<br>
uuid-types-1.0.1 (new package)<br>
uuid-1.3.10 (new package)<br>
vault-0.3.0.4 (new package)<br>
vector-0.10.12.3 (new package)<br>
aeson-0.8.0.2 +old-locale (new package)<br>
crypto-random-0.0.9 (new package)<br>
cprng-aes-0.6.1 (new package)<br>
clientsession-0.9.1.1 (new package)<br>
crypto-numbers-0.2.7 (new package)<br>
crypto-pubkey-0.2.8 (new package)<br>
mwc-random-0.13.3.2 (new package)<br>
resource-pool-0.2.3.2 (new package)<br>
shakespeare-2.0.4.1 (new package)<br>
hamlet-1.2.0 (new package)<br>
void-0.7 (new package)<br>
conduit-1.2.4 (new package)<br>
conduit-extra-1.1.7.2 (new package)<br>
contravariant-1.3.1 (new package)<br>
comonad-4.2.5 (new package)<br>
cryptohash-conduit-0.1.1 (new package)<br>
dns-1.4.5 (new package)<br>
monad-logger-0.3.13.1 (new package)<br>
persistent-2.1.3 (new package)<br>
esqueleto-2.1.3 (new package)<br>
persistent-sqlite-2.1.4.1 (new package)<br>
persistent-template-2.1.3 (new package)<br>
semigroupoids-4.3 (new package)<br>
bifunctors-4.2.1 (new package)<br>
profunctors-4.4.1 (new package)<br>
free-4.11 (new package)<br>
adjunctions-4.2 (new package)<br>
either-4.3.3.2 (new package)<br>
errors-1.4.7 (new package)<br>
kan-extensions-4.2.1 (new package)<br>
lens-4.9.1 (new package)<br>
wai-3.0.2.3 (new package)<br>
wai-logger-2.2.4 (new package)<br>
warp-3.0.12.1 (new package)<br>
word8-0.1.2 (new package)<br>
wai-extra-3.0.7.1 (new package)<br>
wai-app-static-3.0.1 (new package)<br>
x509-1.5.0.1 (new package)<br>
x509-store-1.5.0 (new package)<br>
x509-system-1.5.0 (new package)<br>
x509-validation-1.5.1 (new package)<br>
tls-1.2.17 (new package)<br>
connection-0.2.4 (new package)<br>
http-client-tls-0.2.2 (new package)<br>
http-conduit-2.1.5 (new package)<br>
warp-tls-3.0.3 (new package)<br>
xml-types-0.3.4 (new package)<br>
libxml-sax-0.7.5 (new package)<br>
network-protocol-xmpp-0.4.6 (new package)<br>
xml-conduit-1.2.4 (new package)<br>
aws-0.11.4 (new package)<br>
tagstream-conduit-0.5.5.3 (new package)<br>
authenticate-1.3.2.11 (new package)<br>
xml-hamlet-0.4.0.10 (new package)<br>
DAV-1.0.4 (new package)<br>
xss-sanitize-0.3.5.5 (new package)<br>
yaml-0.8.11 (new package)<br>
<span class="">yesod-core-1.4.9.1 (new package)<br>
yesod-default-1.2.0 (new package)<br>
yesod-persistent-1.4.0.2 (new package)<br>
yesod-form-1.4.4.1 (new package)<br>
yesod-auth-1.4.4 (new package)<br>
yesod-1.4.1.5 (new package)<br>
yesod-static-1.4.0.4 (new package)<br>
git-annex-5.20150420 -testsuite -feed (new package)<br>
</span>cabal: The following packages are likely to be broken by the reinstalls:<br>
HTTP-4000.2.19<br>
Use --force-reinstalls if you want to install anyway.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
On Sat, Apr 25, 2015 at 4:18 PM, Brandon Allbery <<a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>> wrote:<br>
><br>
> On Sat, Apr 25, 2015 at 3:45 PM, Peng Yu <<a href="mailto:pengyu.ut@gmail.com">pengyu.ut@gmail.com</a>> wrote:<br>
>><br>
>> Why cabal install print so many irrelevant messages? Is it better to<br>
>> follow Unix "Rule of Silence" to only print usage error messages?<br>
><br>
><br>
> This is not an irrelevant message:<br>
><br>
>> asn1-parse-0.9.0 (reinstall) changes: text-1.2.0.4 added<br>
><br>
><br>
> It's an indication that things are about to go very wrong, as indeed they<br>
> did. In fact, the errors you got indicate quite a lot of problems with your<br>
> Haskell installation; you apparently have a bunch of broken packages.<br>
><br>
> --<br>
> brandon s allbery kf8nh                               sine nomine associates<br>
> <a href="mailto:allbery.b@gmail.com">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net">ballbery@sinenomine.net</a><br>
> unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Regards,<br>
Peng<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>brandon s allbery kf8nh                               sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" target="_blank">allbery.b@gmail.com</a>                                  <a href="mailto:ballbery@sinenomine.net" target="_blank">ballbery@sinenomine.net</a></div><div>unix, openafs, kerberos, infrastructure, xmonad        <a href="http://sinenomine.net" target="_blank">http://sinenomine.net</a></div></div></div>
</div>