curl-7.10.3-1mdk urpmi-4.2-31mdk
Downloading from commercial club downloads with urpmi fails because it doesn't follow HTTP redirection or it can't accept the invalid certificate (missing -k or --insecure option to curl
Twho problems here :
- urpmi/curl dosn't follow redirection from http to https url
- urpmi/curl doesn't accept invalid ssl certificate from club comm
[EMAIL PROTECTED] plugins]# urpmi FlashPlayer
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.0/i586/FlashPlayer-6.0-2mdk.i586.rpm L'installation a échoué, il manque des fichiers: /var/cache/urpmi/rpms/FlashPlayer-6.0-2mdk.i586.rpm Vous devriez mettre à jour votre base de données urpmi [EMAIL PROTECTED] plugins]# urpmi --curl FlashPlayer
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.0/i586/FlashPlayer-6.0-2mdk.i586.rpm L'installation a échoué, il manque des fichiers: /var/cache/urpmi/rpms/FlashPlayer-6.0-2mdk.i586.rpm Vous devriez mettre à jour votre base de données urpmi [EMAIL PROTECTED] plugins]# urpmi --wget FlashPlayer
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm installation de /var/cache/urpmi/rpms/FlashPlayer-6.0-2mdk.i586.rpm
Direct test with curl :
With curl :
curl -v -O http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm
* About to connect() to www.mandrakeclub.com:80
* Connected to www.mandrakeclub.com (63.209.80.244) port 80
> GET /downloads2/comm/9.1/i586/FlashPlayer-6.0-2mdk.i586.rpm HTTP/1.1
Authorization: Basic *hiddenpassword*
User-Agent: curl/7.10.3 (i586-mandrake-linux-gnu) libcurl/7.10.3 OpenSSL/0.9.7a zlib/1.1.4
Host: www.mandrakeclub.com
Pragma: no-cache
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*
% Total % Received % Xferd Average Speed Time Curr.
Dload Upload Total Current Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:00 --:--:-- 0
* Connection #0 left intact
* Closing connection #0
This does not work because it redirect to an https connection with invalid ssl certificate so urpmi should use the --insecure or -k option togather with curl
Furthermore, the club download location:
http://leagris:[EMAIL PROTECTED]/downloads2/comm/9.1/hdlist.cz
retirect to:
https://download.mandrakeclub.com/downloads2/comm/9.1/hdlist.cz
wich lead to an invalid location or inexistant resource
-- Léa Gris - http://www.noiraude.net/ () Campagne du ruban texte brut contre les courriels en HTML, /\ contre les pièces jointes Microsoft.