[DOC] Ubuntu/Debian install instructions not correct

Bug #1331866 reported by Ernie Souhrada
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Status tracked in 5.6
5.5
Fix Released
High
Hrvoje Matijakovic
5.6
Invalid
Undecided
Unassigned

Bug Description

This is fairly minor, I think, but under Ubuntu 14.04 / Trusty, these instructions do not work:

From here:
http://www.percona.com/doc/percona-xtradb-cluster/5.5/installation/apt_repo.html

"Following command will install Cluster packages:
$ sudo apt-get install percona-xtradb-cluster-55"

Here's what happens:
root@server:/etc/apt/sources.list.d# apt-get install percona-xtradb-cluster-55
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-xtradb-cluster-55 : Depends: percona-xtradb-cluster-galera-2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

This one also fails:
root@server:/etc/apt/sources.list.d# apt-get install percona-xtradb-cluster-full-55
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-xtradb-cluster-full-55 : Depends: percona-xtradb-cluster-galera-2 but it is not going to be installed
                                  Depends: percona-xtradb-cluster-galera2-dbg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

And finally, there is a mixup on the doc page with respect to the "full" package. Both of these packages are mentioned as possible installation options, but only one of them is valid (the first one).

percona-xtradb-cluster-full-55
percona-xtradb-cluster-55-full

This is the actual command line to do the installation:
# apt-get install percona-xtradb-cluster-55 percona-xtradb-cluster-galera-2.x

Tags: doc

Related branches

Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Yes, seems it was not updated in another place.

It was added only here http://www.percona.com/doc/percona-xtradb-cluster/5.5/installation.html#deb-based-systems

and yes, percona-xtradb-cluster-55-full is indeed invalid.

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

Verified with PXC 5.5 on Ubuntu.

nilnandan@nilnandan-Dell-XPS:~$ sudo apt-get install percona-xtradb-cluster-55
[sudo] password for nilnandan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-xtradb-cluster-55 : Depends: percona-xtradb-cluster-galera-2 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
nilnandan@nilnandan-Dell-XPS:~$

nilnandan@nilnandan-Dell-XPS:~$ sudo apt-get install percona-xtradb-cluster-full-55
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 percona-xtradb-cluster-full-55 : Depends: percona-xtradb-cluster-galera-2 but it is not going to be installed
                                  Depends: percona-xtradb-cluster-5.5-dbg (>= 5.5.37-25.10-756.trusty) but it is not going to be installed
                                  Depends: percona-xtradb-cluster-galera2-dbg but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
nilnandan@nilnandan-Dell-XPS:~$

http://www.percona.com/doc/percona-xtradb-cluster/5.5/installation/apt_repo.html -- this document needs to be updated.
http://www.percona.com/doc/percona-xtradb-cluster/5.5/installation.html#deb-based-systems -- like this.

Revision history for this message
Nilnandan Joshi (nilnandan-joshi) wrote :

No need to mention the same thing with PXC 5.6 as its automatically select all required packages.

nilnandan@nilnandan-Dell-XPS:~$ sudo apt-get install percona-xtradb-cluster-56
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libperconaserverclient18.1 linux-image-generic percona-server-common-5.6
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  percona-xtradb-cluster-client-5.6 percona-xtradb-cluster-common-5.6
  percona-xtradb-cluster-galera-3 percona-xtradb-cluster-galera-3.x
  percona-xtradb-cluster-server-5.6
Suggested packages:
  tinyca pv qpress
The following packages will be REMOVED:
  percona-server-5.6-dbg percona-server-client-5.6 percona-server-server-5.6
The following NEW packages will be installed:
  percona-xtradb-cluster-56 percona-xtradb-cluster-client-5.6
  percona-xtradb-cluster-common-5.6 percona-xtradb-cluster-galera-3
  percona-xtradb-cluster-galera-3.x percona-xtradb-cluster-server-5.6
0 upgraded, 6 newly installed, 3 to remove and 24 not upgraded.
Need to get 15.5 MB of archives.
After this operation, 140 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
nilnandan@nilnandan-Dell-XPS:~$

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1691

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.