Run `(Get-SPSolution solutionname.wsp).Delete()` in Sharepoint Management Shell.

You can find your SolutionName using:

    Get-SPSolution

You can also use:

    Get-SPSolution | select * | out-file c:\solutions.txt

This will list all solutions, properties and output them to a file called solutions.txt.
This may solve your problems.