Bug 2220861

Summary: dnf5 update ignoring new copr repo
Product: [Fedora] Fedora Reporter: Jens Petersen <petersen>
Component: dnf5Assignee: rpm-software-management
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: amatej, jkolarik, nsella, pkratoch, rpm-software-management
Target Milestone: ---Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-11 07:02:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2023-07-06 10:10:16 UTC
dnf 5 update seems to be ignoring newly setup copr repos.

Reproducible: Always

Steps to Reproduce:
1. dnf copr enable my/repo (which repo replaces some installed package)
2. dnf update

Actual Results:  
Nothing happens

Expected Results:  
dnf to update to newer package from copr repo (like dnf-3 does)

Comment 1 amatej 2023-07-10 04:40:41 UTC
I think this might be because of the switch of `allow_vendor_change` default configuration to false.
https://dnf5.readthedocs.io/en/latest/changes.html#default-of-allow-vendor-change-configuration-option-changed-to-false

Can you try with `--setopt=allow_vendor_change=true`?

Comment 2 Jens Petersen 2023-07-11 07:02:24 UTC
Yes I discovered bug 2219624 today

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