Bug 1691353

Summary: microdnf prints Installing: (null) when installing packages
Product: Red Hat Enterprise Linux 8 Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: microdnfAssignee: Jaroslav Rohel <jrohel>
Status: CLOSED ERRATA QA Contact: Luca Berton <lberton>
Severity: unspecified Docs Contact:
Priority: low    
Version: 8.0CC: amatej, jpazdziora, jrohel, lberton
Target Milestone: rcKeywords: Triaged
Target Release: 8.0Flags: lberton: needinfo+
pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: microdnf-3.0.1-8.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-04-28 16:55:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pazdziora (Red Hat) 2019-03-21 13:21:54 UTC
Description of problem:

Among the "Installing: <package>" lines, there are also "Installing: (null)" reports.

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

microdnf-3.0.1-1.el8.x86_64
libdnf-0.22.5-4.el8.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. microdnf install gcc

Actual results:

# microdnf install gcc
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package                                                 Repository          Size
Installing:                                                                     
 binutils-2.30-49.el8.x86_64                            beaker-BaseOS     6.0 MB
 cpp-8.2.1-3.5.el8.x86_64                               beaker-AppStrea  10.7 MB
 gcc-8.2.1-3.5.el8.x86_64                               beaker-AppStrea  23.9 MB
 glibc-devel-2.28-42.el8.x86_64                         beaker-BaseOS     1.1 MB
 glibc-headers-2.28-42.el8.x86_64                       beaker-BaseOS   475.6 kB
 isl-0.16.1-6.el8.x86_64                                beaker-AppStrea 861.3 kB
 kernel-headers-4.18.0-80.el8.x86_64                    beaker-BaseOS     1.6 MB
 libmpc-1.0.2-9.el8.x86_64                              beaker-AppStrea  60.1 kB
 libxcrypt-devel-4.1.1-4.el8.x86_64                     beaker-BaseOS    25.6 kB
Transaction Summary:
 Installing:        9 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Installing: libmpc;1.0.2-9.el8;x86_64;beaker-AppStream
Installing: cpp;8.2.1-3.5.el8;x86_64;beaker-AppStream
Installing: kernel-headers;4.18.0-80.el8;x86_64;beaker-BaseOS
Installing: glibc-headers;2.28-42.el8;x86_64;beaker-BaseOS
Installing: libxcrypt-devel;4.1.1-4.el8;x86_64;beaker-BaseOS
Installing: glibc-devel;2.28-42.el8;x86_64;beaker-BaseOS
Installing: binutils;2.30-49.el8;x86_64;beaker-BaseOS
Installing: (null)
Installing: isl;0.16.1-6.el8;x86_64;beaker-AppStream
Installing: (null)
Installing: gcc;8.2.1-3.5.el8;x86_64;beaker-AppStream
Installing: (null)
Installing: (null)
Complete.

Expected results:

# microdnf install gcc
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Downloading metadata...
Package                                                 Repository          Size
Installing:                                                                     
 binutils-2.30-49.el8.x86_64                            beaker-BaseOS     6.0 MB
 cpp-8.2.1-3.5.el8.x86_64                               beaker-AppStrea  10.7 MB
 gcc-8.2.1-3.5.el8.x86_64                               beaker-AppStrea  23.9 MB
 glibc-devel-2.28-42.el8.x86_64                         beaker-BaseOS     1.1 MB
 glibc-headers-2.28-42.el8.x86_64                       beaker-BaseOS   475.6 kB
 isl-0.16.1-6.el8.x86_64                                beaker-AppStrea 861.3 kB
 kernel-headers-4.18.0-80.el8.x86_64                    beaker-BaseOS     1.6 MB
 libmpc-1.0.2-9.el8.x86_64                              beaker-AppStrea  60.1 kB
 libxcrypt-devel-4.1.1-4.el8.x86_64                     beaker-BaseOS    25.6 kB
Transaction Summary:
 Installing:        9 packages
 Reinstalling:      0 packages
 Upgrading:         0 packages
 Removing:          0 packages
 Downgrading:       0 packages
Downloading packages...
Running transaction test...
Installing: libmpc;1.0.2-9.el8;x86_64;beaker-AppStream
Installing: cpp;8.2.1-3.5.el8;x86_64;beaker-AppStream
Installing: kernel-headers;4.18.0-80.el8;x86_64;beaker-BaseOS
Installing: glibc-headers;2.28-42.el8;x86_64;beaker-BaseOS
Installing: libxcrypt-devel;4.1.1-4.el8;x86_64;beaker-BaseOS
Installing: glibc-devel;2.28-42.el8;x86_64;beaker-BaseOS
Installing: binutils;2.30-49.el8;x86_64;beaker-BaseOS
Installing: isl;0.16.1-6.el8;x86_64;beaker-AppStream
Installing: gcc;8.2.1-3.5.el8;x86_64;beaker-AppStream
Complete.

Additional info:

Comment 2 Jaroslav Rohel 2019-12-04 10:55:17 UTC
PR: https://github.com/rpm-software-management/microdnf/pull/60

Comment 5 Vratislav Hutsky 2020-01-08 09:02:08 UTC
Restoring previous qa_ack+ as agreed earlier.

Comment 12 errata-xmlrpc 2020-04-28 16:55:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2020:1855