when given the option installing software such as desktop environment and other application and click next it will give me the installation step failed.

I am trying to dual boot windows and Kali Linux using USB. i have tried skipping install then OS, when faced with command line interface i typed sudo apt-get install kali-desktop-xfce. it said that it could not fetch url. i would like to know if there is any fixed to this issue