You are not logged in.

#1 2012-11-06 11:21:01

leniviy
Member
Registered: 2009-05-23
Posts: 150

package-query $https_proxy

curl works correctly via sudo:

$ sudo bash -c 'echo $https_proxy'
http://foo.org:3128

$ sudo curl https://aur.archlinux.org | tail -5
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  8553    0  8553    0     0  11657      0 --:--:-- --:--:-- --:--:-- 11978
				<p>Unsupported packages are user produced content. Any use of the provided files is at your own risk.</p>
			</div>
		</div>
	</body>
</html>

But package-query tries to connect directly:

$ (sleep 2 && netstat -tW ) & yaourt -S cflow
[1] 10629
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State      
tcp        0      1 fata.forexware.com:52550 alderaan.archlinux.org:https SYN_SENT
curl error: Couldn't connect to server
error: target not found: cflow

How to fix this?


Arch 64, xfce4

Offline

#2 2012-11-07 00:33:17

fpilee
Member
From: Windows 7
Registered: 2011-10-06
Posts: 104
Website

Re: package-query $https_proxy

check cURL  permisions.

$ ~ stat /usr/bin/curl
  Fichero: «/usr/bin/curl»
  Tamaño: 141072        Bloques: 280        Bloque E/S: 4096   fichero regular
Dispositivo: 805h/2053d Nodo-i: 4206087     Enlaces: 1                                                                                                                                                                                         
Acceso: (0755/-rwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)                                                                                                                                                                       
      Acceso: 2012-11-06 19:15:01.788528949 -0300                                                                                                                                                                                              
Modificación: 2012-10-11 06:21:16.000000000 -0300                                                                                                                                                                                              
      Cambio: 2012-10-16 10:47:06.475720184 -0300                                                                                                                                                                                              
    Creación: -   

Offline

Board footer

Powered by FluxBB