我正在尝试安装 Cygwin 的一个软件包。安装时,Cygwin 没有报告任何错误,但当我进入 Cygwin 终端时,我发现软件包尚未安装。
以 为例wget
。
-M
我通过命令提示符使用该标志调用 Cygwin 安装可执行文件。- 我選擇
wget
套裝。 - 安装额外需要的软件包
Cygwin 没有报告任何错误。唯一要注意的是它找不到McShield
。
执行which wget
后返回找不到wget
。
显示setup.log
这两个错误:
2015/06/09 14:59:16 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 2 No such file or directory
2015/06/09 14:59:17 io_stream_cygfile: fopen(/etc/setup/timestamp) failed 2 No such file or directory
事实上,观察结果/etc/setup/
表明两者都存在。
额外信息
- 这是在 Windows 8.1 上
- 我以管理员身份执行此操作
- 我尝试过
cmd
使用powershell
- 我正在使用最新版本的 Cygwin(2.781安装页面)
满的setup.log
2015/06/09 14:58:34 Starting cygwin install, version 2.871
2015/06/09 14:58:34 User has backup/restore rights
2015/06/09 14:58:34 Current Directory: C:\Users\Ryan\Downloads
2015/06/09 14:58:34 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2015/06/09 14:58:37 source: network install
2015/06/09 14:58:43 root: E:\cygwin64 system
2015/06/09 14:58:59 Selected local directory: E:\Downloads
2015/06/09 14:59:00 net: Direct
2015/06/09 14:59:02 site: http://mirrors.163.com/cygwin/
2015/06/09 14:59:16 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 2 No such file or directory
2015/06/09 14:59:17 io_stream_cygfile: fopen(/etc/setup/timestamp) failed 2 No such file or directory
2015/06/09 15:01:54 Adding required dependency bzip2: Selecting version 1.0.6-2 for installation.
2015/06/09 15:01:54 Adding required dependency ca-certificates: Selecting version 2.4-2 for installation.
2015/06/09 15:01:54 Adding required dependency groff: Selecting version 1.22.3-1 for installation.
2015/06/09 15:01:54 Adding required dependency less: Selecting version 471-1 for installation.
2015/06/09 15:01:54 Adding required dependency libargp: Selecting version 20110921-2 for installation.
2015/06/09 15:01:54 Adding required dependency libattr1: Selecting version 2.4.46-1 for installation.
2015/06/09 15:01:54 Adding required dependency libblkid1: Selecting version 2.25.2-2 for installation.
2015/06/09 15:01:54 Adding required dependency libbz2_1: Selecting version 1.0.6-2 for installation.
2015/06/09 15:01:54 Adding required dependency libcrypt0: Selecting version 1.1-1 for installation.
2015/06/09 15:01:54 Adding required dependency libdb5.3: Selecting version 5.3.21-1 for installation.
2015/06/09 15:01:54 Adding required dependency libffi6: Selecting version 3.2.1-1 for installation.
2015/06/09 15:01:54 Adding required dependency libgcc1: Selecting version 4.9.2-3 for installation.
2015/06/09 15:01:54 Adding required dependency libgdbm4: Selecting version 1.11-1 for installation.
2015/06/09 15:01:54 Adding required dependency libgmp10: Selecting version 6.0.0a-2 for installation.
2015/06/09 15:01:54 Adding required dependency libiconv: Selecting version 1.14-3 for installation.
2015/06/09 15:01:54 Adding required dependency libiconv2: Selecting version 1.14-3 for installation.
2015/06/09 15:01:54 Adding required dependency libintl8: Selecting version 0.19.4-1 for installation.
2015/06/09 15:01:54 Adding required dependency liblzma5: Selecting version 5.2.1-1 for installation.
2015/06/09 15:01:54 Adding required dependency libmpfr4: Selecting version 3.1.2-2 for installation.
2015/06/09 15:01:54 Adding required dependency libncursesw10: Selecting version 5.9-20150516-1 for installation.
2015/06/09 15:01:54 Adding required dependency libp11-kit0: Selecting version 0.22.1-1 for installation.
2015/06/09 15:01:54 Adding required dependency libpcre1: Selecting version 8.37-1 for installation.
2015/06/09 15:01:54 Adding required dependency libpipeline1: Selecting version 1.4.0-1 for installation.
2015/06/09 15:01:54 Adding required dependency libpopt0: Selecting version 1.16-1 for installation.
2015/06/09 15:01:54 Adding required dependency libsmartcols1: Selecting version 2.25.2-2 for installation.
2015/06/09 15:01:54 Adding required dependency libssp0: Selecting version 4.9.2-3 for installation.
2015/06/09 15:01:54 Adding required dependency libstdc++6: Selecting version 4.9.2-3 for installation.
2015/06/09 15:01:54 Adding required dependency libtasn1_6: Selecting version 4.4-1 for installation.
2015/06/09 15:01:54 Adding required dependency libuuid1: Selecting version 2.25.2-2 for installation.
2015/06/09 15:01:54 Adding required dependency lynx: Selecting version 2.8.7-2 for installation.
2015/06/09 15:01:54 Adding required dependency p11-kit: Selecting version 0.22.1-1 for installation.
2015/06/09 15:01:54 Adding required dependency p11-kit-trust: Selecting version 0.22.1-1 for installation.
2015/06/09 15:01:54 Adding required dependency popt: Selecting version 1.16-1 for installation.
2015/06/09 15:01:54 Adding required dependency xz: Selecting version 5.2.1-1 for installation.
2015/06/09 15:01:54 Adding required dependency zlib0: Selecting version 1.2.8-3 for installation.
2015/06/09 15:01:54 Adding required dependency _update-info-dir: Selecting version 00433-1 for installation.
2015/06/09 15:01:56 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/_autorebase/_autorebase-001002-1.tar.xz
2015/06/09 15:01:59 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/_update-info-dir/_update-info-dir-00433-1.tar.bz2
2015/06/09 15:02:02 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/alternatives/alternatives-1.3.30c-10.tar.bz2
2015/06/09 15:02:11 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/base-cygwin/base-cygwin-3.8-1.tar.xz
2015/06/09 15:02:19 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/base-files/base-files-4.2-3.tar.xz
2015/06/09 15:03:23 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/bash/bash-4.3.39-2.tar.xz
2015/06/09 15:03:26 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/bzip2/bzip2-1.0.6-2.tar.bz2
2015/06/09 15:03:37 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ca-certificates/ca-certificates-2.4-2.tar.xz
2015/06/09 15:03:57 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/coreutils/coreutils-8.23-4.tar.xz
2015/06/09 15:04:10 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/cygutils/cygutils-1.4.14-1.tar.bz2
2015/06/09 15:06:11 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/cygwin/cygwin-2.0.3-1.tar.xz
2015/06/09 15:06:14 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/dash/dash-0.5.8-3.tar.xz
2015/06/09 15:06:17 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/editrights/editrights-1.03-1.tar.xz
2015/06/09 15:06:23 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/file/file-5.22-2.tar.xz
2015/06/09 15:06:35 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/findutils/findutils-4.5.12-1.tar.xz
2015/06/09 15:06:56 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gawk/gawk-4.1.3-1.tar.xz
2015/06/09 15:07:00 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/getent/getent-2.18.90-4.tar.xz
2015/06/09 15:08:02 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/grep/grep-2.21-2.tar.xz
2015/06/09 15:08:39 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/groff/groff-1.22.3-1.tar.xz
2015/06/09 15:08:44 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gzip/gzip-1.6-1.tar.xz
2015/06/09 15:08:48 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/hostname/hostname-3.13-1.tar.bz2
2015/06/09 15:08:57 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/texinfo/info/info-5.2-3.tar.xz
2015/06/09 15:09:00 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ipc-utils/ipc-utils-1.0-2.tar.bz2
2015/06/09 15:09:08 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/less/less-471-1.tar.xz
2015/06/09 15:09:12 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libargp/libargp-20110921-2.tar.bz2
2015/06/09 15:09:14 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/attr/libattr1/libattr1-2.4.46-1.tar.bz2
2015/06/09 15:09:18 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/libblkid1/libblkid1-2.25.2-2.tar.xz
2015/06/09 15:09:22 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/bzip2/libbz2_1/libbz2_1-1.0.6-2.tar.bz2
2015/06/09 15:09:26 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/crypt/libcrypt0/libcrypt0-1.1-1.tar.bz2
2015/06/09 15:10:35 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/db/libdb5.3/libdb5.3-5.3.21-1.tar.bz2
2015/06/09 15:10:40 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libffi/libffi6/libffi6-3.2.1-1.tar.xz
2015/06/09 15:10:44 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gcc/libgcc1/libgcc1-4.9.2-3.tar.xz
2015/06/09 15:10:46 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gdbm/libgdbm4/libgdbm4-1.11-1.tar.xz
2015/06/09 15:10:54 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gmp/libgmp10/libgmp10-6.0.0a-2.tar.xz
2015/06/09 15:10:58 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libiconv/libiconv-1.14-3.tar.xz
2015/06/09 15:11:11 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libiconv/libiconv2/libiconv2-1.14-3.tar.xz
2015/06/09 15:11:12 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gettext/libintl8/libintl8-0.19.4-1.tar.xz
2015/06/09 15:11:16 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/xz/liblzma5/liblzma5-5.2.1-1.tar.xz
2015/06/09 15:11:21 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/mpfr/libmpfr4/libmpfr4-3.1.2-2.tar.xz
2015/06/09 15:11:28 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ncurses/libncursesw10/libncursesw10-5.9-20150516-1.tar.xz
2015/06/09 15:11:52 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/openssl/libopenssl100/libopenssl100-1.0.2a-1.tar.xz
2015/06/09 15:12:02 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/p11-kit/libp11-kit0/libp11-kit0-0.22.1-1.tar.xz
2015/06/09 15:12:17 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/pcre/libpcre1/libpcre1-8.37-1.tar.xz
2015/06/09 15:12:20 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libpipeline/libpipeline1/libpipeline1-1.4.0-1.tar.xz
2015/06/09 15:12:22 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/popt/libpopt0/libpopt0-1.16-1.tar.xz
2015/06/09 15:12:34 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/readline/libreadline7/libreadline7-6.3.8-1.tar.xz
2015/06/09 15:12:39 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/libsmartcols1/libsmartcols1-2.25.2-2.tar.xz
2015/06/09 15:12:43 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gcc/libssp0/libssp0-4.9.2-3.tar.xz
2015/06/09 15:12:52 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gcc/libstdc++6/libstdc++6-4.9.2-3.tar.xz
2015/06/09 15:12:54 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libtasn1/libtasn1_6/libtasn1_6-4.4-1.tar.xz
2015/06/09 15:12:56 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/libuuid1/libuuid1-2.25.2-2.tar.xz
2015/06/09 15:12:58 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/login/login-1.11-1.tar.xz
2015/06/09 15:13:18 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/lynx/lynx-2.8.7-2.tar.bz2
2015/06/09 15:13:26 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/man-db/man-db-2.7.1-1.tar.xz
2015/06/09 15:13:29 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/mintty/mintty-1.2-beta1-1.tar.bz2
2015/06/09 15:13:47 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/openssl/openssl-1.0.2a-1.tar.xz
2015/06/09 15:13:51 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/p11-kit/p11-kit-0.22.1-1.tar.xz
2015/06/09 15:13:54 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/p11-kit/p11-kit-trust/p11-kit-trust-0.22.1-1.tar.xz
2015/06/09 15:15:28 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl-5.14.4-3.tar.xz
2015/06/09 15:15:29 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_autorebase/perl_autorebase-5.14.4-3.tar.xz
2015/06/09 15:15:50 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_base/perl_base-5.14.4-3.tar.xz
2015/06/09 15:16:42 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_manpages/perl_manpages-5.14.4-3.tar.xz
2015/06/09 15:17:53 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_pods/perl_pods-5.14.4-3.tar.xz
2015/06/09 15:18:00 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/popt/popt-1.16-1.tar.xz
2015/06/09 15:18:10 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/rebase/rebase-4.4.1-1.tar.bz2
2015/06/09 15:18:12 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/run/run-1.3.3-1.tar.xz
2015/06/09 15:18:19 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/sed/sed-4.2.2-3.tar.bz2
2015/06/09 15:18:30 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/tar/tar-1.28-1.tar.xz
2015/06/09 15:18:33 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ncurses/terminfo/terminfo-5.9-20150516-1.tar.xz
2015/06/09 15:18:40 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/tzcode/tzcode-2014j-1.tar.xz
2015/06/09 15:18:50 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/util-linux-2.25.2-2.tar.xz
2015/06/09 15:18:58 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/vim/vim-minimal/vim-minimal-7.4.729-3.tar.xz
2015/06/09 15:19:00 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/which/which-2.20-2.tar.bz2
2015/06/09 15:19:04 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/xz/xz-5.2.1-1.tar.xz
2015/06/09 15:19:12 Downloaded E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/zlib/zlib0/zlib0-1.2.8-3.tar.xz
2015/06/09 15:19:13 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/_autorebase/_autorebase-001002-1.tar.xz
2015/06/09 15:19:13 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/_update-info-dir/_update-info-dir-00433-1.tar.bz2
2015/06/09 15:19:13 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/alternatives/alternatives-1.3.30c-10.tar.bz2
2015/06/09 15:19:14 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/base-cygwin/base-cygwin-3.8-1.tar.xz
2015/06/09 15:19:14 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/base-files/base-files-4.2-3.tar.xz
2015/06/09 15:19:14 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/bash/bash-4.3.39-2.tar.xz
2015/06/09 15:19:15 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/bzip2/bzip2-1.0.6-2.tar.bz2
2015/06/09 15:19:15 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ca-certificates/ca-certificates-2.4-2.tar.xz
2015/06/09 15:19:15 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/coreutils/coreutils-8.23-4.tar.xz
2015/06/09 15:19:17 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/cygutils/cygutils-1.4.14-1.tar.bz2
2015/06/09 15:19:17 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/cygwin/cygwin-2.0.3-1.tar.xz
2015/06/09 15:19:17 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/dash/dash-0.5.8-3.tar.xz
2015/06/09 15:19:18 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/editrights/editrights-1.03-1.tar.xz
2015/06/09 15:19:18 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/file/file-5.22-2.tar.xz
2015/06/09 15:19:18 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/findutils/findutils-4.5.12-1.tar.xz
2015/06/09 15:19:18 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gawk/gawk-4.1.3-1.tar.xz
2015/06/09 15:19:18 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/getent/getent-2.18.90-4.tar.xz
2015/06/09 15:19:18 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/grep/grep-2.21-2.tar.xz
2015/06/09 15:19:19 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/groff/groff-1.22.3-1.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gzip/gzip-1.6-1.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/hostname/hostname-3.13-1.tar.bz2
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/texinfo/info/info-5.2-3.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ipc-utils/ipc-utils-1.0-2.tar.bz2
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/less/less-471-1.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libargp/libargp-20110921-2.tar.bz2
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/attr/libattr1/libattr1-2.4.46-1.tar.bz2
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/libblkid1/libblkid1-2.25.2-2.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/bzip2/libbz2_1/libbz2_1-1.0.6-2.tar.bz2
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/crypt/libcrypt0/libcrypt0-1.1-1.tar.bz2
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/db/libdb5.3/libdb5.3-5.3.21-1.tar.bz2
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libffi/libffi6/libffi6-3.2.1-1.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gcc/libgcc1/libgcc1-4.9.2-3.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gdbm/libgdbm4/libgdbm4-1.11-1.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gmp/libgmp10/libgmp10-6.0.0a-2.tar.xz
2015/06/09 15:19:22 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libiconv/libiconv-1.14-3.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libiconv/libiconv2/libiconv2-1.14-3.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gettext/libintl8/libintl8-0.19.4-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/xz/liblzma5/liblzma5-5.2.1-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/mpfr/libmpfr4/libmpfr4-3.1.2-2.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ncurses/libncursesw10/libncursesw10-5.9-20150516-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/openssl/libopenssl100/libopenssl100-1.0.2a-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/p11-kit/libp11-kit0/libp11-kit0-0.22.1-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/pcre/libpcre1/libpcre1-8.37-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libpipeline/libpipeline1/libpipeline1-1.4.0-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/readline/libreadline7/libreadline7-6.3.8-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/libsmartcols1/libsmartcols1-2.25.2-2.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gcc/libssp0/libssp0-4.9.2-3.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/gcc/libstdc++6/libstdc++6-4.9.2-3.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/libtasn1/libtasn1_6/libtasn1_6-4.4-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/libuuid1/libuuid1-2.25.2-2.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/login/login-1.11-1.tar.xz
2015/06/09 15:19:23 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/lynx/lynx-2.8.7-2.tar.bz2
2015/06/09 15:19:24 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/man-db/man-db-2.7.1-1.tar.xz
2015/06/09 15:19:25 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/mintty/mintty-1.2-beta1-1.tar.bz2
2015/06/09 15:19:25 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/openssl/openssl-1.0.2a-1.tar.xz
2015/06/09 15:19:25 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/p11-kit/p11-kit-0.22.1-1.tar.xz
2015/06/09 15:19:25 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/p11-kit/p11-kit-trust/p11-kit-trust-0.22.1-1.tar.xz
2015/06/09 15:19:25 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl-5.14.4-3.tar.xz
2015/06/09 15:19:32 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_autorebase/perl_autorebase-5.14.4-3.tar.xz
2015/06/09 15:19:32 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_base/perl_base-5.14.4-3.tar.xz
2015/06/09 15:19:32 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_manpages/perl_manpages-5.14.4-3.tar.xz
2015/06/09 15:19:35 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/perl/perl_pods/perl_pods-5.14.4-3.tar.xz
2015/06/09 15:19:36 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/popt/popt-1.16-1.tar.xz
2015/06/09 15:19:37 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/rebase/rebase-4.4.1-1.tar.bz2
2015/06/09 15:19:37 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/run/run-1.3.3-1.tar.xz
2015/06/09 15:19:37 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/sed/sed-4.2.2-3.tar.bz2
2015/06/09 15:19:37 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/tar/tar-1.28-1.tar.xz
2015/06/09 15:19:37 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/ncurses/terminfo/terminfo-5.9-20150516-1.tar.xz
2015/06/09 15:19:38 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/tzcode/tzcode-2014j-1.tar.xz
2015/06/09 15:19:41 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/util-linux/util-linux-2.25.2-2.tar.xz
2015/06/09 15:19:41 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/vim/vim-minimal/vim-minimal-7.4.729-3.tar.xz
2015/06/09 15:19:41 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/which/which-2.20-2.tar.bz2
2015/06/09 15:19:41 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/xz/xz-5.2.1-1.tar.xz
2015/06/09 15:19:42 Extracting from file://E:\Downloads/http%3a%2f%2fmirrors.163.com%2fcygwin%2f/x86_64/release/zlib/zlib0/zlib0-1.2.8-3.tar.xz
2015/06/09 15:19:42 Changing gid back to original
2015/06/09 15:19:42 running: E:\cygwin64\bin\dash.exe "/etc/postinstall/0p_000_autorebase.dash"
2015/06/09 15:19:45 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/000-cygwin-post-install.sh"
2015/06/09 15:19:45 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/update-info-dir.sh"
2015/06/09 15:19:46 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/coreutils.sh"
2015/06/09 15:19:46 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/bash.sh"
2015/06/09 15:19:46 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-mketc.sh"
2015/06/09 15:19:46 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/base-files-profile.sh"
2015/06/09 15:19:47 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/ca-certificates.sh"
2015/06/09 15:19:48 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/lynx.sh"
2015/06/09 15:19:48 running: E:\cygwin64\bin\bash.exe --norc --noprofile "/etc/postinstall/man-db.sh"
2015/06/09 15:19:48 Changing gid to Administrators
2015/06/09 15:19:57 note: Installation Complete
2015/06/09 15:19:57 Ending cygwin install
答案1
成功安装的包(例如wget
)将包含对该包的引用setup.log
。
例如:
$ grep wget setup.log
2015/06/10 11:11:14 Downloaded F:\downloads\cygwin/ftp%3a%2f%2fftp.mirrorservice.org%2fsites%2fsourceware.org%2fpub%2fcygwin%2f/x86_64/release/pwget/pwget-2013.0911+gitaf1c897-2.tar.bz2
2015/06/10 11:11:25 Downloaded F:\downloads\cygwin/ftp%3a%2f%2fftp.mirrorservice.org%2fsites%2fsourceware.org%2fpub%2fcygwin%2f/x86_64/release/wget/wget-1.16.3-1.tar.xz
2015/06/10 11:12:00 Extracting from file://F:\downloads\cygwin/ftp%3a%2f%2fftp.mirrorservice.org%2fsites%2fsourceware.org%2fpub%2fcygwin%2f/x86_64/release/pwget/pwget-2013.0911+gitaf1c897-2.tar.bz2
2015/06/10 11:12:03 Extracting from file://F:\downloads\cygwin/ftp%3a%2f%2fftp.mirrorservice.org%2fsites%2fsourceware.org%2fpub%2fcygwin%2f/x86_64/release/wget/wget-1.16.3-1.tar.xz
2015/06/10 11:15:59 running: C:\cygwin\bin\bash.exe --norc --noprofile "/etc/postinstall/wget.sh"
2.15. 如果安装失败怎么办? 首先,确保您使用的是最新版本的 Cygwin Setup。最新版本始终可从 Cygwin 主页获取,网址为https://cygwin.com/。
如果您从互联网下载,安装程序将失败,因为它无法下载以下镜像列表:https://cygwin.com/mirrors.html。可能是网络太忙。类似情况也可能是下载站点无法正常工作的原因。尝试另一个镜像,或稍后再试。
如果安装程序拒绝下载您知道需要升级的软件包,请尝试从 /etc/setup 中删除该软件包的条目。如果您对邮件列表中的公告反应迅速,则可能是您使用的镜像尚未拥有最新副本。请尝试另一个镜像,或明天再试。
如果安装程序出现异常,请检查 /var/log(默认为 C:\cygwin\var\log)中的 setup.log 和 setup.log.full 文件。它可能会提供一些有关出错位置和原因的线索。
如果您仍然感到困惑,请在 Cygwin 邮件列表中搜索线索。其他人可能有同样的问题,解决方案可能会发布在那里。如果搜索无果,请向 Cygwin 邮件列表发送查询。您必须在查询中提供完整的详细信息:安装版本、您选择的选项、setup.log 和 setup.log.full 的内容、发生了什么不应该发生的事情等。
答案2
问题是我最初将它安装在我的C:\
驱动器上,然后将它移动到另一个驱动器上。
我通过将其安装到C:\
然后执行setup -M
并安装进行了测试wget
。这有效。
然后我将Cygwin
文件夹移到E:\
驱动器并setup -M
安装 curl。结果显示which curl
无法找到。
我意识到问题在于,Cygwin
尽管安装在C:\
驱动器中,即Root Directory
被设置为C:\cygwin64
。我通过运行setup.exe
并将 更改Root Directory
为 指向正确位置来修复此问题。
现在我可以setup.exe -M
安装软件包了。