This question already has an answer here:
My synaptic package manager in ubuntu10.10 is giving error:
Unable to get exclusive lock This usually means that another package management application(like apt-get or aptitude) is already running. Please close that application first.
Please resolve my problem for opening synaptic package manager