summaryrefslogtreecommitdiff
path: root/doc/bugs/Could_not_resolve_dependencies.mdwn
blob: 9eb98f31ef27945c2bfcd3bd3791f724854b2fd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
I'm not able to install git-annex with cabal.

What steps will reproduce the problem?

    bbigras@bbigras-VirtualBox:~$ cabal update
    Downloading the latest package list from hackage.haskell.org
    bbigras@bbigras-VirtualBox:~$ cabal install git-annex --bindir=$HOME/bin
    Resolving dependencies...
    cabal: Could not resolve dependencies:
    trying: git-annex-3.20130207 (user goal)
    trying: git-annex-3.20130207:+webdav
    trying: git-annex-3.20130207:+webapp
    trying: git-annex-3.20130207:+assistant
    trying: yesod-1.1.8.2 (dependency of git-annex-3.20130207:+assistant)
    trying: yesod-auth-1.1.5.2 (dependency of yesod-1.1.8.2)
    trying: authenticate-1.3.2.4 (dependency of yesod-auth-1.1.5.2)
    trying: xml-conduit-1.1.0.1 (dependency of authenticate-1.3.2.4)
    next goal: DAV (dependency of git-annex-3.20130207:+webdav)
    rejecting: DAV-0.3 (conflict: xml-conduit==1.1.0.1, DAV => xml-conduit>=1.0 &&
    <=1.1)
    rejecting: DAV-0.2, 0.1, 0.0.1, 0.0 (conflict: git-annex-3.20130207:webdav =>
    DAV(>=0.3))
    bbigras@bbigras-VirtualBox:~$


What version of git-annex are you using? On what operating system?

Ubuntu 12.10 x86_64

cabal-install version 0.14.0
using version 1.14.0 of the Cabal library

> The Haskell DAV library needs to be updated to build with
> the newer version of xml-conduit. Library skew of this sort 
> is common when using cabal.
> 
> You can work around this by building git-annex without webdav:
> `cabal configure --flags=-WebDAV`
> 
> This is not a git-annex bug. [[done]] --[[Joey]]