[Hackage] #269: Not having an up-to-date package list causes indexing out of bounds error

Hackage trac at galois.com
Wed Aug 20 07:55:41 EDT 2008


#269: Not having an up-to-date package list causes indexing out of bounds error
---------------------------------+------------------------------------------
  Reporter:  guest               |        Owner:         
      Type:  defect              |       Status:  new    
  Priority:  low                 |    Milestone:         
 Component:  cabal-install tool  |      Version:  1.2.3.0
  Severity:  normal              |   Resolution:         
  Keywords:                      |   Difficulty:  normal 
Ghcversion:  6.8.2               |     Platform:         
---------------------------------+------------------------------------------
Comment (by duncan):

 We think this is due to truncated downloads. We've got a sample
 00-index.tar.gz that elicits this problem.

 So there are two things to do:

  * work out where it's failing when reading truncated files (eg is it the
 gunzip or the tar format parsing that fails)
  * detect truncated downloads and decide what to do wit them.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/269#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list