# Error when install percona xtradb 57

**URL:** <https://forums.percona.com/t/error-when-install-percona-xtradb-57/7142>\
**Category:** Percona XtraDB Cluster 5.x\
**Created:** [July 30, 2019, 3:38am UTC](https://forums.percona.com/t/error-when-install-percona-xtradb-57/7142 "2019-07-30T03:38:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dangquan09](https://avatars.discourse-cdn.com/v4/letter/d/65b543/32.png) [@dangquan09](https://forums.percona.com/u/dangquan09)\
**Post date:** [July 30, 2019, 3:38am UTC](https://forums.percona.com/t/error-when-install-percona-xtradb-57/7142/1 "2019-07-30T03:38:06Z")

</div>

hi,  
im val,

i need to upgrade my pxc from 56 to 57 without removing data dir,  
i do this step :

1. Make sure that all nodes are synchronized \>\>\>clustercheck
2. Stop mysql \>\>\> /etc/init.d/mysql stop
3. Remove config \>\>\> rm -rf /etc/mysql/my.cnf\*
4. install percona \>\> apt-get install percona-xtradb-cluster-57

when i intstall i get msg error :

Job for mysql.service failed. See ‘systemctl status mysql.service’ and ‘journalctl -xn’ for details.  
invoke-rc.d: initscript mysql, action “start” failed.  
dpkg: error processing package percona-xtradb-cluster-server-5.7 (–configure):  
subprocess installed post-installation script returned error exit status 1  
dpkg: dependency problems prevent configuration of percona-xtradb-cluster-57:  
percona-xtradb-cluster-57 depends on percona-xtradb-cluster-server-5.7 (\>= 5.7.25-31.35-1.jessie); however:  
Package percona-xtradb-cluster-server-5.7 is not configured yet.

dpkg: error processing package percona-xtradb-cluster-57 (–configure):  
dependency problems - leaving unconfigured  
Processing triggers for libc-bin (2.19-18+deb8u10) …  
Processing triggers for systemd (215-17+deb8u7) …  
Errors were encountered while processing:  
percona-xtradb-cluster-server-5.7  
percona-xtradb-cluster-57  
E: Sub-process /usr/bin/dpkg returned an error code (1)

would you help me to solve this ??

---

<div class="post-metadata">

**Author:** ![lorraine.pocklington](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/lorraine.pocklington/32/37_2.png) [@lorraine.pocklington](https://forums.percona.com/u/lorraine.pocklington)\
**Post date:** [July 30, 2019, 4:24am UTC](https://forums.percona.com/t/error-when-install-percona-xtradb-57/7142/2 "2019-07-30T04:24:00Z")

</div>

Hi val

Did you follow the steps in this guide? [URL][Redirecting](https://www.percona.com/doc/percona-xtradb-cluster/LATEST/howtos/upgrade_guide.html%5B/URL%5D)

If you did, and you are still encountering these problems… [LIST=1]  
[_]Could you upload the mysql.conf files for each node please?  
[_]Also log file(s) and details of the server environment you are on?  
[/LIST]
