so I'm trying some python 2 scripts in my Ubuntu VM. I installed python 2.
One of the scripts need the module pathlib
.
Tried to install it but got a error message:
~/Desktop$ sudo apt-get install -y python-pathlib
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 8632 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
I like to know that means and of course I like to know why this happened. I'm grateful for any help!
Cheers!
Reading package lists... Done Building dependency tree
Reading state information... Done E: Unable to locate package python-pathlib – simonericmoon Jun 07 '21 at 12:23
apt-cache search python-pathlib
? – blnks Jun 07 '21 at 12:24sudo apt install python-pathlib2
– blnks Jun 07 '21 at 12:34