Package removal fails in case alternatives are deleted or damaged
-----------------------------------------------------------------

                 Key: BIGTOP-84
                 URL: https://issues.apache.org/jira/browse/BIGTOP-84
             Project: Bigtop
          Issue Type: Bug
          Components: Debian, RPM
    Affects Versions: 0.1.0
            Reporter: Roman Shaposhnik
            Assignee: Roman Shaposhnik
             Fix For: 0.2.0


Quite a few of our packages use alternatives --remove mta in there pre-unistall 
steps. This works fine for as long as the alternative is there and is not 
damaged, but prevents package removal in any other case:

# rpm -e hadoop-hive
....
error: %preun(hadoop-hive-0.7.1+42.4-2.noarch) scriptlet failed, exit status 2

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to