Bug 2165054 - "yum list installed" shows packages come from unknown repository "@System" after upgrade
Summary: "yum list installed" shows packages come from unknown repository "@System" af...
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: leapp-repository
Version: 7.9
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Leapp Notifications Bot
QA Contact: upgrades-and-conversions
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-27 14:21 UTC by Renaud Métrich
Modified: 2023-07-31 08:41 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OAMG-8367 0 None None None 2023-01-27 14:25:49 UTC
Red Hat Issue Tracker RHELPLAN-146710 0 None None None 2023-01-27 14:25:46 UTC

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.


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