<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.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>
rm -rf ~/.cabal<br>
rm -rf ~/Library/Haskell<br>
rm -rf ~.ghc/<br>
cabal update<br>
cabal install cabal-install<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- (new package)<br>
SafeSemaphore-0.10.1 (new package)<br>
ansi-terminal- (new package)<br>
ansi-wl-pprint- (new package)<br>
appar-0.1.4 (new package)<br>
async-2.0.2 (new package)<br>
auto-update- (new package)<br>
base16-bytestring- (new package)<br>
base64-bytestring- (new package)<br>
blaze-builder- (new package)<br>
blaze-markup- (new package)<br>
blaze-html- (new package)<br>
bloomfilter- (new package)<br>
byteable-0.1.1 (new package)<br>
byteorder-1.0.4 (new package)<br>
bytestring-builder- (new package)<br>
cereal- (new package)<br>
clock- (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- (new package)<br>
dlist- (new package)<br>
data-default-instances-dlist-0.0.1 (new package)<br>
data-default-0.5.3 (new package)<br>
cookie- (new package)<br>
easy-file-0.2.0 (new package)<br>
edit-distance- (new package)<br>
entropy-0.3.6 (new package)<br>
fast-logger-2.3.1 (new package)<br>
file-embed- (new package)<br>
gnuidn-0.2.1 (new package)<br>
hashable- (new package)<br>
case-insensitive- (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- (new package)<br>
mime-types- (new package)<br>
monad-loops- (new package)<br>
nats-1 (new package)<br>
network-info- (new package)<br>
network-multicast-0.0.11 (new package)<br>
parallel- (new package)<br>
path-pieces-0.2.0 (new package)<br>
prelude-extras-0.4 (new package)<br>
reflection- (new package)<br>
safe-0.3.8 (new package)<br>
scientific- (new package)<br>
attoparsec- (new package)<br>
css-text- (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- (new package)<br>
silently- (new package)<br>
simple-sendfile-0.2.18 (new package)<br>
socks-0.5.4 (new package)<br>
stm-chans- (new package)<br>
stringsearch- (new package)<br>
system-filepath- (new package)<br>
system-fileio- (new package)<br>
tagged- (new package)<br>
tagsoup-0.13.3 (new package)<br>
transformers- (new version)<br>
StateVar- (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- (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.2.1<br>
bencode- (new package)<br>
json-0.9.1 (new package)<br>
network-uri- (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- (new package)<br>
regex-tdfa-1.2.0 (new package)<br>
skein- (new package)<br>
streaming-commons-0.1.12 (new package)<br>
torrent-10000.0.0 (new package)<br>
transformers-compat- (new package)<br>
MonadRandom- (new package)<br>
distributive-0.4.4 (new package)<br>
exceptions- (new package)<br>
optparse-applicative- (new package)<br>
transformers-base-0.4.4 (new package)<br>
monad-control- (new package)<br>
lifted-base- (new package)<br>
enclosed-exceptions- (new package)<br>
resourcet- (new package)<br>
unix-compat- (new package)<br>
unix-time-0.3.5 (new package)<br>
unordered-containers- (new package)<br>
semigroups- (new package)<br>
utf8-string-1 (new package)<br>
language-javascript- (new package)<br>
hjsmin- (new package)<br>
publicsuffixlist-0.1 (new package)<br>
http-client- (new package)<br>
uuid-types-1.0.1 (new package)<br>
uuid-1.3.10 (new package)<br>
vault- (new package)<br>
vector- (new package)<br>
aeson- +old-locale (new package)<br>
crypto-random-0.0.9 (new package)<br>
cprng-aes-0.6.1 (new package)<br>
clientsession- (new package)<br>
crypto-numbers-0.2.7 (new package)<br>
crypto-pubkey-0.2.8 (new package)<br>
mwc-random- (new package)<br>
resource-pool- (new package)<br>
shakespeare- (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- (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- (new package)<br>
persistent-2.1.3 (new package)<br>
esqueleto-2.1.3 (new package)<br>
persistent-sqlite- (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- (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- (new package)<br>
wai-logger-2.2.4 (new package)<br>
warp- (new package)<br>
word8-0.1.2 (new package)<br>
wai-extra- (new package)<br>
wai-app-static-3.0.1 (new package)<br>
x509- (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- (new package)<br>
authenticate- (new package)<br>
xml-hamlet- (new package)<br>
DAV-1.0.4 (new package)<br>
xss-sanitize- (new package)<br>
yaml-0.8.11 (new package)<br>
<span class="">yesod-core- (new package)<br>
yesod-default-1.2.0 (new package)<br>
yesod-persistent- (new package)<br>
yesod-form- (new package)<br>
yesod-auth-1.4.4 (new package)<br>
yesod- (new package)<br>
yesod-static- (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>
Use --force-reinstalls if you want to install anyway.<br>
<div class="HOEnZb"><div class="h5"><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>
> 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>
>> 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>
> This is not an irrelevant message:<br>
>> asn1-parse-0.9.0 (reinstall) changes: text- added<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>
> 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>
</div></div><span class="HOEnZb"><font color="#888888">--<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>