Dopo i passaggi di installazione MSYS2 descritti in http://msys2.github.io/, ho ricevuto questi errori. Voglio ottenere alcune utilità come vi
, vim
, bc
, gnuplot
. Come configurare pacman
per connettersi ai repository?MSYS2 pacman non può aggiornare i pacchetti tramite il firewall aziendale
Il mio PC è su una rete aziendale. Il mio browser si collega al web tramite uno script PAC.
$ pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime
:: Synchronizing package databases...
error: failed retrieving file 'mingw32.db' from downloads.sourceforge.net : Connection timed out after 10000 milliseconds
error: failed to update mingw32 (download library error)
error: failed retrieving file 'mingw64.db' from downloads.sourceforge.net : Connection timed out after 10000 milliseconds
error: failed to update mingw64 (download library error)
error: failed retrieving file 'msys.db' from downloads.sourceforge.net : Connection timed out after 10000 milliseconds
error: failed to update msys (download library error)
error: failed to synchronize any databases
error: failed to init transaction (download library error)
La soluzione seguente menzionato su un mailing list non ha risolto il problema neanche.
1. Close MSYS2.
2. Run autorebase.bat
3. Open MSYS2 again.
Ha anche provato 'pacman-key --init', ma questo non ha aiutato. Sto indovinando che alcune impostazioni di configurazione in '/ etc/pacman.conf' o'/etc/network' sono necessarie. – ropata
Trovato un paio di risposte incomplete, su [askubuntu.com] (http://askubuntu.com/questions/104950/how-do-i-configure-apt-get-to-use-a-pac-file-for -a-proxy) e [superuser.com] (http://superuser.com/questions/323488/ubuntu-system-wide-proxy-auto-configuration-pac-script). – ropata