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

Issue Installing PXC 8.0 from APT

NJSmithNJSmith Current User Role Contributor
So I've been following the instructions online at https://www.percona.com/doc/percona-xtradb-cluster/LATEST/install/apt.html#apt to install the 8.0 release of PXC, but I get the following error when running sudo apt update:
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://repo.percona.com/pxc-80/apt bionic InRelease' doesn't support architecture 'i386'
I've confirmed that the server is running on amd64, not i386, so I'm not sure why it is looking for that architecture.  Overriding the architecture in the percona-pxc-80-release.list allows apt update to complete, but then I get an error saying it can't find the percona-xtradb-cluster-80-full package.
Output of uname -all is:
Linux ballys 4.15.0-96-generic #97-Ubuntu SMP Wed Apr 1 03:25:46 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Can anyone help?


Answers

  • Evgeniy PatlanEvgeniy Patlan Percona Percona Staff Role
    edited May 15
    Hi.
    I've tried to reproduce this issue but without success
    [email protected]:~$ sudo percona-release setup pxc-80
    * Disabling all Percona Repositories
    * Enabling the Percona XtraDB Cluster 8.0 repository
    * Enabling the Percona Tools repository
    Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
    Get:2 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                               
    Get:3 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                               
    Get:4 http://repo.percona.com/pxc-80/apt bionic InRelease [6,881 B]                                                   
    Get:5 http://repo.percona.com/tools/apt bionic InRelease [15.9 kB]                                                     
    Get:6 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]                                                    
    Get:7 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [8,570 kB]                                       
    Get:8 http://repo.percona.com/pxc-80/apt bionic/main Sources [1,136 B]                                                 
    Get:9 http://repo.percona.com/pxc-80/apt bionic/main amd64 Packages [6,922 B]                                                          
    Get:10 http://repo.percona.com/tools/apt bionic/main Sources [7,924 B]                                      
    Get:11 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [710 kB]
    Get:12 http://repo.percona.com/tools/apt bionic/main amd64 Packages [25.9 kB]                           
    Get:13 http://archive.ubuntu.com/ubuntu bionic/universe Translation-en [4,941 kB]                                                
    Get:14 http://security.ubuntu.com/ubuntu bionic-security/main Translation-en [226 kB]     
    Get:15 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [40.3 kB]            
    Get:16 http://security.ubuntu.com/ubuntu bionic-security/restricted Translation-en [10.2 kB]         
    Get:17 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [662 kB]                     
    Get:18 http://security.ubuntu.com/ubuntu bionic-security/universe Translation-en [220 kB]                     
    Get:19 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7,392 B]                
    Get:20 http://security.ubuntu.com/ubuntu bionic-security/multiverse Translation-en [2,788 B]            
    Get:21 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [151 kB]                       
    Get:22 http://archive.ubuntu.com/ubuntu bionic/multiverse Translation-en [108 kB]
    Get:23 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [933 kB]
    Get:24 http://archive.ubuntu.com/ubuntu bionic-updates/main Translation-en [319 kB]
    Get:25 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [50.1 kB]
    Get:26 http://archive.ubuntu.com/ubuntu bionic-updates/restricted Translation-en [12.6 kB]
    Get:27 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1,068 kB]
    Get:28 http://archive.ubuntu.com/ubuntu bionic-updates/universe Translation-en [332 kB]
    Get:29 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [15.5 kB]
    Get:30 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse Translation-en [6,352 B]
    Get:31 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [7,516 B]
    Get:32 http://archive.ubuntu.com/ubuntu bionic-backports/main Translation-en [4,764 B]
    Get:33 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [7,484 B]
    Get:34 http://archive.ubuntu.com/ubuntu bionic-backports/universe Translation-en [4,436 B]
    Fetched 18.7 MB in 4s (4,924 kB/s)               
    Reading package lists... Done
    [email protected]:~$ sudo apt install percona-xtradb-cluster-full
    Reading package lists... Done
    Building dependency tree        
    Reading state information... Done
    The following additional packages will be installed:
     debsums libaio1 libboost-program-options1.65.1 libdbd-mysql-perl libdbi-perl libdpkg-perl libev4 libfile-fcntllock-perl
     libfile-fnmatch-perl libmecab2 libmysqlclient20 mysql-common percona-xtradb-cluster-client percona-xtradb-cluster-common
     percona-xtradb-cluster-dbg percona-xtradb-cluster-garbd percona-xtradb-cluster-garbd-debug percona-xtradb-cluster-server
     percona-xtradb-cluster-server-debug percona-xtradb-cluster-test qpress socat
    Suggested packages:
     libclone-perl libmldbm-perl libnet-daemon-perl libsql-statement-perl debian-keyring gcc | c-compiler binutils bzr tinyca pv
    The following NEW packages will be installed:
     debsums libaio1 libboost-program-options1.65.1 libdbd-mysql-perl libdbi-perl libdpkg-perl libev4 libfile-fcntllock-perl
     libfile-fnmatch-perl libmecab2 libmysqlclient20 mysql-common percona-xtradb-cluster-client percona-xtradb-cluster-common
     percona-xtradb-cluster-dbg percona-xtradb-cluster-full percona-xtradb-cluster-garbd percona-xtradb-cluster-garbd-debug
     percona-xtradb-cluster-server percona-xtradb-cluster-server-debug percona-xtradb-cluster-test qpress socat
    0 upgraded, 23 newly installed, 0 to remove and 22 not upgraded.
    Need to get 831 MB of archives.
    After this operation, 1,813 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
  • NJSmithNJSmith Current User Role Contributor
    The documentation states that the package to install is percona-xtradb-cluster-full-80, not percona-xtradb-cluster-full as you showed in your example.  Trying to install the percona-xtradb-cluster-full package gives me a different error regarding dependencies, which we will look into on our end, as we are noticing other weird situations on this particular server.
  • Evgeniy PatlanEvgeniy Patlan Percona Percona Staff Role
    hi @NJSmith
    Thanks for notifying about the issue in documentation. It should be fixed in the nearest future.
    If you show me the issue which you have with installation - I would try to help you.
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.