1) I did an Ubuntu purge followed by an install. Afterwards I rebuilt ghc <a href="http://6.8.2.">6.8.2.</a> The same d*mn&nbsp; &quot;unknown package: unix-2.3.0.0&quot; message when I try to build<br><br>unix <br><br>&nbsp;and <br>
<br>bytestring&nbsp;&nbsp; via runhaskell Setup.hs configure.<br><br>2) This strongly looks like the package database manager, i.e. ghc-pkg. Source please so I can understand where this d*amn &quot;unknown package: unix-2.3.0.0&quot; message is coming from and why?<br>
<br>3) Serious rant mode on ... I am a computer industry veteran(decades) who is trying to convince, coggle, etc. younger colleagues about the usefulness of FPLs for correctness, etc, and then =&gt; &quot;unknown package ....&quot;.<br>
<br>V.<br><br><div class="gmail_quote">On Sat, Apr 12, 2008 at 11:30 AM, Brandon S. Allbery KF8NH &lt;<a href="mailto:allbery@ece.cmu.edu">allbery@ece.cmu.edu</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d"><br>
On Apr 12, 2008, at 12:27 , Galchin, Vasili wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
vigalchin@ubuntu:~/FTP/Haskell/unix-2.2.0.0$ runhaskell Setup.hs cleanup<br>
unknown package: unix-2.3.0.0<br>
<br>
no &nbsp;it doesn&#39;t.<br>
</blockquote>
<br></div>
I suspect the Cabal stuff has a dependency on the unix package (at least on POSIXish systems, probably via the filepath stuff) and by deregistering unix-2.3.0.0 which Cabal was built against you broke it. &nbsp;Probably you need to do a full reinstall of GHC to recover at this point.<br>
<font color="#888888">
<br>
<br>
-- <br>
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] <a href="mailto:allbery@kf8nh.com" target="_blank">allbery@kf8nh.com</a><br>
system administrator [openafs,heimdal,too many hats] <a href="mailto:allbery@ece.cmu.edu" target="_blank">allbery@ece.cmu.edu</a><br>
electrical and computer engineering, carnegie mellon university &nbsp; &nbsp;KF8NH<br>
<br>
<br>
</font></blockquote></div><br>