简体   繁体   中英

How to suppress the certificate check when trying to install anything using apt-cyg?

For Eg:

$ apt-cyg install nano

Installing nano nano-4.9-1.tar.xz: FAILED sha512sum: WARNING: 1 computed checksum did NOT match --2022-12-06 13:41:51-- https://cygwin.mirror.constant.com//x86_64/release/nano/nano-4.9-1.tar.xz Resolving cygwin.mirror.constant.com (cygwin.mirror.constant.com)... Connecting to cygwin.mirror.constant.com (cygwin.mirror.constant.com)... connected. ERROR: The certificate of 'cygwin.mirror.constant.com' is not trusted. ERROR: The certificate of 'cygwin.mirror.constant.com' doesn't have a known issuer nano-4.9-1.tar.xz: FAILED sha512sum: WARNING: 1 computed checksum did NOT match

I tried --no-certificate-check post-fix which is not working with apt-cyg actually.

So I am looking how to prevent this error majorly. FYI, I trust that website.

Do NOT use apt-cyg it is not maintained and obsolete.
Use the Cygwin Setup as it fully supports all the compression methods and the latest format of the installation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM