我尝试使用 wine64 (5.5) 在我的 Ubuntu 20.04 系统上安装 cygwin x86-64。尽管这听起来很奇怪,但我需要它来进行开发和调试。但是安装过程会导致错误:
$ WINEPREFIX=~/cygwin/ WINEARCH=win64 wine64 ../setup-x86_64.exe
Starting cygwin install, version 2.917
User has backup/restore rights
LookupPrivilegeValue() failed: 1313
User has NO symlink creation right
0009:fixme:ntdll:NtSetInformationToken unimplemented class 4
SetTokenInformation(owner)() failed: 1
io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 2 No such file or directory
Current Directory: Z:\home\koehlerm\Downloads
source: network install
root: C:\cygwin64 system
AddAccessAllowedAceEx(C:\cygwin64/var/log, group) failed: 1337
AddAccessAllowedAceEx(C:\cygwin64/var, group) failed: 1337
AddAccessAllowedAceEx(C:\cygwin64, group) failed: 1337
AddAccessAllowedAceEx(C:\cygwin64/var, group) failed: 1337
AddAccessAllowedAceEx(C:\cygwin64/var/log, group) failed: 1337
Selected local directory: Z:\home\koehlerm\Downloads
net: Preconfig
002b:fixme:thread:GetThreadUILanguage : stub, returning default language.
002b:fixme:wininet:InternetAttemptConnect Stub
002b:fixme:thread:GetThreadUILanguage : stub, returning default language.
LookupPrivilegeValue() failed: 1313
connection error: 12006 fetching https://cygwin.com/mirrors.lst
002b:fixme:wininet:query_global_option Stub for 9
mbox note: Could not download mirror sites list
mbox : Are you sure you want to exit setup? Any current download or installation will be aborted.
AddAccessAllowedAceEx(, group) failed: 1337
io_stream_cygfile: fopen(/etc/setup/setup.rc) failed 2 No such file or directory
Ending cygwin install
AddAccessAllowedAceEx(, group) failed: 1337
AddAccessAllowedAceEx(, group) failed: 1337
如果我手动指定镜像,则该镜像中的文件也无法下载。