I m install erpnext in VPS centOS please help me its urjent error occures

This number of error occur

and frappe-bench directory not create

please help me

Installing for centos 6 amd64
In case you encounter an error, you can post on https://discuss.frappe.io

Adding centos mariadb repo
Installing packages for centos. This might take time…
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile

  • base: centos.webwerks.com
  • epel: epel.mirror.net.in
  • extras: centos.webwerks.com
  • ius: hkg.mirror.rackspace.com
  • rpmforge: mirror.de.leaseweb.net
  • updates: centos.webwerks.com
    Package git-1.7.1-4.el6_7.1.x86_64 already installed and latest version
    Package MariaDB-client-10.0.24-1.el6.x86_64 already installed and latest version
    Package MariaDB-compat-10.0.24-1.el6.x86_64 already installed and latest version
    Package python-setuptools-0.6.10-3.el6.noarch already installed and latest version
    Package matching nginx-1.0.15-12.el6.x86_64 already installed. Checking for update.
    Package zlib-devel-1.2.3-29.el6.x86_64 already installed and latest version
    Package bzip2-devel-1.0.5-7.el6_0.x86_64 already installed and latest version
    Package openssl-devel-1.0.1e-42.el6_7.4.x86_64 already installed and latest version
    Package 2:postfix-2.6.6-6.el6_7.1.x86_64 already installed and latest version
    Package python27-devel-2.7.11-1.ius.centos6.x86_64 already installed and latest version
    Package python27-2.7.11-1.ius.centos6.x86_64 already installed and latest version
    Package libxml2-2.7.6-20.el6_7.1.x86_64 already installed and latest version
    Package libxml2-devel-2.7.6-20.el6_7.1.x86_64 already installed and latest version
    Package libxslt-1.1.26-2.el6_3.1.x86_64 already installed and latest version
    Package libxslt-devel-1.1.26-2.el6_3.1.x86_64 already installed and latest version
    Package redis-2.4.10-1.el6.x86_64 already installed and latest version
    Package MariaDB-devel-10.0.24-1.el6.x86_64 already installed and latest version
    Package libXrender-0.9.8-2.1.el6.x86_64 already installed and latest version
    Package libXext-1.3.2-2.1.el6.x86_64 already installed and latest version
    Package python27-setuptools-19.7-1.ius.centos6.noarch already installed and latest version
    Package cronie-1.4.4-15.el6_7.1.x86_64 already installed and latest version
    Package sudo-1.8.6p3-20.el6_7.x86_64 already installed and latest version
    Package which-2.19-6.el6.x86_64 already installed and latest version
    Package xorg-x11-fonts-Type1-7.2-11.el6.noarch already installed and latest version
    Package xorg-x11-fonts-75dpi-7.2-11.el6.noarch already installed and latest version
    Package nodejs-0.10.42-4.el6.x86_64 already installed and latest version
    Package npm-1.3.6-5.el6.noarch already installed and latest version
    Package libtiff-devel-3.9.4-10.el6_5.x86_64 already installed and latest version
    Package libjpeg-turbo-devel-1.2.1-3.el6_5.x86_64 already installed and latest version
    Package libzip-devel-0.9-3.1.el6.x86_64 already installed and latest version
    Package freetype-devel-2.3.11-15.el6_6.1.x86_64 already installed and latest version
    Package lcms2-devel-2.7-3.el6.x86_64 already installed and latest version
    Package libwebp-devel-0.4.3-3.el6.x86_64 already installed and latest version
    Package 1:tcl-devel-8.5.7-6.el6.x86_64 already installed and latest version
    Package 1:tk-devel-8.5.7-5.el6.x86_64 already installed and latest version
    Resolving Dependencies
    –> Running transaction check
    —> Package MariaDB-server.x86_64 0:10.0.24-1.el6 will be obsoleting
    —> Package mysql-server.x86_64 0:5.1.73-5.el6_7.1 will be obsoleted
    –> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size

Installing:
MariaDB-server x86_64 10.0.24-1.el6 mariadb 58 M
replacing mysql-server.x86_64 5.1.73-5.el6_7.1

Transaction Summary

Install 1 Package(s)

Total download size: 58 M
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Error in PREIN scriptlet in rpm package MariaDB-server-10.0.24-1.el6.x86_64


A MySQL or MariaDB server package (mysql-server-5.1.73-5.el6_7.1.x86_64) is installed.

The current MariaDB server package is provided by a different
vendor (CentOS) than Monty Program AB. Some files may be installed
to different locations, including log files and the service
startup script in /etc/init.d/.

Upgrading directly from MySQL 5.1 to MariaDB 10.0 may not
be safe in all cases. A manual dump and restore using mysqldump is
recommended. It is important to review the MariaDB manual’s Upgrading
section for version-specific incompatibilities.

A manual upgrade is required.

  • Ensure that you have a complete, working backup of your data and my.cnf
    files

  • Shut down the MySQL server cleanly

  • Remove the existing MySQL packages. Usually this command will
    list the packages you should remove:
    rpm -qa | grep -i ‘^mysql-’

    You may choose to use 'rpm --nodeps -ev ’ to remove
    the package which contains the mysqlclient shared library. The
    library will be reinstalled by the MariaDB-shared package.

  • Install the new MariaDB packages supplied by Monty Program AB

  • Ensure that the MariaDB server is started

  • Run the ‘mysql_upgrade’ program

This is a brief description of the upgrade process. Important details
can be found in the MariaDB manual, in the Upgrading section.


error: %pre(MariaDB-server-10.0.24-1.el6.x86_64) scriptlet failed, exit status 1
error: install: %pre scriptlet failed (2), skipping MariaDB-server-10.0.24-1.el6
Verifying : MariaDB-server-10.0.24-1.el6.x86_64 1/2mysql-server-5.1.73-5.el6_7.1.x86_64 was supposed to be removed but is not!

Verifying : mysql-server-5.1.73-5.el6_7.1.x86_64 2/2

Failed:
MariaDB-server.x86_64 0:10.0.24-1.el6 mysql-server.x86_64 0:5.1.73-5.el6_7.1

Complete!

Can you please try to manually upgrade MariaDB following the instructions given your error output. After that try installing erpnext.

thank you @KanchanChauhan

hello @KanchanChauhan

again this error occurs

This is a brief description of the upgrade process. Important details
can be found in the MariaDB manual, in the Upgrading section.


error: %pre(MariaDB-Galera-server-10.0.24-1.el6.x86_64) scriptlet failed, exit status 1
Error in PREIN scriptlet in rpm package MariaDB-Galera-server-10.0.24-1.el6.x86_64
error: install: %pre scriptlet failed (2), skipping MariaDB-Galera-server-10.0.24-1.el6
Verifying : MariaDB-Galera-server-10.0.24-1.el6.x86_64 1/2
mysql-server-5.1.73-5.el6_7.1.x86_64 was supposed to be removed but is not!
Verifying : mysql-server-5.1.73-5.el6_7.1.x86_64 2/2

Failed:
MariaDB-Galera-server.x86_64 0:10.0.24-1.el6 mysql-server.x86_64 0:5.1.73-5.el6_7.1

Where you able to remove all the packages?

Try removing mysql-server-5.1.73-5.el6_7.1.x86_64 manually :

rpm -e <package name>

which package name

The one it is complaining about. mysql-server-5.1.73-5.el6_7.1.x86_64