I was downloading the
icedtea-7-plugin package for Ubuntu on the Terminal. I used the
sudo apt-get install icedtea-7-plugin just like any other person would and I turned back to what I was doing, for I knew it was going to take some time for my connection to download the whole thing.
But I later had some urgent work to do so I put my laptop on sleep mode. I came back and saw how the download was interrupted. So I used
sudo apt-get install --reinstall icedtea-7-plugin and it was giving me this error:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
enter preformatted text here
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process
I went to the directory
/var/lib/dpkg and tried to remove all the files by
rm -f or even
sudo apt-get remove icedtea-7-plugin but it gives me exactly the same error in both the cases.
What is the solution for this problem?