glibc-all-in-one
glibc-all-in-one copied to clipboard
add --no-check-certificate in download
To avoid certificate problems, need to add '--no-check-certificate' in the download script:
wget --no-check-certificate "$url" -O debs/$deb_name || die "Failed to download package from $url"
echo " -> Extracting libc binary package"
mkdir libs/$id
./extract debs/$deb_name libs/$id
echo " -> Package saved to libs/$id"
# download debug info package
local url="$SOURCE/$dbg_name"
echo " -> Location: $url"
echo " -> Downloading libc debug package"
wget --no-check-certificate "$url" 2>/dev/null -O debs/$dbg_name || die "Failed to download package from $url"
I have also met this problem. However, this looks more like the target website's fault. Maybe --no-check-certificate could cause some security problems, and we should add it by ourselves ?
Anyway, it would be better if the details of certificate problems could be informed, rather than getting a download error.