Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-35407

Suppress STDERR while determining rpm package vendor and version in %prein scriptlet

    XMLWordPrintable

Details

    Description

      From https://github.com/MariaDB/server/pull/3465

      %prein(MariaDB-server-11.4.3-1.el9.x86_64) scriptlet failed, exit status 1
      

      The message is:

      The current MariaDB server package is provided by a different vendor (warning: Signature not supported. Hash algorithm SHA1 not available. MariaDB Foundation).
       
      The `warning: Signature not supported. Hash algorithm SHA1 not available` is taken from the STDERR.
      

      # # rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\n'
      warning: Signature not supported. Hash algorithm SHA1 not available.
      gpg-pubkey-73e3b907-6581b071
      

      rpm package vendor and version should be grepped from STDIN only.

      Attachments

        Activity

          People

            danblack Daniel Black
            danblack Daniel Black
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0d
                0d
                Logged:
                Time Spent - 0.5h
                0.5h

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.