Msys2-packages: `pacman -Fs man` doesn't find package

Created on 6 Jul 2018  路  4Comments  路  Source: msys2/MSYS2-packages

I wanted to install man and wanted to look it up. pacman -Ss man finds a lot of unrelated packages but the correct way should be (I believe; I'm new to MSYS2 & Pacman):

# Update repository databases
pacman -Fy

# Should find man-db-2.8.3-2 but doesn't
pacman -Fs man

This gives me these results, missing man-db-2.8.3-2:

$ pacman -Fs man
msys/bash-completion 2.8-2
    usr/share/bash-completion/completions/man
msys/xmlto 0.0.28-1
    usr/share/xmlto/format/docbook/man

Most helpful comment

@borekb you need write full file name with extension - man.exe

All 4 comments

-F is used for searching files.
If you want to search in the repository for exact name you could try with regex: pacman -Ss ^man$.
For searching only in installed packages there is -Q option.

More info: https://www.archlinux.org/pacman/pacman.8.html

I probably still don't understand, man is a file, specifically, man-db-2.8.3-2 package contains the file usr/bin/man so I'm not sure why -Fs doesn't find it. I tried both pacman -Fs man and pacman -Fs usr/bin/man.

@borekb you need write full file name with extension - man.exe

Oh, it's so obvious now :) Thanks!

Was this page helpful?
0 / 5 - 0 ratings