Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-101176

microdnf often fails with "error: Parsing armored OpenPGP packet(s) failed"

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • librepo-1.18.0-5.el10_0
    • None
    • Moderate
    • rhel-swm
    • ssg_core_services
    • 0
    • None
    • None
    • Hide

      AC: An situation when microdnf fails with "error: Parsing armored OpenPGP packet(s) failed" is fixed.

      Test: No reliable reproducer, therefore following will be tested:

      • Gating results for preliminary testing
      • Sanity and Regression testing on the errata level for final verification
      • Unit test verification during build-time for preliminary testing and final verification.
      Show
      AC: An situation when microdnf fails with "error: Parsing armored OpenPGP packet(s) failed" is fixed. Test: No reliable reproducer, therefore following will be tested: Gating results for preliminary testing Sanity and Regression testing on the errata level for final verification Unit test verification during build-time for preliminary testing and final verification.
    • Pass
    • RegressionOnly
    • All
    • None

      What were you trying to do that didn't work?

      When using ubi-minimal 10 and trying to "microdnf" install anything, quite often (at least 50% of the time) it fails with some error "error: Parsing armored OpenPGP packet(s) failed".

      What is the impact of this issue to you?

      Installing packages when using the "minimal" flavor of RHEL 10/UBI 10 is very unreliable.

      Please provide the package NVR for which the bug is seen:

      librepo-1.18.0-3.el10.x86_64

      How reproducible is this bug?:

      Steps to reproduce

      1. Do this many times in a many fresh UBI container: `microdnf install -y vim`

      Expected results

      Installation works all the time.

      Actual results

      It randomly fails (up to 50% of the time) with `error: Parsing armored OpenPGP packet(s) failed`.

      Note that this was reported upstream in https://github.com/rpm-software-management/dnf/issues/2107 and later fixed in https://github.com/rpm-software-management/librepo/pull/325 so I am going to submit a pull request to backport it in CentOS/RHEL 10.

              amatej@redhat.com Ales Matej
              romain.geissler@amadeus.com Romain Geissler (Inactive)
              packaging-team-maint packaging-team-maint
              Martin Banas Martin Banas
              Votes:
              1 Vote for this issue
              Watchers:
              14 Start watching this issue

                Created:
                Updated:
                Resolved: