[Bug 45238] New: Unable to extract Powershell zip with 7-zip
https://bugs.winehq.org/show_bug.cgi?id=45238 Bug ID: 45238 Summary: Unable to extract Powershell zip with 7-zip Product: Wine Version: 3.8 Hardware: x86 URL: https://github.com/PowerShell/PowerShell/releases/down load/v6.0.2/PowerShell-6.0.2-win-x86.zip OS: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs(a)winehq.org Reporter: austinenglish(a)gmail.com Distribution: Gentoo While this seems more like a 7-zip bug, I checked and it works in the same 7-zip version (16.02) on Windows 7. Note that native unzip also fails on this file, but that's a separate non-wine related issue. I filed a bug upstream, which was less than helpful: https://github.com/PowerShell/PowerShell/issues/6900 After their response, I tried it on a native Windows machine. Using the same 7zip version (and command line extraction) works fine. Under Wine, I get errors about replacing filenames (in a previously empty directory): Executing wine C:\Program Files\7-Zip\7z.exe x C:\PowerShell-6.0.2-win-x86.zip -oC:\Powershell 7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 Scanning the drive for archives: 1 file, 48495975 bytes (47 MiB) Extracting archive: C:\PowerShell-6.0.2-win-x86.zip -- Path = C:\PowerShell-6.0.2-win-x86.zip Type = zip Physical Size = 48495975 Would you like to replace the existing file: Path: C:\Powershell\assets\Powershell_av_colors.ico Size: 120737 bytes (118 KiB) Modified: 2018-02-24 03:14:54 with the file from archive: Path: assets\Powershell_av_colors.ico Size: 120737 bytes (118 KiB) Modified: 2018-02-24 02:14:54 ? (Y)es / (N)o / (A)lways / (S)kip all / A(u)to rename all / (Q)uit? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 Fabian Maurer <dark.shadow4(a)web.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dark.shadow4(a)web.de --- Comment #1 from Fabian Maurer <dark.shadow4(a)web.de> --- Unzipping works fine for me with native unzip (Arch Linux, unzip 6.0-12), but I can't delete it anymore afterwards...
rm: cannot remove 'sdasdas/Modules/PowerShellGet/1.6.0': Permission denied rm: cannot remove 'sdasdas/Modules/PackageManagement/1.1.7.0': Permission denied rm: cannot remove 'sdasdas/Modules/Microsoft.PowerShell.Archive/1.1.0.0': Permission denied Dolphin tells me these folders use "Advanced Permissions".
Link to 7-zip: https://sourceforge.net/projects/sevenzip/files/7-Zip/16.02/7z1602.exe/downl... Works fine for me with wine-3.8 though: #################### 7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21 Scanning the drive for archives: 1 file, 48495975 bytes (47 MiB) Extracting archive: PowerShell-6.0.2-win-x86.zip -- Path = PowerShell-6.0.2-win-x86.zip Type = zip Physical Size = 48495975 Everything is Ok Folders: 4 Files: 584 Size: 120774955 Compressed: 48495975 #################### -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 --- Comment #2 from Fabian Maurer <dark.shadow4(a)web.de> --- Sorry forget to mention, tested on ext4, xfs and tmpfs. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 --- Comment #3 from Austin English <austinenglish(a)gmail.com> --- (In reply to Fabian Maurer from comment #1)
Unzipping works fine for me with native unzip (Arch Linux, unzip 6.0-12), but I can't delete it anymore afterwards...
rm: cannot remove 'sdasdas/Modules/PowerShellGet/1.6.0': Permission denied rm: cannot remove 'sdasdas/Modules/PackageManagement/1.1.7.0': Permission denied rm: cannot remove 'sdasdas/Modules/Microsoft.PowerShell.Archive/1.1.0.0': Permission denied
Right, but if you check exit status (echo $?), it exits 1 rather than 0.
Link to 7-zip: https://sourceforge.net/projects/sevenzip/files/7-Zip/16.02/7z1602.exe/ download
Works fine for me with wine-3.8 though:
#################### 7-Zip [32] 16.02 : Copyright (c) 1999-2016 Igor Pavlov : 2016-05-21
Scanning the drive for archives: 1 file, 48495975 bytes (47 MiB)
Extracting archive: PowerShell-6.0.2-win-x86.zip -- Path = PowerShell-6.0.2-win-x86.zip Type = zip Physical Size = 48495975
Everything is Ok
Folders: 4 Files: 584 Size: 120774955 Compressed: 48495975
####################
Is that wine or wine-staging? I was using wine-3.6-108-g1bdd6dc640, but just tried with wine-3.8 (vanilla) and it fails the same way. (this is on ext4) -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 tokktokk <fdsfgs(a)krutt.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fdsfgs(a)krutt.org -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 joaopa <jeremielapuree(a)yahoo.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree(a)yahoo.fr --- Comment #4 from joaopa <jeremielapuree(a)yahoo.fr> --- Can not understand the bug. Does it still occur with wine-5.14? -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ABANDONED Status|NEW |RESOLVED --- Comment #5 from Austin English <austinenglish(a)gmail.com> --- (In reply to joaopa from comment #4)
Can not understand the bug. Does it still occur with wine-5.14?
I don't think it's worth pursuing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 --- Comment #6 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- Closing. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unable to extract |Unable to extract |Powershell zip with 7-zip |Powershell | |'PowerShell-6.0.2-win-x86.z | |ip' with 7-zip 16.02 URL|https://github.com/PowerShe |https://web.archive.org/web |ll/PowerShell/releases/down |/20210301084029/https://git |load/v6.0.2/PowerShell-6.0. |hub.com/PowerShell/PowerShe |2-win-x86.zip |ll/releases/download/v6.0.2 | |/PowerShell-6.0.2-win-x86.z | |ip CC| |focht(a)gmx.net -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=45238 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Unable to extract |7-zip 16.02 fails to |Powershell |extract Powershell |'PowerShell-6.0.2-win-x86.z |'PowerShell-6.0.2-win-x86.z |ip' with 7-zip 16.02 |ip' -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla