Thank you @bkm @auliabismar i was able to edit the install.py
but this the error i got when install erpnext after passing the hurdle of install.py
The full traceback is:
File â/tmp/ansible_apt_payload_xx_1v7p3/main.pyâ, line 434, in package_status
pkg = cache[pkgname]
File â/usr/lib/python3/dist-packages/apt/cache.pyâ, line 261, in getitem
raise KeyError(âThe cache has no package named %râ % key)
[WARNING]: Could not find aptitude. Using apt-get instead
failed: [localhost] (item=[âdnsmasqâ, âfontconfigâ, âgitâ, âhtopâ, âlibcrypto+±devâ, âlibfreetype6-devâ, âliblcms2-devâ, âlibssl1.0-devâ, âlibwebp-devâ, âlibxext6â, âlibxrender1â, âlibxslt1-devâ, âlibxslt1.1â, âlibffi-devâ, ântpâ, âpostfixâ, âpython3-devâ, âpython-tkâ, âscreenâ, âvimâ, âxfonts-75dpiâ, âxfonts-baseâ, âzlib1g-devâ, âapt-transport-httpsâ, âlibsasl2-devâ, âlibldap2-devâ, âlibcups2-devâ, âpvâ]) => {
âansible_loop_varâ: âitemâ,
âchangedâ: false,
âinvocationâ: {
âmodule_argsâ: {
âallow_unauthenticatedâ: false,
âautocleanâ: false,
âautoremoveâ: false,
âcache_valid_timeâ: 0,
âdebâ: null,
âdefault_releaseâ: null,
âdpkg_optionsâ: âforce-confdef,force-confoldâ,
âforceâ: true,
âforce_apt_getâ: false,
âinstall_recommendsâ: null,
ânameâ: [
âdnsmasqâ,
âfontconfigâ,
âgitâ,
âhtopâ,
âlibcrypto+±devâ,
âlibfreetype6-devâ,
âliblcms2-devâ,
âlibssl1.0-devâ,
âlibwebp-devâ,
âlibxext6â,
âlibxrender1â,
âlibxslt1-devâ,
âlibxslt1.1â,
âlibffi-devâ,
ântpâ,
âpostfixâ,
âpython3-devâ,
âpython-tkâ,
âscreenâ,
âvimâ,
âxfonts-75dpiâ,
âxfonts-baseâ,
âzlib1g-devâ,
âapt-transport-httpsâ,
âlibsasl2-devâ,
âlibldap2-devâ,
âlibcups2-devâ,
âpvâ
],
âonly_upgradeâ: false,
âpackageâ: [
âdnsmasqâ,
âfontconfigâ,
âgitâ,
âhtopâ,
âlibcrypto+±devâ,
âlibfreetype6-devâ,
âliblcms2-devâ,
âlibssl1.0-devâ,
âlibwebp-devâ,
âlibxext6â,
âlibxrender1â,
âlibxslt1-devâ,
âlibxslt1.1â,
âlibffi-devâ,
ântpâ,
âpostfixâ,
âpython3-devâ,
âpython-tkâ,
âscreenâ,
âvimâ,
âxfonts-75dpiâ,
âxfonts-baseâ,
âzlib1g-devâ,
âapt-transport-httpsâ,
âlibsasl2-devâ,
âlibldap2-devâ,
âlibcups2-devâ,
âpvâ
],
âpolicy_rc_dâ: null,
âpurgeâ: false,
âstateâ: âpresentâ,
âupdate_cacheâ: null,
âupgradeâ: null
}
},
âitemâ: [
âdnsmasqâ,
âfontconfigâ,
âgitâ,
âhtopâ,
âlibcrypto+±devâ,
âlibfreetype6-devâ,
âliblcms2-devâ,
âlibssl1.0-devâ,
âlibwebp-devâ,
âlibxext6â,
âlibxrender1â,
âlibxslt1-devâ,
âlibxslt1.1â,
âlibffi-devâ,
ântpâ,
âpostfixâ,
âpython3-devâ,
âpython-tkâ,
âscreenâ,
âvimâ,
âxfonts-75dpiâ,
âxfonts-baseâ,
âzlib1g-devâ,
âapt-transport-httpsâ,
âlibsasl2-devâ,
âlibldap2-devâ,
âlibcups2-devâ,
âpvâ
],
âmsgâ: âNo package matching âlibssl1.0-devâ is availableâ
}
PLAY RECAP *************************************************************************************************************************************************************
localhost : ok=2 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
Traceback (most recent call last):
File âinstall.pyâ, line 413, in
install_bench(args)
File âinstall.pyâ, line 135, in install_bench
run_playbook(âsite.ymlâ, sudo=True, extra_vars=extra_vars)
File âinstall.pyâ, line 327, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, âplaybooksâ))
File â/usr/lib/python2.7/subprocess.pyâ, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command â[âansible-playbookâ, â-câ, âlocalâ, âsite.ymlâ, â-vvvvâ, â-eâ, â@/tmp/extra_vars.jsonâ, ââbecomeâ, ââbecome-user=fredâ]â returned non-zero exit status 2
meaning " libssl1.0-dev" is a necessity?!