1

I just tried to install Internet Explorer using these instructions on the Ubuntu help wiki. It brought up a terms of service screen in the terminal, which I couldn't figure out how to accept, so I ended up closing the terminal. I'm now getting this error:

E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?

Looking at this question, Unable to lock the administration directory (/var/lib/dpkg/) is another process using it?, I tried Faheem's answer, but got this error.

kill -9 3849
bash: kill: (3849) - Operation not permitted

What else can I do? It looked like the other answers could really mess up the system, and as I am new to Linux, I don't want to risk anything to mess it up too badly.

I am using Ubuntu 16.04.

Thank you for your help.

Zanna
  • 70,465
  • delete the lock files, as said in the answer to the question you have mentioned. – luv.preet Jun 21 '17 at 19:13
  • Do you delete the files with kill -9? Or do I have to go manually do it? If so , where do I find them? – wanderer0810 Jun 21 '17 at 19:19
  • you need sudo kill -9 3849. don't delete the lock files. rebooting will also release the files – ravery Jun 21 '17 at 19:21
  • I just deleted the locked files a few seconds before this answer. Is there anything I should do to get them back? I also tried rebooting before I asked this question – wanderer0810 Jun 21 '17 at 19:23

1 Answers1

1

Everytime I encounter this error is because I have Synaptic Package Manager on and haven't noticed it. Just quit Synaptic and you ll be good to go.