For most of the users, Cydia seems to be confusing but it becomes more frustrating, when it keeps on giving the cryptic errors. Here a simple way to fix Cydia is given and you can try it out when it is unable to download any package. Sometimes the error given by Cydia is –
“I wasn’t able to locate file for the sbsettings package. This might mean you need to manually fix this package.”
“netdb: open nodename nor servname provided, or not known”
The user has to go to the iPhone’s Settings app, then go to General and scroll down to Reset. Then the “reset network settings” button must be pressed, get re-connected to the Wi-Fi (if it is applicable) and then go back to Cydia. You will be happy to notice that everything is working fine.
This will make your Cydia work but all your remembered Wi-Fi networks and their passwords would be cleared. You can consider it to be a small price one has to pay in order to make Cydia work. There is no other solution which could have been tried by replicating the error and this network reset solution seemed to be working fine.