this is the easiest solution i found for the problem and it only takes 10 seconds
1) SSH into your device.
2) Navigate to the /etc/apt/ folder.
3) Backup the cydia.list OR sources.list.d file.
4) Edit the cydia.list OR sources.list.d file with a text editor and remove the entry related to the problematic source.
5) Reboot.