бо як беру sudo apt-get install gnome-desktopто каже щось про dpkg
sudo apt-get install ...
dpkg was interrupted. you must manually run 'dpkg --configure -a' to to correct the problem
sudo apt-get install --reinstall gnome-desktop