Packaging bug prevents install of PXC 5.6
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | percona-xtradb-cluster-5.6 (Ubuntu) |
High
|
George Ormond Lorch III | ||
| | Vivid |
High
|
George Ormond Lorch III | ||
Bug Description
[Impact]
Package is unusable.
[Development Fix]
None, since Vivid+1 is not yet open.
[Stable Fix]
Fix package build to correctly arch-specific dh_install files in the binary-arch target.
[Test Case]
apt-get install percona-
Expected results: success
Actual results:
Setting up percona-
update-
dpkg: error processing package percona-
subprocess installed post-installation script returned error exit status 2
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for systemd (219-7ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
percona-
E: Sub-process /usr/bin/dpkg returned an error code (1)
[Regression Potential]
None, since package was unusable before.
[Original Description]
I encountered errors when installing Percona XtraDB Cluster 5.6 in 15.04 from the Universe repo.
Setting up percona-
update-
dpkg: error processing package percona-
subprocess installed post-installation script returned error exit status 2
Processing triggers for libc-bin (2.21-0ubuntu4) ...
Processing triggers for systemd (219-7ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
percona-
E: Sub-process /usr/bin/dpkg returned an error code (1)
More output is captured here:
http://
An initial investigation by Robie Basak from the Ubuntu Server Team at Canonical yielded the following:
Looks like a packaging bug - "dh_install -i" in the binary-arch target should be "dh-install -a", and "dh_installdebconf -i" in the same target shouldn't be there. I've not tested but that looks to be the likely cause to me - meaning that dh_install doesn't put the configuration into the corresponding (arch-dependendant) binary package.
Related branches
| George Ormond Lorch III (gl-az) wrote : | #1 |
| Changed in percona-xtradb-cluster-5.6 (Ubuntu): | |
| status: | New → Confirmed |
| assignee: | nobody → George Ormond Lorch III (gl-az) |
| Robie Basak (racb) wrote : | #2 |
Thanks George! We need to prepare an SRU and upload that. I can do it but I'm travelling and will be away for a week. I will try and find some time to get this fixed though. If you can find time in the meantime, it would be helpful if you could please follow https:/
Hopefully we'll get there faster that way, but I will still try and get to doing everything ASAP regardless.
| Changed in percona-xtradb-cluster-5.6 (Ubuntu): | |
| status: | Confirmed → Triaged |
| importance: | Undecided → High |
| Robie Basak (racb) wrote : | #3 |
SRU uploaded. Now awaiting review from the SRU team.
| description: | updated |
| Changed in percona-xtradb-cluster-5.6 (Ubuntu Vivid): | |
| status: | Triaged → In Progress |
| Matt Griffin (mattgriffin) wrote : | #4 |
Thanks @racb!
Hello Matt, or anyone else affected,
Accepted percona-
Please help us by testing this new package. See https:/
If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-
Further information regarding the verification process can be found at https:/
| Changed in percona-xtradb-cluster-5.6 (Ubuntu Vivid): | |
| status: | In Progress → Fix Committed |
| tags: | added: verification-needed |
| Matt Griffin (mattgriffin) wrote : | #6 |
I tested the new package from vivid-proposed and was able to successfully install Percona XtraDB Cluster 5.6.
| Matt Griffin (mattgriffin) wrote : | #7 |
Tested version 5.6.21-
| tags: |
added: verification-done removed: verification-needed |
| Dr. Jens Harbott (j-harbott) wrote : | #8 |
I think there is still something wrong with the packaging here, I get:
~# apt-get install percona-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'percona-
E: Release 'proposed-updates' for 'percona-
and the package percona-
| Robie Basak (racb) wrote : | #9 |
@Jens
You want /proposed, not /proposed-updates. See https:/
| Dr. Jens Harbott (j-harbott) wrote : | #10 |
Ah, right, that works better now, thanks and sorry for disturbing. ;)
| Launchpad Janitor (janitor) wrote : | #11 |
This bug was fixed in the package percona-
---------------
percona-
* Fix percona-
'dh_install -i' to 'dh_install -a' and remove
'dh_
-- Robie Basak <email address hidden> Wed, 29 Apr 2015 15:07:04 +0000
| Changed in percona-xtradb-cluster-5.6 (Ubuntu Vivid): | |
| status: | Fix Committed → Fix Released |
The verification of the Stable Release Update for percona-
| Launchpad Janitor (janitor) wrote : | #13 |
This bug was fixed in the package percona-
---------------
percona-
* Fix percona-
'dh_install -i' to 'dh_install -a' and remove
'dh_
-- Robie Basak <email address hidden> Wed, 29 Apr 2015 15:07:04 +0000
| Changed in percona-xtradb-cluster-5.6 (Ubuntu): | |
| status: | In Progress → Fix Released |


Confirmed on a fresh install of 15.04.
Fixed, retested and pushed to https:/ /github. com/percona/ debian- percona- xtradb- cluster- 5.6 as https:/ /github. com/percona/ debian- percona- xtradb- cluster- 5.6/commit/ 0dbc110ccdc6110 601c8d24d4914cd 01cdac62b0