$ sudo dpkg --force-architecture -i viber.deb dpkg: error: dpkg status database is locked by another process
sudo rm /var/lib/dpkg/lock
Então
sudo dpkg --configure -a
Retirado de: Referência