On WSS or MOSS it's easy to retract and remove solutions but sometimes the process gets stuck.
And when this happens we have only one solution to the problem.
When the solution status maintains for along time with "Retracted…." whe need to delete the job that is attached to this retraction process.
To do that we need to go the Timer Job Definitions, find our solution retraction Job and click on it's description.
After clicking on the Job description the page in the image bellow will show up, click on the delete button.
Now our solution is free with no Job attached to it and we can run the stsadm -o retractsolution command.
This command will create a job like the command on the Central Administration Window, but for some reason this will actually retract the solution.
-name <Solution name>
[-url <virtual server url>]
[-allcontenturls]
[-time <time to remove at>]
[-immediate]
[-local]
[-lcid <language>]