## 1 How to Fix ‘E: Could not get lock /var/lib/dpkg/lock’ Error in Ubuntu Linux

resloved page

use the following command see what thread take the apt:

at line 3, you will see the program apt.systemd.daily install, it’s means, you are locked.

Well, it is simple to handle it, you just use the following command to kill this program, the problem is solved.

After that, you can install any software you want. For example, I am trying to install vim.

Now, I can use vim free.