Could be two separated problems:
1. Your package list in not up to date, so run:
sudo apt update
then try to install your desktop again.
2. If your package list is up to date, there could be a problem with missing dependencies, so try to install it in a text console:
sudo apt update
sudo apt install sparky-desktop-gnome-shell
If it will fail, show me the issue lines from your terminal.