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

Ubuntu Foundations Team Bug Bot 1594670 at bugs.launchpad.net
Tue Jul 12 16:28:46 UTC 2016


The attachment "rpm-fix-preun.debdiff" seems to be a patch.  If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]

** Tags added: patch

-- 
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:
  Confirmed

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