MariaDB on Ubuntu 14.04

I'm trying to install frappe bench on Ubuntu 14.04.

The install script gives me an error:

Ign http://archive.ubuntu.com trusty/universe Translation-en_IN               
Fetched 1,562 kB in 40s (38.3 kB/s)                                           
Reading package lists... Done
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libxslt1.1 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 (>= 10.1.0+maria-1~trusty) but it is not going to be installed
mariadb-server : Depends: mariadb-server-10.1 (= 10.1.0+maria-1~trusty) but it is not going to be installed
python-mysqldb : Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

On trying to install MariaDB individually, I get a similar error:

om...@my-Vostro-1014:~$ sudo apt-get install mariadb-server
Reading package lists... Done
Building dependency tree      
Reading state information... Done
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:
mariadb-server : Depends: mariadb-server-10.1 (= 10.1.0+maria-1~trusty) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Any corrections/suggestions/pointers?

Thanks

Omkar



Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1408513863.2691.6.camel%40omkar-Vostro-1014.

    For more options, visit https://groups.google.com/d/optout.
Hi Jay,

Thanks for the response.. I'd faced a similar issue on OS X when mysql conflicted with MariaDB.

Followed your steps and the installation is now in progress.

Omkar

On Wed, 2014-08-20 at 11:29 +0530, Jay Parikh wrote:
Hi Omkar,

Do you have mysql installed on Ubuntu 14.04??
If so then there might be the root cause of this error.
Few days back i also got the same error but i resolved it by removing mysql client & server from system and installed MariaDB again.


To remove mysql completely from your system Just type in terminal:

sudo apt-get remove --purge mysql-server mysql-client mysql-common
sudo apt-get autoremove
sudo apt-get autoclean


On Wed, Aug 20, 2014 at 11:21 AM, Omkar Ghatpande <om...@gmail.com> wrote:
I'm trying to install frappe bench on Ubuntu 14.04.

The install script gives me an error:

Ign http://archive.ubuntu.com trusty/universe Translation-en_IN               
Fetched 1,562 kB in 40s (38.3 kB/s)                                           
Reading package lists... Done
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libxslt1.1 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 (>= 10.1.0+maria-1~trusty) but it is not going to be installed
mariadb-server : Depends: mariadb-server-10.1 (= 10.1.0+maria-1~trusty) but it is not going to be installed
python-mysqldb : Depends: libmysqlclient18 (>= 5.5.13-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

On trying to install MariaDB individually, I get a similar error:

om...@my-Vostro-1014:~$ sudo apt-get install mariadb-server
Reading package lists... Done
Building dependency tree      
Reading state information... Done
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:
mariadb-server : Depends: mariadb-server-10.1 (= 10.1.0+maria-1~trusty) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Any corrections/suggestions/pointers?

Thanks

Omkar




Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note



    You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1408515853.2691.9.camel%40omkar-Vostro-1014.

    For more options, visit https://groups.google.com/d/optout.