[SRU] apt purge/remove percona-xtradb-cluster-server-5.7 postrm fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
percona-xtradb-cluster-5.7 (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Bionic |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
Both of the following commands fail:
apt remove percona-
apt purge percona-
with:
Removing percona-
dpkg: error processing package percona-
installed percona-
Errors were encountered while processing:
percona-
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.
summary: |
- apt purge/remove of percona-xtradb-cluster-server-5.7 postrm failure + apt purge/remove of percona-xtradb-cluster-server-5.7 postrm fails |
summary: |
- apt purge/remove of percona-xtradb-cluster-server-5.7 postrm fails + [SRU] apt purge/remove of percona-xtradb-cluster-server-5.7 postrm fails |
summary: |
- [SRU] apt purge/remove of percona-xtradb-cluster-server-5.7 postrm fails + [SRU] apt purge/remove percona-xtradb-cluster-server-5.7 postrm fails |
description: | updated |
Changed in percona-xtradb-cluster-5.7 (Ubuntu): | |
importance: | Undecided → High |
status: | Confirmed → Triaged |
Changed in percona-xtradb-cluster-5.7 (Ubuntu Bionic): | |
importance: | Undecided → High |
status: | New → Triaged |
description: | updated |
description: | updated |
description: | updated |
Status changed to 'Confirmed' because the bug affects multiple users.