error: failed retrieving file 'mingw32.db' from 148.251.42.38 : Connection timed out #144

Closed
AaronNGray opened this Issue Dec 21, 2014 · 10 comments

Projects

None yet

5 participants

@AaronNGray

On doing a 'pacman -Syy' I am getting the following error :-

error: failed retrieving file 'mingw32.db' from 148.251.42.38 : Connection timed out after 10000 milliseconds
@AaronNGray
$ pacman -Syy
:: Synchronising package databases...
error: failed retrieving file 'mingw32.db' from 148.251.42.38 : Connection timed out after 10000 milliseconds
 mingw32                  206.5 KiB   725K/s 00:00 [######################] 100%
 mingw32.sig               96.0   B  0.00B/s 00:00 [######################] 100%
@maoueh
maoueh commented Dec 22, 2014

Seems ftp at ip 148.251.42.38 is not available anymore.

Check out tickets #116.

You will need to edit pacman repositories files:

  1. Edit /etc/pacman.d/mirrorlist.mingw32 and remove the following lines:

    ## Primary
    Server = ftp://148.251.42.38/MINGW/i686
    
  2. Edit /etc/pacman.d/mirrorlist.mingw64 and remove the following lines:

    ## Primary
    Server = ftp://148.251.42.38/MINGW/x86_64
    
  3. Edit /etc/pacman.d/mirrorlist.msys and remove the following lines:

    ## Primary
    Server = ftp://148.251.42.38/MSYS2/$arch
    
  4. Re-sync to check that timeout error is gone.

Matt

@AaronNGray

Now I am getting the following 👎
$ pacman -Su
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (10) file-5.21-2 filesystem-2014.12-1 grep-2.21-1 less-471-1
libffi-3.2.1-1 libutil-linux-2.25.1-3
msys2-runtime-2.0.16467.0bee699-1 ncurses-5.9.20141206-1
pacman-4.2.0.5931.8e2b4ad-1 util-linux-2.25.1-3

Total Download Size: 8.64 MiB
Total Installed Size: 59.20 MiB
Net Upgrade Size: 0.64 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages ...
msys2-runtime-2.0.1... 2.2 MiB 2.18M/s 00:01 [######################] 100%
file-5.21-2-x86_64 378.0 KiB 1929K/s 00:00 [######################] 100%
filesystem-2014.12-... 22.9 KiB 263K/s 00:00 [######################] 100%
grep-2.21-1-x86_64 219.8 KiB 820K/s 00:00 [######################] 100%
ncurses-5.9.2014120... 1099.7 KiB 2.49M/s 00:00 [######################] 100%
less-471-1-x86_64 88.2 KiB 151K/s 00:01 [######################] 100%
libffi-3.2.1-1-x86_64 23.2 KiB 438K/s 00:00 [######################] 100%
libutil-linux-2.25.... 97.0 KiB 2.06M/s 00:00 [######################] 100%
pacman-4.2.0.5931.8... 3.4 MiB 3.45M/s 00:01 [######################] 100%
util-linux-2.25.1-3... 1157.1 KiB 2012K/s 00:01 [######################] 100%
(10/10) checking keys in keyring [######################] 100%
(10/10) checking package integrity [######################] 100%
(10/10) loading package files [######################] 100%
(10/10) checking for file conflicts [######################] 100%
(10/10) checking available disk space [######################] 100%
( 1/10) upgrading msys2-runtime [######################] 100%
( 2/10) upgrading file [######################] 100%
( 3/10) upgrading filesystem [######################] 100%
3 [main] pacman (5984) C:\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
24 [main] pacman 5432 fork: child -1 - forked process 5984 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
error: could not fork a new process (Resource temporarily unavailable)
( 4/10) upgrading grep [######################] 100%
1 [main] pacman (6768) C:\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
187143 [main] pacman 5432 fork: child -1 - forked process 6768 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
error: could not fork a new process (Resource temporarily unavailable)
( 5/10) upgrading ncurses [######################] 100%
( 6/10) upgrading less [######################] 100%
( 7/10) upgrading libffi [######################] 100%
1 [main] pacman (1256) C:\msys64\usr\bin\pacman.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
8307923 [main] pacman 5432 fork: child -1 - forked process 1256 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
error: could not fork a new process (Resource temporarily unavailable)
( 8/10) upgrading libutil-linux [######################] 100%
( 9/10) upgrading pacman [######################] 100%
(10/10) upgrading util-linux [######################] 100%

Aaron@GigaByte /etc/pacman.d
$ pacman -S bison
1 [main] bash (5628) C:\msys64\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
23 [main] bash 7952 fork: child -1 - forked process 5628 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
1 [main] bash (6512) C:\msys64\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
1035237 [main] bash 7952 fork: child -1 - forked process 6512 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
1 [main] bash (6724) C:\msys64\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
3070853 [main] bash 7952 fork: child -1 - forked process 6724 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
1 [main] bash (5580) C:\msys64\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
7105616 [main] bash 7952 fork: child -1 - forked process 5580 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: retry: No child processes
1 [main] bash (7220) C:\msys64\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1802F5400/0x1802FC400.
This problem is probably due to using incompatible versions of the msys DLL.
Search for msys-2.0.dll using the Windows Start->Find/Search facility
and delete all but the most recent version. The most recent version should
reside in x:\msys\bin, where 'x' is the drive on which you have
installed the msys distribution. Rebooting is also suggested if you
are unable to find another msys DLL.
15140223 [main] bash 7952 fork: child -1 - forked process 7220 died unexpectedly, retry 0, exit code 0xC0000142, errno 11
bash: fork: Resource temporarily unavailable

@AaronNGray

There is no C:\msys64\bin !

@Alexpux
Owner
Alexpux commented Dec 22, 2014

You don't read our wiki about safe upgrading packages man.
https://sourceforge.net/p/msys2/wiki/MSYS2%20installation/

See "Updating packages"

@AaronNGray

Sorry I did an :-

pacman -Sy

first but will read again.

@maoueh
maoueh commented Dec 23, 2014

You need to update some core packages prior running a full update (i.e. running pacman -Su)

Here are recap of the steps for a full packages upgrade:

  1. pacman -Sy
  2. pacman --needed -S bash pacman msys2-runtime (If any packages needed upgrade, close all msys2 terminals and programs, i.e. any program depending on msys-2.0.dll. This will ensure the new dll gets loaded. Open a fresh terminal for the next step.)
  3. pacman -Su

Now, to fix you current problem, a simple reboot of the machine should do the job. This is the best way to ensure the dll gets reload.

Matt

@AaronNGray

Thamks, I have been reinstalling and reinstalling instead of rebooting :)

On 23 December 2014 at 02:58, Matthieu Vachon notifications@github.com
wrote:

You need to update some core packages prior running a full update (i.e.
running pacman -Su)

Here are recap of the steps for a full packages upgrade:

  1. pacman -Sy
  2. pacman --needed -S bash pacman msys2-runtime (If any packages
    needed upgrade, close all msys2 terminals and programs, i.e. any program
    depending on msys-2.0.dll. This will ensure the new dll gets loaded. Open a
    fresh terminal for the next step.)
  3. pacman -Su

Now, to fix you current problem, a simple reboot of the machine should do
the job. This is the best way to ensure the dll gets reload.

Matt


Reply to this email directly or view it on GitHub
#144 (comment)
.

@Kevin551

On doing a 'pacman -Syu' I got the same 3 errors :- but the files downloaded anyway and upon installation the issue has been corrected.
No need to edit /etc/pacman.d/mirrorlist.mingw32

@elieux
Collaborator
elieux commented Feb 12, 2017

Current mirrors should be okay.

@elieux elieux closed this Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment