Ticket #1358 (closed bug: invalid)
debian package ghc6-doc should depend on haddock?
$ sudo apt-get install ghc6-doc Reading package lists... Done Building dependency tree... Done ghc6-doc is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 59 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up ghc6-doc (6.6.1-1) ... /usr/lib/ghc6-doc/gen_contents_index: line 34: haddock: command not found dpkg: error processing ghc6-doc (--configure):
subprocess post-installation script returned error exit status 127
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)