Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pacman problems latest MSYS2 #1022

Closed
symdeb opened this issue Oct 3, 2017 · 17 comments
Closed

Pacman problems latest MSYS2 #1022

symdeb opened this issue Oct 3, 2017 · 17 comments

Comments

@symdeb
Copy link

symdeb commented Oct 3, 2017

No description provided.

@Alexpux
Copy link
Member

Alexpux commented Oct 3, 2017

Remove lock file as in message

@t246246
Copy link

t246246 commented Oct 6, 2017

I have same problem. windows 7 64 bit.
Install from msys2-x86_64-20161025.exe and exec 'pacman -Syuu' and close window.
(It dose not close in several minutes, I have to kill mintty, though.)

After restarting mintty from msys2_shell.cmd, 'pacman -Suu' or 'pacman -Syuu' command exits without installing anything, and return to bash prompt. Lock file remains. If I remove lock file, next pacman command exits abnormally as well.

PS. I tried 32 bit msys msys2-i686-20161025.exe on the same PC, but the result are the same.

@lazka
Copy link
Member

lazka commented Oct 9, 2017

I tried doing a fresh install on x64 Win7 and everything worked fine here :/

@t246246
Copy link

t246246 commented Oct 10, 2017

I found a workaround, See https://github.com/msys2/msys2/issues/87#issuecomment-335368074 , but then problem occurred on the next step:

$ pacman -S mingw-w64-x86_64-toolchain
:: There are 17 members in group mingw-w64-x86_64-toolchain:
:: Repository mingw64
   1) mingw-w64-x86_64-binutils  2) mingw-w64-x86_64-crt-git
   3) mingw-w64-x86_64-gcc  4) mingw-w64-x86_64-gcc-ada
   5) mingw-w64-x86_64-gcc-fortran  6) mingw-w64-x86_64-gcc-libgfortran
   7) mingw-w64-x86_64-gcc-libs  8) mingw-w64-x86_64-gcc-objc
   9) mingw-w64-x86_64-gdb  10) mingw-w64-x86_64-headers-git
   11) mingw-w64-x86_64-libmangle-git  12) mingw-w64-x86_64-libwinpthread-git
   13) mingw-w64-x86_64-make  14) mingw-w64-x86_64-pkg-config
   15) mingw-w64-x86_64-tools-git  16) mingw-w64-x86_64-winpthreads-git
   17) mingw-w64-x86_64-winstorecompat-git

Enter a selection (default=all):
resolving dependencies...
looking for conflicting packages...

