FIX for Cydia Error:Database Encountered a section with no Package:header
If you have gotten the most annoying “Error:Database Encountered a section with no Package:header” error while trying to open Cydia you’re at the right place because we have a fix for you…
This error normally comes in if one of the sources go bad or have errors. This error if fairly easy to fix, so without loosing anymore time let’s jump right into it.
You will need to SSH into your iPhone and Navigate to the private/var/lib/apt/lists directory.
If you don’t know what SSH means or if you have never used it please Read This article before going forward with this tutorial.
Start WinSCP and connect to iPhone. In host name field, type in the IP address of your iPhone. Make sure the port number is set to “22” by default this option is already set to 22 but in case it’s not then change it. For user name use “root” and for password use “alpine” (NOTE: This user name and password is the same for all iPhones and iTouch iPods ever made by Apple). Don’t worry about any other fields or options.
Once you have logged in to your iPhone, browse to private/var/lib/apt/lists directory.
Once you’re in private/var/lib/apt/lists directory, Files you will see are all the sources you have added and the ones that came with Cydia… Look at the ones that you have added right before you started experiencing the errors and delete those files…
If you remember exactly which SOURCE you have added before the error, then you should be able to see it in the directory… DELETE it and everything will be back to normal…
If you don’t remember which source you have added you can delete all the files except the “Partial” folder… Restart Cydia, This time you should not see the any errors or warnings. Go to Changes and press Refresh and all the changes should be there again!
You’re done… Good Luck!!!
SOMETHING TO THINK ABOUT
Since we have mentioned the Very Well known SSH User Name (root) and Password (alpine), we have to also give you another suggestion / reminder. There have been recorded Viruses, Worms, Attacks, etc. on Jailbroken Devices due to the default SSH password not being changed. Please change it and secure you device.
Remember, we have warned your about the SSH password and the vulnerability of the Jailbroken Devices… If you what to change your SSH Root Password (You should) follow these tutorials.