Hi all, I seem to be unable to update pacman. Everytime I try to, it tells
me to exit MSYS2, and after I open it again, it again wants to update it.

I started with wanting to install base-devel for all the autoconf tools,
etcetera.
So first I check theres no outstanding updates:

Maxim@DESKTOP-SQ73J4P MINGW64 ~
$ pacman -Syu
:: Synchronising package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date
:: Starting core system upgrade...
 there is nothing to do
:: Starting full system upgrade...
 there is nothing to do

Ok, now lets install base-devel:

Maxim@DESKTOP-SQ73J4P MINGW64 ~
$ pacman -Syu base-devel
:: Synchronising package databases...
 mingw32 is up to date
 mingw64 is up to date
 msys is up to date
:: There are 58 members in group base-devel:
:: Repository msys
   1) asciidoc  2) autoconf  3) autoconf2.13  4) autogen  5)
automake-wrapper
   6) automake1.10  7) automake1.11  8) automake1.12  9) automake1.13
   10) automake1.14  11) automake1.15  12) automake1.16  13) automake1.6
   14) automake1.7  15) automake1.8  16) automake1.9  17) bison  18) btyacc
   19) diffstat  20) diffutils  21) dos2unix  22) file  23) flex  24) gawk
   25) gdb  26) gettext  27) gettext-devel  28) gperf  29) grep  30) groff
   31) help2man  32) intltool  33) lemon  34) libtool  35) libunrar
   36) libunrar-devel  37) m4  38) make  39) man-db  40) pacman
   41) pactoys-git  42) patch  43) patchutils  44) perl  45) pkg-config
   46) pkgfile  47) quilt  48) rcs  49) reflex  50) scons  51) sed  52) swig
   53) texinfo  54) texinfo-tex  55) ttyrec  56) unrar  57) wget  58) xmlto

Enter a selection (default=all):

Ok, I press enter leaving it blank so I install all. But notice that pacman
is in the list (index 40).
Then I get the following:

warning: file-5.38-3 is up to date -- reinstalling
warning: flex-2.6.4-1 is up to date -- reinstalling
warning: gawk-5.1.0-1 is up to date -- reinstalling
warning: gettext-0.19.8.1-1 is up to date -- reinstalling
warning: grep-3.0-2 is up to date -- reinstalling
warning: m4-1.4.18-2 is up to date -- reinstalling
warning: pacman-5.2.1-6 is up to date -- reinstalling
warning: pactoys-git-r2.07ca37f-1 is up to date -- reinstalling
warning: perl-5.30.2-1 is up to date -- reinstalling
warning: pkgfile-21-1 is up to date -- reinstalling
warning: sed-4.8-1 is up to date -- reinstalling
warning: ttyrec-1.0.8-2 is up to date -- reinstalling
warning: wget-1.20.3-1 is up to date -- reinstalling
:: Starting core system upgrade...
warning: terminate other MSYS2 programs before proceeding
resolving dependencies...
looking for conflicting packages...

Packages (1) pacman-5.2.1-6

Total Installed Size:  37.74 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y

Ok, I enter Y and press enter...

Packages (1) pacman-5.2.1-6

Total Installed Size:  37.74 MiB
Net Upgrade Size:       0.00 MiB

:: Proceed with installation? [Y/n] Y
(1/1) checking keys in keyring                     [######################]
100%
(1/1) checking package integrity                   [######################]
100%
(1/1) loading package files                        [######################]
100%
(1/1) checking for file conflicts                  [######################]
100%
(1/1) checking available disk space                [######################]
100%
:: Processing package changes...
(1/1) reinstalling pacman                          [######################]
100%
warning: terminate MSYS2 without returning to shell and check for updates
again
warning: for example close your terminal window instead of calling exit

Ok, sure. I hit ALT+F4 to close the MSYS2 window. I get a warning that
"Warning: PID 9665 pacman -Syu base-devel" are still running, but I just
press ok.

When I re-open the shell, I can only restart the same process. It starts
trying to update pacman, and then tells me to quit. I'm very new to pacman
and MSYS2 (I've only ever used pacman in the context of MSYS2), so would
appreciate any pointers. I've double checked that it *is* the only MSYS2
window running, and tried pacman -Syuu which is apparently the recommended
way to do system upgrades. I've tried it with the MSYS shell and the
MINGW64 shell, and get the same result.

I also saw that "update-core" is the recommended way to do system upgrades,
but when I run it I get

Maxim@DESKTOP-SQ73J4P MSYS ~
$ update-core
bash: update-core: command not found

Best Regards,
Maxim
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to