[Hackage] #226: Cabal install should upgrade in the correct order.
Hackage
trac at galois.com
Thu Jan 31 10:38:27 EST 2008
#226: Cabal install should upgrade in the correct order.
---------------------------------+------------------------------------------
Reporter: guest | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.2
Platform: |
---------------------------------+------------------------------------------
Also, `cabal upgrade package-name` should probably upgrade that packages
and dependencies, but not other packages.
Here was my session with darcs cabal-install 2008-01-31:
{{{
$ cabal upgrade
Upgrading the following packages:
cgi-3001.1.5.2
hmatrix-0.2.0.0
pcre-light-0.3
regex-base-0.93.1
regex-compat-0.91
regex-posix-0.93.1
TypeCompose-0.3
xhtml-3000.0.2.2
zlib-0.4.0.2
Downloading 'cgi-3001.1.5.2'...
[... cgi upgrades fine ...]
Configuring regex-compat-0.91...
setup: At least the following dependencies are missing:
regex-base >=0.93, regex-posix >=0.93
Downloading 'TypeCompose-0.3'...
Downloading 'xhtml-3000.0.2.2'...
Downloading 'zlib-0.4.0.2'...
cabal: Error: some packages failed to install:
zlib-0.4.0.2
xhtml-3000.0.2.2
TypeCompose-0.3
regex-compat-0.91
regex-posix-0.93.1
regex-base-0.93.1
pcre-light-0.3
hmatrix-0.2.0.0
$ cabal upgrade regex-base
Upgrading the following packages:
hmatrix-0.2.0.0
pcre-light-0.3
regex-base-0.93.1
regex-compat-0.91
regex-posix-0.93.1
TypeCompose-0.3
xhtml-3000.0.2.2
zlib-0.4.0.2
'hmatrix-0.2.0.0' is cached.
[... everything through TypeCompose upgrades fine ...]
'xhtml-3000.0.2.2' is cached.
Configuring xhtml-3000.0.2.2...
'zlib-0.4.0.2' is cached.
Configuring zlib-0.4.0.2...
[... zlib upgrades fine ...]
cabal: Error: some packages failed to install:
xhtml-3000.0.2.2
$ cabal upgrade
Upgrading the following packages:
xhtml-3000.0.2.2
'xhtml-3000.0.2.2' is cached.
Configuring xhtml-3000.0.2.2...
[... succeeds ...]
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/226>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list