[Bug 1594670] Re: rpm on ubuntu 16.04 fails to honor non-zero exit from preun scriptlet

Bug Watch Updater 1594670 at bugs.launchpad.net
Mon Aug 1 16:17:59 UTC 2016


** Changed in: rpm (Debian)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rpm in Ubuntu.
https://bugs.launchpad.net/bugs/1594670

Title:
  rpm on ubuntu 16.04  fails to honor non-zero exit from preun scriptlet

Status in rpm package in Ubuntu:
  New
Status in rpm package in Debian:
  Fix Released

Bug description:
  ---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 at kanyu:~$ apt list rpm
  Listing... Done
  rpm/xenial,now 4.12.0.1+dfsg1-3build3 amd64 [installed]
  ats at 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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpm/+bug/1594670/+subscriptions



More information about the foundations-bugs mailing list