Chocolatey-for-wine
Chocolatey-for-wine copied to clipboard
Using bagetter as package source leads to `404 Not Found`
Using bagetter as nuget package source doesn't work with the current version 0.5a.741. On Windows, chocolatey can use bagetter as nuget package source without a problem. Bagetter is installed via docker and is running on port 8387 with the following config options (for completeness, I don't think it's relevant though):
ApiKey=SECRET
PackageDeletionBehavior=HardDelete
AllowPackageOverwrites=true
Storage__Type=FileSystem
Storage__Path=/data
Database__Type=Sqlite
Database__ConnectionString=Data Source=/data/db/bagetter.db
Search__Type=Database
MaxPackageSizeGiB=8
After that, I pushed some packages using choco push packageName --source http://machineName:8387/v3/index.json --force
.
On my machine with Wine, I did the following steps:
- install chocolatey for wine into a clean prefix
- add the package source via
choco source add -n=machineName -s="http://machineName:8387/v3/index.json"
- run
choco install packageName
for a package that only exists on machineName
This leads to:
choco install packageName
Chocolatey v1.4.0
Installing the following packages:
packageName
By installing, you accept licenses for the packages.
Error retrieving packages from source 'http://machineName:8387/v3/index.json':
The remote server returned an error: (404) Not Found.
packageName not installed. The package was not found with the source(s) listed.
Source(s): 'https://community.chocolatey.org/api/v2/;http://machineName:8387/v3/index.json'
NOTE: When you specify explicit sources, it overrides default sources.
If the package version is a prerelease and you didn't specify `--pre`,
the package may not be found.
Please see https://docs.chocolatey.org/en-us/troubleshooting for more
assistance.
Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Any idea what the problem is?
Hi, Unfortunately I'm completely unfamiliar with this so I'm afraid I cannot help.
The only thing that comes in mind to test now is maybe try run chocolatey in Windows Powershell 5.1 (winetricks ps51, then do 'ps51' and run the commands from there) or upgrade chocolatey to newer 2.2 (this should work if you first install windows powershell 5.1 and unpin choco's upgrade). If that doesn't help (it's just a shot in the dark) maybe pasting the console output her might shed a light??
(Beware that 'winetricks ps51' might take >10 minutes to complete on first run, depending on whether you ran a few other dependent winetricks commands ever before)
Thanks a lot for your input!
I tried running winetricks ps51
as well as winetricks powershell
but winetricks 20240105 doesn't know any of these verbs. What version are you using?
The following terminal output sticked out (there's a literal spam of GetConsoleSelectionInfo stub):
0624:fixme:ras:RasEnumConnectionsW (000000001AC78E00,000000000011A480,000000000011A488),stub!
0624:fixme:ras:RasEnumConnectionsW RAS support is not implemented! Configure program to use LAN connection/winsock instead!
0298:fixme:console:GetConsoleSelectionInfo stub (0000000002B7FB68)
0624:fixme:ras:RasConnectionNotificationW (FFFFFFFFFFFFFFFF,00000000000002D4,0x00000003),stub!
...
0624:fixme:ver:GetCurrentPackageId (000000000011DF78 0000000000000000): stub
0298:fixme:console:GetConsoleSelectionInfo stub (0000000002B7FB68)
0298:fixme:console:GetConsoleSelectionInfo stub (0000000002B7FB68)
0298:fixme:console:GetConsoleSelectionInfo stub (0000000002B7FB68)
0298:fixme:console:GetConsoleSelectionInfo stub (0000000002B7FB68)
0624:fixme:secur32:get_cipher_algid unknown algorithm 23
0624:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
0624:fixme:secur32:get_cipher_algid unknown algorithm 23
0624:fixme:secur32:get_mac_algid unknown algorithm 200, cipher 23
Weird that it's writing about ciphers since the URL is http, no SSL involved at all.
Any idea why winetricks ps51
only gives me unknown arg ps51
while it's installing Powershell 5.1 for you? I'm on version 20240105.
I'm rather busy atm, so late reply
I think you are talking about the "regular" winetricks.sh , that doesn't have "ps51" verb
I meant my own homebrew winetricks (the one that can invoke this command by "wine powershell winetricks ps51")
Regards
Ah, you have to run winetricks.ps1 ps51
from a wine powershell session in the unzipped chocolatey-for-wine directory (so it uses the winetricks script from this repository) and then run wine ps51
to start a powershell 5.1 session. That approach leads to the same error, unfortunately.
Upgrading chocolatey from 1.4.0 to v2.2.0 never finishes. What are the exact steps for upgrading to 2.2.0?
choco pin remove --name="chocolatey"
choco upgrade chocolatey
That never finishes over here using wine-9.8.r0.g6a6e7da9 ( TkG Staging Esync Fsync ):
chocolatey v2.2.2 [Approved]
chocolatey package files upgrade completed. Performing other installation steps.
01fc:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0000000001243988 0000000000119798 000000000011A4D0 0000000000000000
01fc:fixme:combase:RoGetActivationFactory (L"Windows.Foundation.Diagnostics.AsyncCausalityTracer", {50850b26-267e-451b-a890-ab6a370245ee}, 000000000011D6A8): semi-stub
01fc:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
01fc:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000001AE9018, 40) stub
0224:fixme:sync:SetWaitableTimerEx (0000000000000388, 000000001CB8FE30, 500, 0000000000000000, 0000000000000000, 0000000000000000, 50) semi-stub
0238:fixme:thread:GetThreadUILanguage : stub, returning default language.
0238:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00006FFFFE8B25B7, 28) stub
0238:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00006FFFFDFCCDE4, 28) stub
0238:fixme:heap:GetNumaHighestNodeNumber semi-stub: 000000000011F718
0238:fixme:seh:WerRegisterRuntimeExceptionModule (L"C:\\windows\\Microsoft.NET\\Framework64\\v4.0.30319\\mscordacwks.dll", 00006FFFFD7D0000) stub
0238:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0238:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 00006FFFFD6BAEF1, 28) stub
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 0000000000794C48 00000000001196C8 000000000011A400 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0000000000767CD0 000000000011A2A8 000000000011AFE0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 0000000000767CD0 000000000011A2A8 000000000011AFE0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00000000007C05F8 000000000011B798 000000000011C4D0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00000000007C05F8 000000000011C378 000000000011D0B0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00000000007C05F8 000000000011C378 000000000011D0B0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0000000000796308 0000000000118088 0000000000118DC0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00000000007681B8 0000000000118CC8 0000000000119A00 0000000000000000
0238:fixme:combase:RoGetActivationFactory (L"Windows.Foundation.Diagnostics.AsyncCausalityTracer", {50850b26-267e-451b-a890-ab6a370245ee}, 000000000011CBD8): semi-stub
0238:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Foundation.Diagnostics.AsyncCausalityTracer"
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0000000000796530 0000000000118F98 0000000000119CD0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0000000000796530 0000000000119B78 000000000011A8B0 0000000000000000
0238:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 0000000000796530 0000000000119B78 000000000011A8B0 0000000000000000
0238:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000000C79770, 40) stub
0238:fixme:ntdll:EtwEventSetInformation (deadbeef, 2, 0000000000C7A4F8, 51) stub
0248:fixme:sync:SetWaitableTimerEx (00000000000001B4, 0000000019D6FE30, 500, 0000000000000000, 0000000000000000, 0000000000000000, 50) semi-stub
0238:fixme:ntdll:EtwEventActivityIdControl 0x1, 000000000011DDD0: stub
024c:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 4 0000000000837300 0000000019E6A1A8 0000000019E6AEE0 0000000000000000
024c:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00000000007F7178 0000000019E6AD88 0000000019E6BAC0 0000000000000000
024c:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 3 00000000007F7178 0000000019E6AD88 0000000019E6BAC0 0000000000000000
0244:fixme:nls:get_dummy_preferred_ui_language (0x8 0x407 0000000019C6C334 0000000000000000 0000000019C6C330) returning a dummy value (current locale)
0244:fixme:nls:get_dummy_preferred_ui_language (0x8 0x407 0000000019C6C334 00000000007E95D0 0000000019C6C330) returning a dummy value (current locale)
0244:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00000000007FFD28 0000000019C6C958 0000000019C6D690 0000000000000000
0244:fixme:combase:RoGetParameterizedTypeInstanceIID stub: 2 00000000007FFD28 0000000019C6AD58 0000000019C6BA90 0000000000000000
0164:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0180:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0198:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0190:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
024c:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 024c, blocked by 0244, retrying (60 sec)
0238:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0238, blocked by 0244, retrying (60 sec)
01ac:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0194:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0168:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
018c:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0170:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
01a0:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0174:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0248:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0248, blocked by 0244, retrying (60 sec)
0188:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0178:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0184:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0250:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0254:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0228:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
0250:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0250, blocked by 0244, retrying (60 sec)
0254:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0254, blocked by 0244, retrying (60 sec)
0264:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
024c:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 024c, blocked by 0244, retrying (60 sec)
0238:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0238, blocked by 0244, retrying (60 sec)
0248:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0248, blocked by 0244, retrying (60 sec)
0250:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0250, blocked by 0244, retrying (60 sec)
0254:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0254, blocked by 0244, retrying (60 sec)
00d0:fixme:service:delayed_autostart_callback Delayed auto-start service L"clr_optimization_v4.0.30319_32" failed to start: 126
00d0:fixme:service:delayed_autostart_callback Delayed auto-start service L"clr_optimization_v4.0.30319_64" failed to start: 126
024c:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 024c, blocked by 0244, retrying (60 sec)
0238:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0238, blocked by 0244, retrying (60 sec)
0248:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0248, blocked by 0244, retrying (60 sec)
0250:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0250, blocked by 0244, retrying (60 sec)
0254:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0254, blocked by 0244, retrying (60 sec)
0274:fixme:thread:NtQueryInformationThread ThreadIsIoPending info class not supported yet
024c:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 024c, blocked by 0244, retrying (60 sec)
0238:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0238, blocked by 0244, retrying (60 sec)
0248:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0248, blocked by 0244, retrying (60 sec)
0250:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0250, blocked by 0244, retrying (60 sec)
0254:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0254, blocked by 0244, retrying (60 sec)
024c:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 024c, blocked by 0244, retrying (60 sec)
0238:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0238, blocked by 0244, retrying (60 sec)
0248:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0248, blocked by 0244, retrying (60 sec)
0250:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0250, blocked by 0244, retrying (60 sec)
0254:err:sync:RtlpWaitForCriticalSection section 00006FFFFFFAE440 "../wine-git/dlls/ntdll/loader.c: loader_section" wait timed out in thread 0254, blocked by 0244, retrying (60 sec)
I'm installing ps51 into a clean wineprefix after installing Chocolatey-for-wine-v0.5c.741 like this:
# From PowerShell-Core console
winetricks ps51
# close powershell
Now from a linux terminal:
wine ps51
This is not how it's described here: https://github.com/PietJankbal/Chocolatey-for-wine/blob/ed688a99c5ec90529478dae4e7e82a1bc1c2398a/README.md?plain=1#L32-L38
Doing it like described in the README causes the ps51 command to hang, so I'm starting it via wine ps51
from zsh.
Any idea why this isn't working for me?