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

debuginfo RPM packages do not depend on the RPM packages containing the binaries

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 10.2.24, 5.5.64, 10.1.40, 10.3.15, 10.4.5
    • N/A
    • Packaging

    Description

      I currently have the following packages installed:

      $ rpm -qa | grep -i maria
      MariaDB-compat-10.4.4-1.el7.centos.x86_64
      MariaDB-common-10.4.5-1.el7.centos.x86_64
      MariaDB-server-10.4.5-1.el7.centos.x86_64
      MariaDB-backup-10.4.5-1.el7.centos.x86_64
      MariaDB-backup-debuginfo-10.4.5-1.el7.centos.x86_64
      MariaDB-client-debuginfo-10.4.5-1.el7.centos.x86_64
      MariaDB-client-10.4.5-1.el7.centos.x86_64
      MariaDB-shared-10.4.5-1.el7.centos.x86_64
      MariaDB-server-debuginfo-10.4.5-1.el7.centos.x86_64
      MariaDB-shared-debuginfo-10.4.5-1.el7.centos.x86_64
      MariaDB-common-debuginfo-10.4.5-1.el7.centos.x86_64
      

      I would expect that the debuginfo packages would depend on the packages containing the binaries, but this is not the case. For example:

      $ rpm -q --requires MariaDB-server-debuginfo
      rpmlib(FileDigests) <= 4.6.0-1
      rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      rpmlib(CompressedFileNames) <= 3.0.4-1
      rpmlib(PayloadIsXz) <= 5.2-1
      $ rpm -q --requires MariaDB-client-debuginfo
      rpmlib(FileDigests) <= 4.6.0-1
      rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      rpmlib(CompressedFileNames) <= 3.0.4-1
      rpmlib(PayloadIsXz) <= 5.2-1
      $ rpm -q --requires MariaDB-shared-debuginfo
      rpmlib(FileDigests) <= 4.6.0-1
      rpmlib(PayloadFilesHavePrefix) <= 4.0-1
      rpmlib(CompressedFileNames) <= 3.0.4-1
      rpmlib(PayloadIsXz) <= 5.2-1
      

      This can cause problems when performing upgrades. For example, you could end up in a situation where a binary package is upgraded, but the debuginfo package is not.

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              GeoffMontee Geoff Montee (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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