I have the same problem. I tried to debug the file /var/lib/dpkg/info/libssl0.9.8.postinst by adding prints, and running it with : /var/lib/dpkg/info/libssl0.9.8.postinst configure "0.9.8g-8" looks like it gets stuck on the line db_go | true debugging further is beyond me. hope this helps.