已解决:请参阅以下https://stackoverflow.com/a/42611525/4543664
下的matzeri的回答我运行了cygwin64 2.877设置来更新安装,并且列出了一个新版本的bash用于升级。
安装失败,并显示以下错误消息: The procedure entry point history_lines_read_from_file could not be located in the dynamic link library C:\cygwin64\bin\bash.exe
安装后setup.log.full会显示以下错误:
Rebasing with list /var/cache/rebase/rebase_all, built from /var/cache/rebase/rebase_lst /var/cache/rebase/rebase_dyn /var/cache/rebase/rebase_user.
2017/03/02 22:45:16 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_texlive_prep.dash"
2017/03/02 22:45:16 running: C:\cygwin64\bin\dash.exe "/etc/postinstall/0p_update-info-dir.dash"
2017/03/02 22:45:18 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/bash.sh"
2017/03/02 22:46:20 abnormal exit: exit code=-1073741511
2017/03/02 22:46:21 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/bashdb.sh"
2017/03/02 22:46:23 abnormal exit: exit code=-1073741511
2017/03/02 22:46:23 running: C:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/ca-certificates.sh"
2017/03/02 22:46:25 abnormal exit: exit code=-1073741511
关于我如何解决这个问题的任何想法?
在Win cmd提示符下以管理员身份运行cygcheck后更新:
`Microsoft Windows [Version 10.0.14393]
(c) 2016 Microsoft Corporation. All rights reserved.
C:\WINDOWS\system32>cygcheck /usr/bin/bash.exe
C:\cygwin64\bin\bash.exe
C:\cygwin64\bin\cygwin1.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNELBASE.dll
C:\WINDOWS\system32\api-ms-win-core-fibers-l2-1-1.dll
C:\cygwin64\bin\cygiconv-2.dll
C:\cygwin64\bin\cygintl-8.dll
C:\cygwin64\bin\cygreadline7.dll
C:\cygwin64\bin\cygncursesw-10.dll
C:\WINDOWS\system32\USER32.dll
C:\WINDOWS\system32\win32u.dll
C:\WINDOWS\system32\GDI32.dll
C:\WINDOWS\system32>`
答案 0 :(得分:1)
history_lines_read_from_file
属于档案cygreadline7.dll
属于包libreadline7
$ cygcheck -f /usr/bin/cygreadline7.dll
libreadline7-7.0.3-3
因此您需要重新安装libreadline7
。