Bug 2002163 - dhcp-compat needs to be removed on f34→f35 upgrade
Summary: dhcp-compat needs to be removed on f34→f35 upgrade
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dhcp
Version: 35
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Petr Menšík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-08 07:04 UTC by Tomasz Torcz
Modified: 2021-09-24 20:19 UTC (History)
6 users (show)

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:
Clone Of:
Environment:
Last Closed: 2021-09-24 20:19:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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