Packages (41) mingw-w64-x86_64-bzip2-1.0.6-6
              mingw-w64-x86_64-ca-certificates-20170211-2
              mingw-w64-x86_64-expat-2.2.3-1  mingw-w64-x86_64-gdbm-1.12-1
              mingw-w64-x86_64-gettext-0.19.8.1-2  mingw-w64-x86_64-gmp-6.1.2-1
              mingw-w64-x86_64-isl-0.18-1  mingw-w64-x86_64-libffi-3.2.1-4
              mingw-w64-x86_64-libiconv-1.15-1
              mingw-w64-x86_64-libsystre-1.0.1-3
              mingw-w64-x86_64-libtasn1-4.12-1
              mingw-w64-x86_64-libtre-git-r128.6fb7206-1
              mingw-w64-x86_64-mpc-1.0.3-2  mingw-w64-x86_64-mpfr-3.1.6-1
              mingw-w64-x86_64-ncurses-6.0.20170916-1
              mingw-w64-x86_64-openssl-1.0.2.l-1
              mingw-w64-x86_64-p11-kit-0.23.7-1
              mingw-w64-x86_64-python2-2.7.14-1
              mingw-w64-x86_64-readline-7.0.003-1  mingw-w64-x86_64-tcl-8.6.7-1
              mingw-w64-x86_64-termcap-1.3.1-2  mingw-w64-x86_64-tk-8.6.7-1
              mingw-w64-x86_64-windows-default-manifest-6.4-3
              mingw-w64-x86_64-zlib-1.2.11-1
              mingw-w64-x86_64-binutils-2.29.1-1
              mingw-w64-x86_64-crt-git-5.0.0.4966.1eee2140-1
              mingw-w64-x86_64-gcc-7.2.0-1  mingw-w64-x86_64-gcc-ada-7.2.0-1
              mingw-w64-x86_64-gcc-fortran-7.2.0-1
              mingw-w64-x86_64-gcc-libgfortran-7.2.0-1
              mingw-w64-x86_64-gcc-libs-7.2.0-1
              mingw-w64-x86_64-gcc-objc-7.2.0-1  mingw-w64-x86_64-gdb-8.0.1-2
              mingw-w64-x86_64-headers-git-5.0.0.4966.1eee2140-1
              mingw-w64-x86_64-libmangle-git-5.0.0.4760.d3089b5-1
              mingw-w64-x86_64-libwinpthread-git-5.0.0.4850.d1662dc7-1
              mingw-w64-x86_64-make-4.2.1-1
              mingw-w64-x86_64-pkg-config-0.29.2-1
              mingw-w64-x86_64-tools-git-5.0.0.4849.1259532f-1
              mingw-w64-x86_64-winpthreads-git-5.0.0.4850.d1662dc7-1
              mingw-w64-x86_64-winstorecompat-git-5.0.0.4760.d3089b5-1

Total Download Size:   124.08 MiB
Total Installed Size:  694.42 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
(41/41) checking keys in keyring                   [#####################] 100%
(41/41) checking package integrity                 [#####################] 100%
error: mingw-w64-x86_64-libiconv: signature from "Alexey Pavlov (Alexpux) <alexpux@gmail.com>" is invalid
:: File /var/cache/pacman/pkg/mingw-w64-x86_64-libiconv-1.15-1-any.pkg.tar.xz is corrupted (invalid or corrupted package (PGP signature)).
Do you want to delete it? [Y/n]

Am I connecting to wrong repository?

EDIT

Oddly, all mingw* files in /var/cache/pacman/pkg is 0KB.
I reedit pacman.conf to change download command to wget, then 'pacman -S' command download them correctly.

@lazka
Copy link
Member

lazka commented Feb 6, 2018

There is a newer installer, which might work better: https://sourceforge.net/projects/msys2/files/Base/x86_64/msys2-x86_64-20170918.exe/download

@elieux
Copy link
Member

elieux commented Feb 6, 2018 via email

@elieux
Copy link
Member

elieux commented Feb 6, 2018 via email

@elieux
Copy link
Member

elieux commented Feb 7, 2018 via email

@elieux
Copy link
Member

elieux commented Feb 8, 2018 via email

@americodias
Copy link

I have exactly the same problem.

@americodias
Copy link

I've found a solution: edit your /etc/pacman.conf and uncomment the following line:
XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u

@liudonghua123
Copy link

I have the same problem.
Nothing happened when I run pacman.

image

@liudonghua123
Copy link

@a-huk
Copy link

a-huk commented Feb 25, 2021

I use msys2 that comes preinstalled with omnet++, When I update pacman to support zstd, I get the same result. Any way to fix this?

@Biswa96
Copy link
Member

Biswa96 commented Feb 25, 2021

Hi @a-huk Have you contacted that project devs? Maybe you can ask them to update the installer?

@a-huk
Copy link

a-huk commented Feb 25, 2021

Hi @a-huk Have you contacted that project devs? Maybe you can ask them to update the installer?

Yes, I have, was just wondering if there was anything I could do on my side?

@Biswa96
Copy link
Member

Biswa96 commented Feb 25, 2021

There are some tips and tricks here https://www.msys2.org/news/. But it depends on your specific issue and you have to know the pacman commands well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants