Keep package version
Put it on holdsudo apt-mark hold
Remove from holdsudo apt-mark unhold
Put it on holdsudo apt-mark hold
Remove from holdsudo apt-mark unhold
sudo dpkg --configure -a
start with
dpkg -i package
install missing dependencies
apt-get install -f