# Percona yum repo overwrites CentOS 6 packages unintentionally

**URL:** <https://forums.percona.com/t/percona-yum-repo-overwrites-centos-6-packages-unintentionally/5046>\
**Category:** Percona Toolkit\
**Created:** [August 24, 2016, 2:57am UTC](https://forums.percona.com/t/percona-yum-repo-overwrites-centos-6-packages-unintentionally/5046 "2016-08-24T02:57:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roos](https://avatars.discourse-cdn.com/v4/letter/r/cab0a1/32.png) [@roos](https://forums.percona.com/u/roos)\
**Post date:** [August 24, 2016, 2:57am UTC](https://forums.percona.com/t/percona-yum-repo-overwrites-centos-6-packages-unintentionally/5046/1 "2016-08-24T02:57:18Z")

</div>

The percona-release rpm and the whole Percona rpm package mechanism is suboptimal for standard CentOS 6 installtions.

1. mysql-libs is automatically replaced by Percona-Server-shared-51, which leads to mysqldump and other stock-CentOS6 MySQL 5.1 tools to stop working
2. /etc/my.cnf is automatically replaced by a default one, if you remove the Percona-Server-shared-51 rpm using “rpm -e --nodeps Percona-Server-shared-51”. You need to move /etc/my.cnf.rpmsave to /etc/my.cnf
3. Why is the packaging of Percona harmful to the stock CentOS 6 packages? Other repositories like EPEL do not overwrite/replace standard packages. When, like in my case, you do NOT want to install the Percona MySQL Server, but only percona-toolkit or xtrabackup, you must explicitely include these packages in /etc/yum.repos.d/percona-release.repo, otherwise you hose your installation. If I want to install any Percona packages instead of the standard ones, I do so on intention.

So please remove the package aliases for the standard CentOS package names / categories, to avoid the sock packages to automatically beeing replaced by your stuff.

---

<div class="post-metadata">

**Author:** ![Leonardo\_Erpi](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/leonardo_erpi/32/9800_2.png) [@Leonardo\_Erpi](https://forums.percona.com/u/Leonardo_Erpi)\
**Post date:** [August 24, 2016, 9:39am UTC](https://forums.percona.com/t/percona-yum-repo-overwrites-centos-6-packages-unintentionally/5046/2 "2016-08-24T09:39:36Z")

</div>

Hi roos, please report this as a bug at Launchpad → [URL][https://bugs.launchpad.net/percona-server/+filebug[/URL]](https://bugs.launchpad.net/percona-server/+filebug%5B/URL%5D)
