Comment 7 for bug 1771869

Revision history for this message
Vincent Gerris (vgerris) wrote : Re: [Bug 1771869] Re: [SRU] apt purge/remove percona-xtradb-cluster-server-5.7 postrm fails

hi,

I tested the package by downloading and:
 - it upgrades the current version
 - is able to be removed : I guess that is the main factor
 - can be installed again
 - the database starts and is accessible

Seems like it works, thank you and I hope we see it in Release soon.

On Wed, Jun 6, 2018 at 4:39 PM, Robie Basak <email address hidden>
wrote:

> Hello Corey, or anyone else affected,
>
> Accepted percona-xtradb-cluster-5.7 into bionic-proposed. The package
> will build now and be available at https://launchpad.net/ubuntu/+source
> /percona-xtradb-cluster-5.7/5.7.20-29.24-0ubuntu2.1 in a few hours, and
> then in the -proposed repository.
>
> Please help us by testing this new package. See
> https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
> to enable and use -proposed.Your feedback will aid us getting this
> update out to other Ubuntu users.
>
> 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-bionic to verification-done-bionic. If it does not
> fix the bug for you, please add a comment stating that, and change the
> tag to verification-failed-bionic. In either case, details of your
> testing will help us make a better decision.
>
> Further information regarding the verification process can be found at
> https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
> advance!
>
> ** Changed in: percona-xtradb-cluster-5.7 (Ubuntu Bionic)
> Status: Triaged => Fix Committed
>
> ** Tags added: verification-needed verification-needed-bionic
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1771869
>
> Title:
> [SRU] apt purge/remove percona-xtradb-cluster-server-5.7 postrm fails
>
> Status in percona-xtradb-cluster-5.7 package in Ubuntu:
> Fix Released
> Status in percona-xtradb-cluster-5.7 source package in Bionic:
> Fix Committed
>
> Bug description:
> [Impact]
>
> Both of the following commands fail:
>
> apt remove percona-xtradb-cluster-server-5.7
> apt purge percona-xtradb-cluster-server-5.7
>
> with:
>
> Removing percona-xtradb-cluster-server-5.7 (5.7.20-29.24-0ubuntu2) ...
> dpkg: error processing package percona-xtradb-cluster-server-5.7
> (--remove):
> installed percona-xtradb-cluster-server-5.7 package post-removal
> script subprocess returned error exit status 1
> Errors were encountered while processing:
> percona-xtradb-cluster-server-5.7
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> The case statement in the postrm script has a 'purge)' case but no
> 'remove)' case. Therefore when called with the remove parameter (which
> occurs for both apt purge and apt remove), no match is found in the
> case statement, and the '*)' path is taken which calls 'exit 1'.
>
> [Testcase]
>
> apt remove/purge should be successful. See [Impact] section for
> failure that should no longer be encountered.
>
> [Regression Potential]
> Low. This just updates the postrm script to add a no-op 'remove' case.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/percona-xtradb-
> cluster-5.7/+bug/1771869/+subscriptions
>