$ sudo apt-get install dhelp doc-linux-html
...
Setting up doc-linux-html (2007.11-1) ...
/usr/lib/ruby/1.8/dhelp.rb:21:in `require': no such file to load -- bdb (LoadError)
from /usr/lib/ruby/1.8/dhelp.rb:21
from /usr/sbin/dhelp_parse:27:in `require'
from /usr/sbin/dhelp_parse:27
dpkg: error processing doc-linux-html (--configure):
subprocess post-installation script returned error exit status 1
Reproducible in a hardy system:
$ sudo apt-get install dhelp doc-linux-html ruby/1. 8/dhelp. rb:21:in `require': no such file to load -- bdb (LoadError) ruby/1. 8/dhelp. rb:21 dhelp_parse: 27:in `require' dhelp_parse: 27
...
Setting up doc-linux-html (2007.11-1) ...
/usr/lib/
from /usr/lib/
from /usr/sbin/
from /usr/sbin/
dpkg: error processing doc-linux-html (--configure):
subprocess post-installation script returned error exit status 1