Public bug reported:
---Problem Description---
rpm erase does not honour a non-zero exit code from preuninstall scriptlet.
---uname output---
Linux kanyu 4.4.0-22-generic #40-Ubuntu SMP Thu May 12 22:03:46 UTC 2016 x86_64
x86_64 x86_64 GNU/Linux
Machine Type = VMware
---Debugger---
A debugger is not configured
---Steps to Reproduce---
Install the IBM MQ rpms
create and start a queue manager
attempt to uninstall ( rpm -qa | grep MQSeries | xargs rpm -e)
preuninstall scriptlets correct exit with status of 1 but rpm continues with
erase.
This is occurring on x86_64, ppcle and Z
rpm on Ubuntu 14.4 and earlier behaved as expected, erase aborted on non-zero
exit from preun
ats@kanyu:~$ apt list rpm
Listing... Done
rpm/xenial,now 4.12.0.1+dfsg1-3build3 amd64 [installed]
ats@kanyu:~$
Userspace tool common name: rpm
The userspace tool has the following bit modes: 64-bit
Userspace rpm: rpm/xenial,now 4.12.0.1+dfsg1-3build3 amd64
** Affects: ubuntu
Importance: Undecided
Assignee: Taco Screen team (taco-screen-team)
Status: New
** Tags: architecture-all bugnameltc-142844 severity-high
targetmilestone-inin1604
** Tags added: architecture-all bugnameltc-142844 severity-high
targetmilestone-inin1604
** Changed in: ubuntu
Assignee: (unassigned) => Taco Screen team (taco-screen-team)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1594670
Title:
rpm on ubuntu 16.04 fails to honor non-zero exit from preun scriptlet
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1594670/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs