Topic: cannot install both remi-release-38-1.fc38.remi.noarch from remi and r

Hello !
I recently upgraded from Fedora 37 to 38 (x86_64).  Immediately after the upgrade had finished, I manually ran 'dnf up' and it failed with the following output:

Dependencies resolved.

 Problem: cannot install both remi-release-38-1.fc38.remi.noarch from remi and remi-release-38-2.fc38.remi.noarch from @System
  - cannot install the best update candidate for package remi-release-38-2.fc38.remi.noarch
  - cannot install the best update candidate for package libicu71-71.1-2.fc38.x86_64
===============================================================================================
 Package                  Architecture       Version                    Repository        Size
===============================================================================================
Skipping packages with conflicts:
(add '--best --allowerasing' to command line to force their upgrade):
 remi-release             noarch             38-1.fc38.remi             remi              28 k

Not sure how to fix this.  Help please?

Re: cannot install both remi-release-38-1.fc38.remi.noarch from remi and r

Need to understand why libicu71 is still required

It was a compact package used in F36

F36 has libicu 69.1 by default (and compat packages libicu71 and libicu72)
F37 has libicu 71.1 by default (and a compat package libicu72)
F38 has libicu 72.1 by default

please: rpm -qa | grep icu

If installed, compact packages can be removed (libicu71, libicu72)
as all packages use the system libicu 72.1


P.S. do you have some old PHP < 7.4 installed ? (if yes, must be removed see https://blog.remirepo.net/pages/English-FAQ#fedup)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: cannot install both remi-release-38-1.fc38.remi.noarch from remi and r

I removed libicu71-71.1-2.fc38.x86_64 and now 'dnf up' runs without any complaints.

Thanks !

Re: cannot install both remi-release-38-1.fc38.remi.noarch from remi and r

BTW, I have removed the "osboletes" of this package in F38 and F39 (only keep it for F37),
so the libicu71 (forward package in F < 36) will be removed in F37 (only) and libicu71 (backward package) will be usable on F38+

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi