It seems that there some problem with installing the lib (dpkg error). Could there be insufficient space or something similar? You could try running ' 'apt-get clean' to clean the package cache and then try again.