Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-84

Package removal fails in case alternatives are deleted or damaged

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.1.0
    • 0.2.0
    • debian, rpm
    • None

    Description

      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:

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

      Attachments

        1. BIGTOP-84.patch.txt
          8 kB
          Roman Shaposhnik

        Activity

          People

            rvs Roman Shaposhnik
            rvs Roman Shaposhnik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: