I think --reinstall only reinstalls the package you are actually installing, not the dependencies. You could try using a sandboxing tool, like cabal-dev. Then you just do 'cabal-dev install', and when you want to reinstall everything, you do 'rm cabal-dev/' to wipe the sandbox and start over.
Regards, Erik On Thu, Apr 25, 2013 at 12:29 AM, capn.fre...@gmail.com <capn.fre...@gmail.com> wrote: > > > -db > > ----- Forwarded message ----- > From: "Captain Freako" <capn.fre...@gmail.com> > Date: Tue, Apr 23, 2013 9:21 pm > Subject: How to do automatic reinstall of all dependencies? > To: <haskell-cafe@haskell.org> > > Hi all, > > Does anyone know why the following is not working, as an automatic way of > reinstalling all dependencies?: > > dbanas@dbanas-lap:~/prj/AMI-Tool$ cabal install --only-dependencies > --reinstall --force-reinstalls parsec > Resolving dependencies... > All the requested packages are already installed: > Use --reinstall if you want to reinstall anyway. > dbanas@dbanas-lap:~/prj/AMI-Tool$ > > Thanks, > -db > > > _______________________________________________ > Haskell-Cafe mailing list > Haskell-Cafe@haskell.org > http://www.haskell.org/mailman/listinfo/haskell-cafe > _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe