Here is a method to re-install Cydia if you have too many bugs, without any restore or re-jailbreak.
- A jailbroken iPhone
- Mobile terminal installed from Cydia
And then, start Mobile terminal.
Type « su » then your password (alpine by default)
And then type « dpkg -i /User/Cydia.deb »