Calinou / scoop-games

Scoop bucket for open source/freeware games and game-related tools
Creative Commons Zero v1.0 Universal
290 stars 151 forks source link

xonotic@0.8.5: decompress error on Windows 10 2004 build 19041.1415 #818

Open tiborepcek opened 1 year ago

tiborepcek commented 1 year ago

Hi. Like in the case of issue #698 - I have similar one... Please see 7zip log belov. Any idea how to fix this? Thanks!

7-Zip 22.01 (x64) : Copyright (c) 1999-2022 Igor Pavlov : 2022-07-15

Scanning the drive for archives:
1 file, 1228561792 bytes (1172 MiB)

Extracting archive: C:\Users\Tibor\scoop\apps\xonotic\0.8.5\xonotic-0.8.5.zip
--
Path = C:\Users\Tibor\scoop\apps\xonotic\0.8.5\xonotic-0.8.5.zip
Type = zip
Physical Size = 1228561792

Sub items Errors: 15

Archives with Errors: 1

Sub items Errors: 15
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\SDL2
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\Headers
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\Versions\Current
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\Resources
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libvorbis.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libode.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libtheora.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libvorbisfile.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libogg.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libfreetype.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libd0_rijndael.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libd0_blind_id.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\Xonotic.app\Contents\MacOS\libvorbisenc.dylib
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\xonotic-linux-dedicated.sh
ERROR: Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\Tibor\scoop\apps\xonotic\0.8.5\Xonotic\xonotic-linux-glx.sh
Calinou commented 1 year ago

Looks like this is an upstream issue - ZIP archives shouldn't contain symbolic links if you want them to be easily portable.

Is there a CLI argument we can pass to 7-zip to tell it to ignore errors? We'll have to use a post-install command to extract the ZIP archive in this case.

otede commented 1 year ago

I'm still getting the error, both in 0.8.5 downloaded last week as well as 0.8.6 downloaded yesterday, Windows build from xonotic.org, various mirrors checked. Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\Headers Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\Resources Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\SDL2 Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\Frameworks\SDL2.framework\Versions\Current Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libd0_blind_id.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libd0_rijndael.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libfreetype.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libode.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libogg.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libtheora.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libvorbis.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libvorbisenc.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\Xonotic.app\Contents\MacOS\libvorbisfile.dylib Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\xonotic-linux-dedicated.sh Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\xonotic-linux-glx.sh Cannot create symbolic link : A required privilege is not held by the client. : C:\Users\\Desktop\XNT2\Xonotic\misc\tools\rsync-updater\update-to-release.sh

I used portable 7-zip to even extract the archive. Peazip just flops with a generic error message and doesn't even leave the files that could otherwise be successfully extracted.

cronyakatsuki commented 11 months ago

The only way to fix this is to install running with sudo package, or running powershell with admin and then installing.