Sub-process /usr/bin/dpkg returned an error (1)

Maybe the reason is that the first attempt to install blocked some resource, and then putty hung, and so hangs?