Resolving dependencies... Error: cabal: Could not resolve dependencies: [__0] trying: Chart-cairo-1.9.4.1 (user goal) [__1] trying: lens-5.2.3 (dependency of Chart-cairo) [__2] trying: text-1.2.5.0/installed-1.2.5.0 (dependency of lens) [__3] trying: bytestring-0.11.3.1/installed-0.11.3.1 (dependency of lens) [__4] next goal: cairo (dependency of Chart-cairo) [__4] rejecting: cairo-0.13.10.0, cairo-0.13.8.2, cairo-0.13.8.1, cairo-0.13.8.0, cairo-0.13.6.1, cairo-0.13.6.0, cairo-0.13.5.0, cairo-0.13.4.2, cairo-0.13.4.1, cairo-0.13.4.0, cairo-0.13.3.1, cairo-0.13.3.0, cairo-0.13.2.0, cairo-0.13.1.1, cairo-0.13.1.0, cairo-0.13.0.6, cairo-0.13.0.5, cairo-0.13.0.4, cairo-0.13.0.3, cairo-0.13.0.2, cairo-0.13.0.1 (conflict: pkg-config package cairo>=1.2.0, not found in the pkg-config database) [__4] rejecting: cairo-0.13.0.0 (conflict: text==1.2.5.0/installed-1.2.5.0, cairo => text>=0.11.0.6 && <1.2) [__4] rejecting: cairo-0.12.5.3, cairo-0.12.5.1, cairo-0.12.5.0, cairo-0.12.4, cairo-0.12.3.1, cairo-0.12.3, cairo-0.12.2, cairo-0.12.1, cairo-0.12.0, cairo-0.11.1, cairo-0.11.0 (conflict: text => base==4.16.3.0/installed-4.16.3.0, cairo => base>=4 && <4.7) [__4] fail (backjumping, conflict set: Chart-cairo, cairo, text) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: lens, bytestring, base, text, cairo, Chart-cairo Try running with --minimize-conflict-set to improve the error message.