I found a post that helped me.
I stated that if you can SSH into your phone, go to var/Mobile/Library/Installer and delete Remote Packages.plist
Here is the link to the post.
iPhone installer wont work!!!PLZ HELP
It helped me out so I hope it will solve your problems too PaulTart.