Ever faced with a situation where the wsp job gets stuck on deploying. If yes, please check if all the servers in farm are on the same timezone. I faced a scenario where one of the servers was accidently changed by the developers to a different time zone and it cause the wsp deployment to be stuck on deploying for a long time. After checking various options including disabling Anti-virus, I found that the time zone on one of the machines was set to different zone, almost (5 hours behind ). After setting the time zone correctly and restarting the timer job the wsps got deployed without any issues.
I always thought this was a configuration DB problem! worked great, thanks. It makes a lot of sense, when I come to think of it :)