sudo dpkg -C
test@test:/var/lib/dpkg$ sudo dpkg -C
The following packages are in a mess due to serious problems during
installation. They must be reinstalled for them (and any packages
that depend on them) to function properly:
libreoffice-common office productivity suite -- arch-independent files
3. Remove the broken package via the following command:
sudo dpkg --remove --force-remove-reinstreq libreoffice-common
4. Install the package again:
sudo apt-get install libreoffice-common