Bug 2002163

Summary: dhcp-compat needs to be removed on f34→f35 upgrade
Product: [Fedora] Fedora Reporter: Tomasz Torcz <tomek>
Component: dhcpAssignee: Petr Menšík <pemensik>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 35CC: jorton, j, mhroncok, pavel, pemensik, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: dhcp-4.4.2-16.b1.fc36 dhcp-4.4.2-16.b1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-24 20:19:21 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 Tomasz Torcz 2021-09-08 07:04:20 UTC
Description of problem:
While testing upgrate path F34→F35:

Error: 
 Problem 1: package dhcp-compat-12:4.4.2-11.b1.fc34.x86_64 requires dhcp-relay = 12:4.4.2-11.b1.fc34, but none of the providers can be installed
  - dhcp-relay-12:4.4.2-11.b1.fc34.x86_64 does not belong to a distupgrade repository
  - problem with installed package dhcp-compat-12:4.4.2-11.b1.fc34.x86_64



Version-Release number of selected component (if applicable):
According to "dhcp" package changelog, compat has been dropped:
* Fri Jun 11 2021 Pavel Zhukov <pzhukov> - 12:4.4.2-12.b1
- Drop compat package finally

How reproducible:


Steps to Reproduce:
1.On F34 system:
sudo dnf --releasever=35 --setopt=module_platform_id=platform:f35 \
--enablerepo=updates-testing --enablerepo=updates-testing-modular \
distro-sync

Comment 1 Zbigniew Jędrzejewski-Szmek 2021-09-08 18:03:50 UTC
This should be done by the dhcp package itself. F-o-p is for the case when a package is retired
so there is no better place to attach the Obsoletes.

Please just add
Obsoletes: dhcp-compat < 12.b1
to the main dhcp rpm.

Comment 2 Petr Menšík 2021-09-08 19:44:53 UTC
Sure, I agree, it belongs to dhcp-server and dhcp-relay. DHCP package would be soon deprecated by upstream, but until we remove it from fedora, dhcp-compat would always have dhcp-server and dhcp-relay installed on the same system. So they can obsolete it and allow it to be removed.

Dependencies resolved.
===================================================================================================================================
 Package                       Architecture             Version                               Repository                      Size
===================================================================================================================================
Upgrading:
 dhcp-client                   x86_64                   12:4.4.2-16.b1.fc36                   @commandline                   788 k
 dhcp-common                   noarch                   12:4.4.2-16.b1.fc36                   @commandline                   129 k
 dhcp-relay                    x86_64                   12:4.4.2-16.b1.fc36                   @commandline                   404 k
     replacing  dhcp-compat.x86_64 12:4.4.2-9.b1.fc34
 dhcp-server                   x86_64                   12:4.4.2-16.b1.fc36                   @commandline                   1.2 M
     replacing  dhcp-compat.x86_64 12:4.4.2-9.b1.fc34

Comment 4 Fedora Update System 2021-09-08 20:11:53 UTC
FEDORA-2021-feb9da694b has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-feb9da694b

Comment 5 Fedora Update System 2021-09-08 22:37:37 UTC
FEDORA-2021-feb9da694b has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-feb9da694b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-feb9da694b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2021-09-24 20:19:21 UTC
FEDORA-2021-feb9da694b has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.