Bug 30685

Summary: java-17-openjdk-headless upgrade fails
Product: Mageia Reporter: GG HH <boulshet>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: boulshet
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: java-17-openjdk-17.0.3.0.7-1.3.mga9.src.rpm CVE:
Status comment:

Description GG HH 2022-07-29 21:50:35 CEST
Description of problem:
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.

# LANG=C urpmi java-17-openjdk-headless


    http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/cauldron/x86_64/media/core/release/java-17-openjdk-headless-17.0.3.0.7-1.3.mga9.x86_64.rpm
installing java-17-openjdk-headless-17.0.3.0.7-1.3.mga9.x86_64.rpm from /var/cache/urpmi/rpms                                                                                                           
error: lua script failed: /usr/libexec/copy_jdk_configs.lua:299: attempt to index a nil value (global 'file')
ERROR: 'script' failed for 
Preparing...                     ######################################################################################################################################################################
error: java-17-openjdk-headless-1:17.0.3.0.7-1.3.mga9.x86_64: install skipped
error: java-17-openjdk-headless-1:17.0.3.0.7-1.2.mga9.x86_64: erase skipped

# rpm -q java-17-openjdk-headless
java-17-openjdk-headless-17.0.3.0.7-1.2.mga9
GG HH 2022-07-29 21:50:55 CEST

CC: (none) => boulshet

Comment 1 sturmvogel 2022-07-30 19:26:25 CEST
Update went through just fine today. Test to update again so that we can close this one...
Comment 2 Lewis Smith 2022-07-30 20:46:46 CEST
Thanks for trying this; leaving it with you. (If it sticks, -> Java stack maintainers).
Comment 3 GG HH 2022-07-31 00:20:25 CEST
thanks. Tested ok ! Closing

Status: NEW => RESOLVED
Resolution: (none) => FIXED