Open ghost opened 7 years ago
Probably curl has to be rebuild after recent updates (could it be openssl or libidn?).
Hmm...I can't repro this:
$ pacman -Syu --noconfirm
...
$ curl https://meh.com | tail
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 89781 100 89781 0 0 89781 0 0:00:01 --:--:-- 0:00:01 382k
} else {
window.history.replaceState({}, '', window.location.pathname);
}
}
}
});
</script>
</body>
</html>
Hmm... I think package 'libcurl' is evil, but I have no idea. What should we do?
$ pacman -Syuu --noconfirm
:: Synchronizing package databases...
mingw32 369.5 KiB 688K/s 00:01 [#############################################] 100%
mingw32.sig 96.0 B 0.00B/s 00:00 [#############################################] 100%
mingw64 369.3 KiB 926K/s 00:00 [#############################################] 100%
mingw64.sig 96.0 B 0.00B/s 00:00 [#############################################] 100%
msys 158.8 KiB 1185K/s 00:00 [#############################################] 100%
msys.sig 96.0 B 0.00B/s 00:00 [#############################################] 100%
:: Starting core system upgrade...
warning: terminate other MSYS2 programs before proceeding
resolving dependencies...
looking for conflicting packages...
Packages (5) bash-4.4.012-1 filesystem-2017.05-1 mintty-1~2.8.1-1 msys2-runtime-2.9.0-2 pacman-5.0.1-4
Total Download Size: 11.52 MiB
Total Installed Size: 54.80 MiB
Net Upgrade Size: 3.20 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
msys2-runtime-2.9.0-2-x86_64 2.4 MiB 1529K/s 00:02 [#############################################] 100%
bash-4.4.012-1-x86_64 1969.4 KiB 1638K/s 00:01 [#############################################] 100%
filesystem-2017.05-1-x86_64 40.0 KiB 19.5M/s 00:00 [#############################################] 100%
mintty-1~2.8.1-1-x86_64 233.8 KiB 1744K/s 00:00 [#############################################] 100%
pacman-5.0.1-4-x86_64 6.9 MiB 1570K/s 00:05 [#############################################] 100%
(5/5) checking keys in keyring [#############################################] 100%
(5/5) checking package integrity [#############################################] 100%
(5/5) loading package files [#############################################] 100%
(5/5) checking for file conflicts [#############################################] 100%
(5/5) checking available disk space [#############################################] 100%
warning: could not get file information for opt/
:: Processing package changes...
error: cannot remove /usr/bin/msys-2.0.dll (Permission denied)
(1/5) upgrading msys2-runtime [#############################################] 100%
warning: warning given when extracting /usr/bin/msys-2.0.dll (Could not unlink)
error: cannot remove /usr/bin/bash.exe (Permission denied)
(2/5) upgrading bash [#############################################] 100%
warning: warning given when extracting /usr/bin/bash.exe (Could not unlink)
(3/5) upgrading filesystem [#############################################] 100%
error: cannot remove /usr/bin/mintty.exe (Permission denied)
(4/5) upgrading mintty [#############################################] 100%
warning: warning given when extracting /usr/bin/mintty.exe (Could not unlink)
error: cannot remove /usr/bin/pacman.exe (Permission denied)
(5/5) upgrading pacman [#############################################] 100%
warning: warning given when extracting /usr/bin/pacman.exe (Could not unlink)
warning: terminate MSYS2 without returning to shell and check for updates again
warning: for example close your terminal window instead of calling exit
$ pacman -S --noconfirm coreutils --force
resolving dependencies...
looking for conflicting packages...
Packages (1) coreutils-8.26-2
Total Download Size: 2.26 MiB
Total Installed Size: 22.71 MiB
Net Upgrade Size: 0.88 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
coreutils-8.26-2-x86_64 2.3 MiB 1233K/s 00:02 [#############################################] 100%
(1/1) checking keys in keyring [#############################################] 100%
(1/1) checking package integrity [#############################################] 100%
(1/1) loading package files [#############################################] 100%
(1/1) checking for file conflicts [#############################################] 100%
(1/1) checking available disk space [#############################################] 100%
:: Processing package changes...
(1/1) upgrading coreutils [#############################################] 100%
$ pacman -S --noconfirm curl
resolving dependencies...
looking for conflicting packages...
Packages (6) icu-59.1-1 libgcrypt-1.8.1-1 libnghttp2-1.24.0-1 libpsl-0.18.0-2 libxslt-1.1.30-1 curl-7.55.1-3
Total Download Size: 8.66 MiB
Total Installed Size: 31.34 MiB
Net Upgrade Size: 2.79 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libnghttp2-1.24.0-1-x86_64 63.7 KiB 439K/s 00:00 [#############################################] 100%
libgcrypt-1.8.1-1-x86_64 466.0 KiB 1064K/s 00:00 [#############################################] 100%
libxslt-1.1.30-1-x86_64 138.7 KiB 135M/s 00:00 [#############################################] 100%
icu-59.1-1-x86_64 7.3 MiB 1420K/s 00:05 [#############################################] 100%
libpsl-0.18.0-2-x86_64 63.6 KiB 20.7M/s 00:00 [#############################################] 100%
curl-7.55.1-3-x86_64 699.8 KiB 1591K/s 00:00 [#############################################] 100%
(6/6) checking keys in keyring [#############################################] 100%
(6/6) checking package integrity [#############################################] 100%
(6/6) loading package files [#############################################] 100%
(6/6) checking for file conflicts [#############################################] 100%
(6/6) checking available disk space [#############################################] 100%
:: Processing package changes...
(1/6) installing libnghttp2 [#############################################] 100%
(2/6) installing libgcrypt [#############################################] 100%
(3/6) installing libxslt [#############################################] 100%
(4/6) upgrading icu [#############################################] 100%
(5/6) installing libpsl [#############################################] 100%
(6/6) upgrading curl [#############################################] 100%
$ curl -V
curl 7.55.1 (x86_64-pc-msys) libcurl/7.50.3 OpenSSL/1.0.2j zlib/1.2.8 libidn/1.33 libssh2/1.7.0
Release-Date: 2017-08-14
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: Debug IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets Metalink PSL
$ pacman -S libcurl
resolving dependencies...
looking for conflicting packages...
Packages (3) libidn2-2.0.4-2 libunistring-0.9.7-2 libcurl-7.55.1-3
Total Download Size: 0.78 MiB
Total Installed Size: 2.70 MiB
Net Upgrade Size: 2.26 MiB
:: Proceed with installation? [Y/n] n
$ pacman -S --noconfirm libidn2
resolving dependencies...
looking for conflicting packages...
Packages (2) libunistring-0.9.7-2 libidn2-2.0.4-2
Total Download Size: 0.57 MiB
Total Installed Size: 2.21 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libunistring-0.9.7-2-x86_64 504.5 KiB 1271K/s 00:00 [#############################################] 100%
libidn2-2.0.4-2-x86_64 76.7 KiB 0.00B/s 00:00 [#############################################] 100%
(2/2) checking keys in keyring [#############################################] 100%
(2/2) checking package integrity [#############################################] 100%
(2/2) loading package files [#############################################] 100%
(2/2) checking for file conflicts [#############################################] 100%
(2/2) checking available disk space [#############################################] 100%
:: Processing package changes...
(1/2) installing libunistring [#############################################] 100%
(2/2) installing libidn2 [#############################################] 100%
$ curl -V
curl 7.55.1 (x86_64-pc-msys) libcurl/7.50.3 OpenSSL/1.0.2j zlib/1.2.8 libidn/1.33 libssh2/1.7.0
Release-Date: 2017-08-14
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smb smbs smtp smtps telnet tftp
Features: Debug IDN IPv6 Largefile GSS-API Kerberos SPNEGO NTLM NTLM_WB SSL libz TLS-SRP UnixSockets Metalink PSL
$ pacman -S --noconfirm libcurl
resolving dependencies...
looking for conflicting packages...
Packages (1) libcurl-7.55.1-3
Total Download Size: 0.21 MiB
Total Installed Size: 0.49 MiB
Net Upgrade Size: 0.04 MiB
:: Proceed with installation? [Y/n]
:: Retrieving packages...
libcurl-7.55.1-3-x86_64 213.5 KiB 818K/s 00:00 [#############################################] 100%
(1/1) checking keys in keyring [#############################################] 100%
(1/1) checking package integrity [#############################################] 100%
(1/1) loading package files [#############################################] 100%
(1/1) checking for file conflicts [#############################################] 100%
(1/1) checking available disk space [#############################################] 100%
:: Processing package changes...
(1/1) upgrading libcurl [#############################################] 100%
$ curl -V
@ErichDonGubler Are you trying in clean install MSYS2 or existing environment? I repro in clean install MSYS2.
Existing -- let me try a clean one.
I installed latest MSYS2 on Windows 7 64bit in the following steps.
Install MSYS2 using msys2-x86_64-20161025.exe.
Update core components.
Close my terminal window using a close button.
Update package 'coreutils' with '--force' option for https://github.com/Alexpux/MSYS2-packages/issues/1024 workaround.
Actual:
Expected:
Other commands (like ls, mv, rm) work normally.
In step 6, I updated only 'curl'. It is works. // Certainly, I know that MSYS2 not support partial upgrades.
Hmm..., what is broken?