People are getting this error with the message saying “I Wasn’t Able to Locate File For the Package” in their Cydia app each time they try to install a new package, add a new Cydia source or while downloading a new Cydia package. This error can be annoying for regular Cydia users because that restrict you from doing anything in this app. The most familiar scenario in which this error might occur is while canceling the reload operation of Cydia. Once you launch Cydia, you can see that it reloads its data. Cydia is actually refreshing all data trying to search for changes on the packages or source. In this article I will teach you how to fix this error in the easiest way possible. Here are few steps you need to follow in order to solve this :
Launch your Cydia
It is obvious that you will end up getting that error while downloading or installing the package. Now tap on Return to Cydia.
In the bottom of the screen you can see five tabs. Tap on Changes
You should see the Refresh button at the top left of the screen. Tap it.
Wait while Cydia finishes reloading its data. Cydia will now start updating its packages and release info. You should let this process complete and they retry your download. The problem should now be solved. Try adding or upgrading the package / source again.
So it is always best if you let Cydia reload properly every time you boot. Obviously, it is annoying but at least it would minimize the errors. If you are still getting this error after following above mentioned steps, then the package might have been deleted from the repo by the repo management.