Alexpux / MSYS2-pacman

MSYS2 port of Arch Linux packman package manager.
GNU General Public License v2.0
164 stars 34 forks source link

`pacman -Fs` command not work #47

Closed zufuliu closed 6 years ago

zufuliu commented 6 years ago
$ pacman -Syuu
:: Synchronizing 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
$ pacman -Fs mingw-w64-x86_64-clang
warning: database file for 'mingw32' does not exist
warning: database file for 'mingw64' does not exist
warning: database file for 'msys' does not exist
$ pacman -Qi pacman
Name            : pacman
Version         : 5.0.1-4
Description     : A library-based package manager with dependency support (MSYS2 port)
Architecture    : x86_64
$ uname -a
MSYS_NT-10.0 admin-PC 2.9.0(0.318/5/3) 2017-09-13 23:16 x86_64 Msys
elieux commented 6 years ago

You need to run pacman -Fy first. I believe it's in the manual.

zufuliu commented 6 years ago

Thank you. But the warning message confused me, they are same for command -Q, -S and -F (maybe other commands), however from pacman(8), -Q and -S use the package database, but -F use the files database. I think it's better to suggest an action when some database file is missing.