lok@abc-computer:~$ sudo -H apt-get install python3-minimal
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-minimal is already the newest version (3.6.7-1~18.04).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
lok@abc-computer:~$ sudo -H apt-get install python3-setuptools
Reading package lists… Done
Building dependency tree
Reading state information… Done
python3-setuptools is already the newest version (39.0.1-2).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
lok@abc-computer:~$ sudo -H apt-get install build-essential
Reading package lists… Done
Building dependency tree
Reading state information… Done
build-essential is already the newest version (12.4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
lok@abc-computer:~$ sudo -H apt-get install redis-server
Reading package lists… Done
Building dependency tree
Reading state information… Done
redis-server is already the newest version (5:4.0.9-1ubuntu0.2).
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
lok@abc-computer:~$ wget https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
–2020-01-23 23:04:39-- https://raw.githubusercontent.com/frappe/bench/master/playbooks/install.py
Resolving raw.githubusercontent.com (raw.githubusercontent.com)… 151.101.156.133
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.156.133|:443… connected.
HTTP request sent, awaiting response… 200 OK
Length: 14831 (14K) [text/plain]
Saving to: ‘install.py’
install.py 100%[==============>] 14.48K --.-KB/s in 0.1s
2020-01-23 23:04:40 (113 KB/s) - ‘install.py’ saved [14831/14831]
lok@abc-computer:~$ sudo -H python3 install.py --production --user lok
Logs are saved under /tmp/logs/easy-install__2020-01-23__17-34.log
Checking System Compatibility…
ubuntu 18 is compatible!
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Traceback (most recent call last):
File “install.py”, line 413, in
install_prerequisites()
File “install.py”, line 122, in install_prerequisites
‘sudo yum install -y epel-release redhat-lsb-core git python-setuptools python-devel openssl-devel libffi-devel’
File “install.py”, line 107, in run_os_command
returncode = subprocess.check_call(command, shell=True, stdout=log_stream, stderr=sys.stderr)
File “/usr/lib/python3.6/subprocess.py”, line 311, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘sudo apt-get install -y git build-essential python3-setuptools python3-dev libffi-dev’ returned non-zero exit status 100.
lok@abc-computer:~$
@bkm I followed your steps from here (error-on-erpnext-ubuntu-18-04-lts-installation)
and I got this error. Any help?