본문 바로가기

리눅스

percona-release 패키지의 설치 중에 post-installation 스크립트에서 오류

반응형

percona-release 패키지의 설치 중에 post-installation 스크립트에서 오류

$ sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb
Selecting previously unselected package percona-release.
(Reading database ... 16512 files and directories currently installed.)
Preparing to unpack percona-release_latest.jammy_all.deb ...
Unpacking percona-release (1.0-27.generic) ...
Setting up percona-release (1.0-27.generic) ...
dpkg: error processing package percona-release (--install):
 installed percona-release package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
 percona-release

 

sudo apt-get install -y gnupg
$ sudo apt-get install -y gnupg
...
Setting up percona-release (1.0-27.generic) ...
* Enabling the Percona Original repository
<*> All done!
==> Please run "apt-get update" to apply changes
* Enabling the Percona Release repository
<*> All done!
==> Please run "apt-get update" to apply changes
The percona-release package now contains a percona-release script that can enable additional repositories for our newer products.

For example, to enable the Percona Server 8.0 repository use:

  percona-release setup ps80

Note: To avoid conflicts with older product versions, the percona-release setup command may disable our original repository for some products.

For more information, please visit:
  https://www.percona.com/doc/percona-repo-config/percona-release.html

...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...

 

sudo apt-get install -y percona-xtrabackup-80
$ sudo apt-get install -y percona-xtrabackup-80
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  curl libcurl4 libcurl4-openssl-dev libdbd-mysql-perl libdbi-perl libev4 libmysqlclient21 libpopt0 mysql-common rsync
Suggested packages:
  libcurl4-doc libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev libssl-dev pkg-config zlib1g-dev libclone-perl libmldbm-perl
  libnet-daemon-perl libsql-statement-perl python3-braceexpand
The following NEW packages will be installed:
  libcurl4-openssl-dev libdbd-mysql-perl libdbi-perl libev4 libmysqlclient21 libpopt0 mysql-common percona-xtrabackup-80 rsync
The following packages will be upgraded:
  curl libcurl4
2 upgraded, 9 newly installed, 0 to remove and 14 not upgraded.
Need to get 46.7 MB of archives.
After this operation, 148 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
...
invoke-rc.d: policy-rc.d denied execution of start.
/usr/sbin/policy-rc.d returned 101, not running 'start rsync.service'
Setting up percona-xtrabackup-80 (8.0.35-30-1.jammy) ...
Processing triggers for libc-bin (2.35-0ubuntu3.6) ...

 

728x90
반응형