Menu

#116 Connection timeout trying to update MSYS2

1.0
closed
nobody
None
2015-04-20
2014-12-22
No

For the sake of completeness...

These days, running pacman prints connection timeout errors. For example, a few minutes ago:

$ pacman -Syu
:: Sincronizzazione dei database in corso...
errore: impossibile scaricare il pacchetto 'mingw32.db' da 148.251.42.38 : Connection    timed out after 10013 milliseconds
 mingw32 è aggiornato
errore: impossibile scaricare il pacchetto 'mingw64.db' da 148.251.42.38 : Connection timed out after 10010 milliseconds
 mingw64 è aggiornato
errore: impossibile scaricare il pacchetto 'msys.db' da 148.251.42.38 : Connection timed out after 10010 milliseconds
 msys è aggiornato
:: Aggiornamento del sistema in corso...
 non ci sono aggiornamenti disponibili

I wonder if this is to be expected...

Ciao,
Angelo.

Discussion

  • Alexx83

    Alexx83 - 2014-12-22

    This ftp server will not be available anymore. Used sourceforge mirror.

     
    • Angelo Graziosi

      Angelo Graziosi - 2014-12-23

      Hmm.. I haven't changed nothing in my installation if not running 'pacman -Syu', so I don't understand what I have to do.. Please, explain..

      TIA,
      Angelo.

       
  • Matthieu Vachon

    Matthieu Vachon - 2014-12-23

    On initial installation, pacman repository files contain urls pointing to various location on the internet. One of them points to a now unavailable ftp server (at ip 148.251.42.38).

    I wrote detailled instructions on github issue #144 about how to remove the offending repository url from pacman configuration files.

     

    Last edit: Matthieu Vachon 2014-12-23
    • Angelo Graziosi

      Angelo Graziosi - 2014-12-23

      OK, good to hear.. but if that primary server is not valid any more, shouldn't be a pacman upgrade which fixes that? substituting it with a new valid primary server? i.e. upgrading those mirrorlist.* files..

      BTW, usually I use this script

      $ cat update_core_MSYS2.sh
      #!/bin/bash
      
      ## The routine... i.e. the main...
      update()
      {
          local PACMAN=`which pacman 2> /dev/null`
      
          if [ "-${PACMAN}-" != "--" ]; then
      
              ## First: synchronize the database..
              ${PACMAN} -Sy
      
              ## ..then, update...
      
              PACMAN+=" -S --needed"
      
              local core_pkgs=" filesystem msys2-runtime msys2-runtime-devel bash"
              core_pkgs+=" libreadline libiconv libarchive libgpgme libcurl pacman"
              core_pkgs+=" ncurses ncurses-devel libintl"
      
              ${PACMAN} ${core_pkgs}
          else
              echo "PACMAN command not found..."
          fi
      }
      
      ## Executing the main..
      update
      

      to upgrade core packages.. and when a new package enter in the 'core', the script is updated.

      Shouldn't MSYS2 come with a similar script? Then one could say: "you have to run update_core first then 'pacman -Syu'..."

      Ciao,
      Angelo.

       
  • David Macek

    David Macek - 2015-04-20
    • status: open --> closed
     
  • David Macek

    David Macek - 2015-04-20

    The pacman-mirrors package was updated.