<div dir="ltr"><div dir="ltr">I've also tried upgrading cabal itself and I get the following:<div><br></div><div>> cabal install Cabal cabal-install<br>Warning: The install command is a part of the legacy v1 style of cabal usage.<br><br>Please switch to using either the new project style and the new-install<br>command or the legacy v1-install alias as new-style projects will become the<br>default in the next version of cabal-install. Please file a bug if you cannot<br>replicate a working v1- use case with the new-style commands.<br><br>For more information, see: <a href="https://wiki.haskell.org/Cabal/NewBuild">https://wiki.haskell.org/Cabal/NewBuild</a><br><br>Resolving dependencies...<br>cabal: Could not resolve dependencies:<br>[__0] next goal: Cabal (user goal)<br>[__0] rejecting: Cabal-3.0.0.0/installed-3B7... (package is broken)<br>[__0] trying: Cabal-3.0.0.0<br>[__1] trying: unix-2.7.2.2/installed-2.7... (dependency of Cabal)<br>[__2] next goal: time (dependency of Cabal)<br>[__2] rejecting: time-1.9.3/installed-Hzi... (conflict: unix =><br>time==<a href="http://1.8.0.2/installed-1.8..">1.8.0.2/installed-1.8..</a>.)<br>[__2] trying: time-1.8.0.2/installed-1.8...<br>[__3] trying: process-1.6.7.0/installed-nGT... (dependency of Cabal)<br>[__4] trying: directory-1.3.6.0/installed-86L... (dependency of Cabal)<br>[__5] trying: base-4.11.1.0/installed-4.1... (dependency of Cabal)<br>[__6] trying: cabal-install-3.0.0.0 (user goal)<br>[__7] next goal: hackage-security (dependency of cabal-install)<br>[__7] rejecting: hackage-security-0.6.0.0/installed-GMN...,<br>hackage-security-0.5.3.0/installed-Et0... (package is broken)<br>[__7] rejecting: hackage-security-0.6.0.0 (conflict: cabal-install =><br>hackage-security>=0.5.2.2 && <0.6)<br>[__7] trying: hackage-security-0.5.3.0<br>[__8] next goal: template-haskell (dependency of hackage-security)<br>[__8] rejecting: template-haskell-2.15.0.0, template-haskell-2.14.0.0,<br>template-haskell-2.13.0.0 (only already installed instances can be used)<br>[__8] rejecting: template-haskell-2.12.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base>=4.8 && <4.11)<br>[__8] rejecting: template-haskell-2.11.1.0, template-haskell-2.11.0.0<br>(conflict: unix => base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell =><br>base>=4.7 && <4.10)<br>[__8] rejecting: template-haskell-2.10.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base==4.8.*)<br>[__8] rejecting: template-haskell-2.9.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base==4.7.*)<br>[__8] rejecting: template-haskell-2.8.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base==4.6.*)<br>[__8] rejecting: template-haskell-2.7.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base==4.5.*)<br>[__8] rejecting: template-haskell-2.6.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base==4.4.*)<br>[__8] rejecting: template-haskell-2.5.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base==4.3.*)<br>[__8] rejecting: template-haskell-2.4.0.1 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base==4.2.*)<br>[__8] rejecting: template-haskell-2.4.0.0 (conflict: unix =><br>base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>., template-haskell => base>=3 && <4.3)<br>[__8] rejecting: template-haskell-2.3.0.1, template-haskell-2.3.0.0,<br>template-haskell-2.2.0.0 (conflict: unix => base==<a href="http://4.11.1.0/installed-4.1..">4.11.1.0/installed-4.1..</a>.,<br>template-haskell => base<4.3)<br>[__8] fail (backjumping, conflict set: hackage-security, template-haskell,<br>unix)<br>After searching the rest of the dependency tree exhaustively, these were the<br>goals I've had most trouble fulfilling: cabal-install, HTTP, base, Cabal,<br>time, directory, process, template-haskell, hackage-security, unix,<br>cabal-install:lib<br><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Mar 12, 2020 at 12:53 AM Eyal Erez <<a href="mailto:oneself@gmail.com">oneself@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I've recently tried to upgrade xmonad to the latest version but have been experiencing some problems. My guess is that the version I'm getting from cabal is conflicting with Fedora's packaged version, but I'm not sure how to disentangle.</div><div><br></div><div>I've tried the following, any suggestions would be most welcome:</div><div><br></div><div>> cabal --version<br>cabal-install version 2.4.1.0<br>compiled using version 2.4.1.0 of the Cabal library <br></div><div>> cabal update<br>Warning: The update command is a part of the legacy v1 style of cabal usage.<br><br>Please switch to using either the new project style and the new-update command<br>or the legacy v1-update alias as new-style projects will become the default in<br>the next version of cabal-install. Please file a bug if you cannot replicate a<br>working v1- use case with the new-style commands.<br><br>For more information, see: <a href="https://wiki.haskell.org/Cabal/NewBuild" target="_blank">https://wiki.haskell.org/Cabal/NewBuild</a><br><br>Downloading the latest package list from <a href="http://hackage.haskell.org" target="_blank">hackage.haskell.org</a><br>To revert to previous state run:<br> cabal update --index-state='2020-02-24T08:44:25Z'<br>> cabal install xmonad<br>Warning: The install command is a part of the legacy v1 style of cabal usage.<br><br>Please switch to using either the new project style and the new-install<br>command or the legacy v1-install alias as new-style projects will become the<br>default in the next version of cabal-install. Please file a bug if you cannot<br>replicate a working v1- use case with the new-style commands.<br><br>For more information, see: <a href="https://wiki.haskell.org/Cabal/NewBuild" target="_blank">https://wiki.haskell.org/Cabal/NewBuild</a><br><br>Resolving dependencies...<br>All the requested packages are already installed:<br>xmonad-0.15<br>Use --reinstall if you want to reinstall anyway.<br>> cabal install xmonad --reinstall<br>Warning: The install command is a part of the legacy v1 style of cabal usage.<br><br>Please switch to using either the new project style and the new-install<br>command or the legacy v1-install alias as new-style projects will become the<br>default in the next version of cabal-install. Please file a bug if you cannot<br>replicate a working v1- use case with the new-style commands.<br><br>For more information, see: <a href="https://wiki.haskell.org/Cabal/NewBuild" target="_blank">https://wiki.haskell.org/Cabal/NewBuild</a><br><br>Resolving dependencies...<br>In order, the following would be installed:<br>xmonad-0.15 (reinstall)<br>cabal: The following packages are likely to be broken by the reinstalls:<br>xmonad-contrib-0.16<br>xmonad-contrib-0.15<br>Use --force-reinstalls if you want to install anyway.<br><br></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><font face="'courier new', monospace"><b>Eyal Erez <</b><a href="mailto:oneself@gmail.com" target="_blank"><b>oneself@gmail.com</b></a><b>></b><br><br></font><div><div><font face="'courier new', monospace">There are 10 types of people, those who know binary and those who don't.</font></div></div><div><font face="'courier new', monospace"><br></font></div></div></div>