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

Steve Langasek steve.langasek at canonical.com
Tue Jul 12 16:10:33 UTC 2016


Installing rpm packages on an Ubuntu system is not supported, at all;
it's expected that one use 'alien' to convert packages from rpm to deb
format before attempting to install them.

This bug therefore does not rise to the level of an SRU for 16.04.

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