Trouble install Frappe - Running install script

 :~$ sudo bash setup_frappe.sh --setup-production
Installing for debian 7 amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Adding debian mariadb repo
Installing packages for debian. This might take time...
Reading package lists...
Building dependency tree...
Reading state information...
build-essential is already the newest version.
build-essential set to manually installed.
python-setuptools is already the newest version.
python-setuptools set to manually installed.
fontconfig is already the newest version.
fontconfig set to manually installed.
git is already the newest version.
libxext6 is already the newest version.
libxext6 set to manually installed.
memcached is already the newest version.
python-pip is already the newest version.
libxrender1 is already the newest version.
libxrender1 set to manually installed.
ntp is already the newest version.
libssl-dev is already the newest version.
libssl-dev set to manually installed.
redis-server is already the newest version.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:   

The following packages have unmet dependencies:
     libmariadbclient-dev : Depends: libmariadbclient18 (>= 5.5.42+maria-1~wheezy) but it is not going to be installed
     mariadb-server : Depends: mariadb-server-5.5 (= 5.5.42+maria-1~wheezy) but it is not going to be installed
    E: Unable to correct problems, you have held broken packages.

I am having trouble while running the install script.

Note: The server is a LMAP stack and already has mysql and phpmyadmin installed. Also running Debian 7 if that makes a difference.

Install script along with --setup-production designed for a row server. Since LAMP installed already in your server, I think manual installation method would be the right way.

Error log show dependencies and broken package issue, first you may install libmariadbclient-dev for debian version and then try.

Sunil

1 Like

Resetup a brand new never with only debian 7 whezzy install. Ran script again, got this:

:~$ sudo bash setup_frappe.sh --setup-production
Installing for debian 7 amd64
In case you encounter an error, you can post on https://discuss.frappe.io
Adding debian mariadb repo
Installing packages for debian. This might take time...
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libmariadbclient-dev : Depends: libmariadbclient18 (>= 5.5.42+maria-1~wheezy) but it is not going to be insta
lled
 mariadb-server : Depends: mariadb-server-5.5 (= 5.5.42+maria-1~wheezy) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Reinstalled on a Ubuntu 14.04 Install. Works.

Grt.
Even on Debian row server ERPNext install scripts works like charm.