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.
-- Peter Boy https://fedoraproject.org/wiki/User:Pboy PBoy@xxxxxxxxxxxxxxxxx
Timezone: CET (UTC+1) / CEST /UTC+2)
Fedora Server Edition Working Group member Fedora Docs team contributor and board member Java developer and enthusiast
|
_______________________________________________
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