[Haskell-cafe] cabal upgrade

Cetin Sert cetin.sert at gmail.com
Tue Sep 30 19:59:21 EDT 2008


A reminder:

When I wanted to upgrade to yi 0.4.6.2, I needed to download the new package
list

cabal update           #download list of new packages
cabal upgrade         #make any upgrades

Regards,
CS

2008/9/26 Duncan Coutts <duncan.coutts at worc.ox.ac.uk>

> On Fri, 2008-09-26 at 10:49 +0200, Achim Schneider wrote:
> > % cabal update
> > Downloading package list from server
> > 'http://hackage.haskell.org/packages/archive'
> >
> > % cabal install pureMD5
> > All requested packages already installed. Nothing to do.
> >
> > % cabal install pureMD5-0.2.4
> > Downloading 'pureMD5-0.2.4'...
> > [...]
>
> The latest released cabal-install does what you want here.
>
> $ cabal install cabal-install
>
> > Well, I might be spoiled by portage but shouldn't there be a thing like
> >
> > cabal upgrade pureMD5
>
> That also works in the latest version.
>
> comparing,
>
> $ cabal install foo
> $ cabal upgrade foo
>
> both mean to get the latest 'foo'.
>
> The difference between install and upgrade is whether the dependencies
> are also upgraded or not. In Gentoo they call this 'deep' upgrades.
>
> > and
> >
> > cabal upgrade --all
>
> We write that as just
>
> $ cabal upgrade
>
>
> Duncan
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20081001/14a76b6e/attachment.htm


More information about the Haskell-Cafe mailing list