===========================================================================
Patrick DUPRÉ | | email: pdupre@xxxxxxx
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
Patrick DUPRÉ | | email: pdupre@xxxxxxx
Laboratoire interdisciplinaire Carnot de Bourgogne
9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE
Tel: +33 (0)380395988 | | Room# D114A
===========================================================================
Sent: Tuesday, May 16, 2023 at 8:25 AM
From: "Peter Boy" <pboy@xxxxxxxxxxxxx>
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Transaction test error
From: "Peter Boy" <pboy@xxxxxxxxxxxxx>
To: "Community support for Fedora users" <users@xxxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Transaction test error
Am 15.05.2023 um 22:57 schrieb Patrick Dupre <pdupre@xxxxxxx>:
On 5/15/23 11:33, Patrick Dupre wrote:Hello,
Running an update of fc36, I get
Error: Transaction test error:
file /usr/lib/.build-id/a8/5d273e920106a68e86541b187062d7dbef328a conflicts between attempted installs of java-latest-openjdk-headless-1:20.0.1.0.9-3.rolling.fc36.x86_64 and java-17-openjdk-headless-1:17.0.7.0.7-1.fc36.x86_64
Here are the java files which are supposed to be updated:
java-17-openjdk x86_64 1:17.0.7.0.7-1.fc36 updates 428 k
java-17-openjdk-devel x86_64 1:17.0.7.0.7-1.fc36 updates 4.7 M
java-17-openjdk-headless x86_64 1:17.0.7.0.7-1.fc36 updates 42 M
java-latest-openjdk x86_64 1:20.0.1.0.9-3.rolling.fc36 updates 447 k
java-latest-openjdk-headless x86_64 1:20.0.1.0.9-3.rolling.fc36 updates 44 M
Try this:
dnf update --best --allowerasing
Total 472 kB/s | 343 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: Transaction test error:
file /usr/lib/.build-id/a8/5d273e920106a68e86541b187062d7dbef328a conflicts between attempted installs of java-latest-openjdk-headless-1:20.0.1.0.9-3.rolling.fc36.x86_64 and java-17-openjdk-headless-1:17.0.7.0.7-1.fc36.x86_64
If I try
dnf remove java-17-openjdk-headless
I get
Removing:
java-17-openjdk-headless x86_64 1:17.0.6.0.10-1.fc36 @updates 188 M
Removing dependent packages:
IPAddress noarch 5.2.1-9.fc36 @fedora 2.1 M
R x86_64 4.1.3-2.fc36 @updates 0
R-java x86_64 4.1.3-2.fc36 @updates 0
...
xz-java noarch 1.9-3.fc36 @fedora 120 k
Transaction Summary
==============================================================================================================================
Remove 312 Packages
A bit much to remove. Do you really use openjdk 20? I would try deleting it and see if there is less deleted and if the update works then. After upgrading to F37 /F38 you may try to install it again.
Maybe, you should ask on the java list and/or open a bug report. The openjdk maintainers are quite responsive.
I did:
dnf remove java-latest-openjdk
and it seems OK now
However, I still have 3 versions of java
java-1.8.0-openjdk-headless-1.8.0.362.b09-1.fc36.x86_64
java-1.8.0-openjdk-1.8.0.362.b09-1.fc36.x86_64
java-1.8.0-openjdk-devel-1.8.0.362.b09-1.fc36.x86_64
java-11-openjdk-headless-11.0.19.0.7-1.fc36.x86_64
java-11-openjdk-11.0.19.0.7-1.fc36.x86_64
java-11-openjdk-devel-11.0.19.0.7-1.fc36.x86_64
java-17-openjdk-headless-17.0.7.0.7-1.fc36.x86_64
java-17-openjdk-17.0.7.0.7-1.fc36.x86_64
java-17-openjdk-devel-17.0.7.0.7-1.fc36.x86_64
java-1.8.0-openjdk-1.8.0.362.b09-1.fc36.x86_64
java-1.8.0-openjdk-devel-1.8.0.362.b09-1.fc36.x86_64
java-11-openjdk-headless-11.0.19.0.7-1.fc36.x86_64
java-11-openjdk-11.0.19.0.7-1.fc36.x86_64
java-11-openjdk-devel-11.0.19.0.7-1.fc36.x86_64
java-17-openjdk-headless-17.0.7.0.7-1.fc36.x86_64
java-17-openjdk-17.0.7.0.7-1.fc36.x86_64
java-17-openjdk-devel-17.0.7.0.7-1.fc36.x86_64
Should I keep all of them ?
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue