I want to install man in MSYS2 so I tried both pacman -Ss man and pacman -Fs man (as per this question), as well a couple of others like pacman -Fs /usr/bin/man but they don't seem to give me an answer:
pacman -Ss manreturns a lot of unrelated results.pacman -Fs manfindsmsys/bash-completion 2.8-2andmsys/xmlto 0.0.28-1which doesn't seem correct.
Still, when I do this:
$ pacman -S man
resolving dependencies...
looking for conflicting packages...
Packages (5) gdbm-1.16-1 groff-1.22.3-1 libgdbm-1.16-1 libpipeline-1.5.0-1 man-db-2.8.3-2
Total Download Size: 2.90 MiB
Total Installed Size: 15.72 MiB
:: Proceed with installation? [Y/n]
It seems correct – I think that man is inside the man-db-2.8.3-2 package. How does this work? Are there "search" commands that would find man before invoking the "sync" command?
(Note: while I'm in MSYS2 on Windows, I think the question is purely about Pacman and therefore valid on this site. I hope...)
pacman -Fy,pacman -Fsdoesn't find it. Might be something about MSYS2 in the end? Thanks for the response. – Borek Bernard Jul 06 '18 at 07:13man-dbwas the second result (the first beingcore/filesystem, which probably is a higher priority package), so I'd agree that it seems to be an MSYS-side issue. – muru Jul 06 '18 at 07:55