Not the answer you need?
Register and ask your own question!

Fixing 'ERROR: Unknown repository: percona' in percona-release

Sergey BearSergey Bear EntrantLegacy User Role Novice
On RHEL/Centos after updating percona-release to percona-release-1.0-4.noarch percona repository become disabled and suggested command to reenable it throws an error:

Fo example trying to setup percona 5.7 repository:

# percona-release setup ps57
* Disabling all Percona Repositories
ERROR: Unknown repository: percona
Available repositories are: original ps-80 pxc-80 psmdb-40 tools

Fixing bug in script:

# sed -i 's/percona tools/original tools/' /usr/bin/percona-release

Trying to setup percona 5.7 repository again:

# percona-release setup ps57
* Disabling all Percona Repositories
* Enabling the Percona Original repository
* Enabling the Percona Tools repository
<*> All done!

Ta-da!
P.S. Sorry, had no time to register and report a bug in percona's jira.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.