RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1784427 - microdnf install --nodocs fails on latest ubi8-minimal (8.1)
Summary: microdnf install --nodocs fails on latest ubi8-minimal (8.1)
Keywords:
Status: CLOSED DUPLICATE of bug 1779757
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: microdnf
Version: 8.1
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: 8.0
Assignee: Packaging Maintenance Team
QA Contact: swm-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-17 12:07 UTC by Alex Martinez
Modified: 2020-01-08 13:49 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-08 13:49:59 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Alex Martinez 2019-12-17 12:07:38 UTC
Description of problem:

Passing --nodocs to microdnf such as:

# microdnf install --nodocs elfutils

fails with error code 141 and no error message. The last thing the process outputs is "Running transaction test..." before exiting.

Version-Release number of selected component (if applicable):

ubi8-minimal:latest - /etc/os-release says RHEL 8.1 (Ootpa)

How reproducible:

Always

Steps to Reproduce:
1. Download the image registry.access.redhat.com/ubi8/ubi-minimal:latest (8.1 as of Dec 17th 2019)
2. Run: podman run -ti ubi-minimal /bin/bash
2. Run (as root within the container): microdnf install --nodocs elfutils

Actual results:

The process exits without installing anything after printing out "Running transaction test..."

Expected results:

microdnf installs elfutils and dependencies.

Additional info:

Couldn't even check the version of microdnf as it does not print it out.

Comment 1 Jindrich Novy 2019-12-17 12:16:32 UTC

*** This bug has been marked as a duplicate of bug 1779757 ***

Comment 2 Alex Martinez 2019-12-17 13:30:18 UTC
JFYI I must note that although #1779757 is very closely related, packages in this case _do not_ get installed, but they are actually installed correctly if I omit the --nodocs flag.

Thanks!

Comment 3 Jindrich Novy 2019-12-17 13:38:47 UTC
Thanks Alex, let's keep this one separate then as it might be a different but related issue.

Comment 4 Lukáš Hrázký 2020-01-08 13:49:59 UTC
(In reply to Alex Martinez from comment #2)
> JFYI I must note that although #1779757 is very closely related, packages in
> this case _do not_ get installed, but they are actually installed correctly
> if I omit the --nodocs flag.

Alex, this bug most likely is a duplicate of bug 1779757. I'm not sure I understand you here - if the crash happens, the packages don't get installed and you get the exit code 141. The crash is actually not directly related to --nodocs, but it's a race condition that can happen randomly and the --nodocs switch can alter the circumstances so that you may observe it does influence the behavior for your case.

The fix will be included RHEL 8.2. I'll mark this as a duplicate again, if I misunderstood please feel free to reopen, but I'm really quite certain the issue is the same.

*** This bug has been marked as a duplicate of bug 1779757 ***


Note You need to log in before you can comment on or make changes to this bug.