Time pass to be honest,may work as a reference later,I am not sure.
sudo lsof /var/lib/dpkg/lock
Find the process PID which is using the lock
kill -9 (PID that you found using lsof)
source:http://askubuntu.com/questions/15433/unable-to-lock-the-administration-directory-var-lib-dpkg-is-another-process