Bug 2165054

Summary: "yum list installed" shows packages come from unknown repository "@System" after upgrade
Product: Red Hat Enterprise Linux 7 Reporter: Renaud Métrich <rmetrich>
Component: leapp-repositoryAssignee: Leapp Notifications Bot <leapp-notifications-bot>
Status: ASSIGNED --- QA Contact: upgrades-and-conversions
Severity: low Docs Contact:
Priority: low    
Version: 7.9CC: mbocek, pstodulk
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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 Renaud Métrich 2023-01-27 14:21:24 UTC
Description of problem:

When upgrading a system using leapp, after the upgrade, "yum list installed" command reports installed packages were installed by "System" repository, which is quite confusing, e.g.:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
zstd.x86_64                                      1.4.4-1.el8                                 @System                          
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------

This seems to happen because at the time of the upgrade, a local repository containing all the packages was somehow called "System", even though I don't find any reference to this in Leapp code.


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

leapp-0.15.0-2.el7_9.noarch
leapp-upgrade-el7toel8-0.17.0-1.el7_9.noarch

How reproducible:

Always

Steps to Reproduce:
1. Execute leapp
2. Check "yum list installed" after upgrade

Actual results:

@System everywhere

Expected results:

Ideally the name of the repository package came from

Additional info:

This is quite confusing for system administrators trying to track package releases and repos packages are coming from

Comment 3 Petr Stodulka 2023-01-30 11:08:21 UTC
Hi Renaud, thank you for the report. This is weird. We will investigate it. I would expect to see normal repoids to be used instead of "@system". We will look at it with the DNF team to investigate the root cause.

Comment 4 Michal Bocek 2023-07-31 08:41:41 UTC
It might be related to this dnf bug https://bugzilla.redhat.com/show_bug.cgi?id=1879168.