How does `pacman -S ` find the package?

Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
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
add a comment |Â
up vote
0
down vote
favorite
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
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
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
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
asked Jul 5 at 10:27
Borek Bernard
1104
1104
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
From the pacman manpage, for -S:
Packages that provide other packages are also handled. For example,
pacman -S foowill first look for afoopackage. Iffoois not found,
packages that provide the same functionality asfoowill be searched
for. If any package is found, it will be installed. A selection prompt
is provided if multiple packages providingfooare found.
And from the package information for man-db:
Provides: man
If pacman -Fs didn't find the man in man-db, try syncing the files database first (pacman -Fy), or use pkgfile.
Thanks, despitepacman -Fy,pacman -Fsdoesn't find it. Might be something about MSYS2 in the end? Thanks for the response.
â Borek Bernard
Jul 6 at 7:13
@BorekBernard on an Arch Linux system,man-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 6 at 7:55
I logged it here: github.com/Alexpux/MSYS2-packages/issues/1332
â Borek Bernard
Jul 6 at 8:30
BTW, is there a way to search that "Provides:" field that you mentioned?
â Borek Bernard
Jul 6 at 9:24
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
From the pacman manpage, for -S:
Packages that provide other packages are also handled. For example,
pacman -S foowill first look for afoopackage. Iffoois not found,
packages that provide the same functionality asfoowill be searched
for. If any package is found, it will be installed. A selection prompt
is provided if multiple packages providingfooare found.
And from the package information for man-db:
Provides: man
If pacman -Fs didn't find the man in man-db, try syncing the files database first (pacman -Fy), or use pkgfile.
Thanks, despitepacman -Fy,pacman -Fsdoesn't find it. Might be something about MSYS2 in the end? Thanks for the response.
â Borek Bernard
Jul 6 at 7:13
@BorekBernard on an Arch Linux system,man-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 6 at 7:55
I logged it here: github.com/Alexpux/MSYS2-packages/issues/1332
â Borek Bernard
Jul 6 at 8:30
BTW, is there a way to search that "Provides:" field that you mentioned?
â Borek Bernard
Jul 6 at 9:24
add a comment |Â
up vote
1
down vote
accepted
From the pacman manpage, for -S:
Packages that provide other packages are also handled. For example,
pacman -S foowill first look for afoopackage. Iffoois not found,
packages that provide the same functionality asfoowill be searched
for. If any package is found, it will be installed. A selection prompt
is provided if multiple packages providingfooare found.
And from the package information for man-db:
Provides: man
If pacman -Fs didn't find the man in man-db, try syncing the files database first (pacman -Fy), or use pkgfile.
Thanks, despitepacman -Fy,pacman -Fsdoesn't find it. Might be something about MSYS2 in the end? Thanks for the response.
â Borek Bernard
Jul 6 at 7:13
@BorekBernard on an Arch Linux system,man-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 6 at 7:55
I logged it here: github.com/Alexpux/MSYS2-packages/issues/1332
â Borek Bernard
Jul 6 at 8:30
BTW, is there a way to search that "Provides:" field that you mentioned?
â Borek Bernard
Jul 6 at 9:24
add a comment |Â
up vote
1
down vote
accepted
up vote
1
down vote
accepted
From the pacman manpage, for -S:
Packages that provide other packages are also handled. For example,
pacman -S foowill first look for afoopackage. Iffoois not found,
packages that provide the same functionality asfoowill be searched
for. If any package is found, it will be installed. A selection prompt
is provided if multiple packages providingfooare found.
And from the package information for man-db:
Provides: man
If pacman -Fs didn't find the man in man-db, try syncing the files database first (pacman -Fy), or use pkgfile.
From the pacman manpage, for -S:
Packages that provide other packages are also handled. For example,
pacman -S foowill first look for afoopackage. Iffoois not found,
packages that provide the same functionality asfoowill be searched
for. If any package is found, it will be installed. A selection prompt
is provided if multiple packages providingfooare found.
And from the package information for man-db:
Provides: man
If pacman -Fs didn't find the man in man-db, try syncing the files database first (pacman -Fy), or use pkgfile.
answered Jul 5 at 10:56
muru
33.1k576139
33.1k576139
Thanks, despitepacman -Fy,pacman -Fsdoesn't find it. Might be something about MSYS2 in the end? Thanks for the response.
â Borek Bernard
Jul 6 at 7:13
@BorekBernard on an Arch Linux system,man-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 6 at 7:55
I logged it here: github.com/Alexpux/MSYS2-packages/issues/1332
â Borek Bernard
Jul 6 at 8:30
BTW, is there a way to search that "Provides:" field that you mentioned?
â Borek Bernard
Jul 6 at 9:24
add a comment |Â
Thanks, despitepacman -Fy,pacman -Fsdoesn't find it. Might be something about MSYS2 in the end? Thanks for the response.
â Borek Bernard
Jul 6 at 7:13
@BorekBernard on an Arch Linux system,man-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 6 at 7:55
I logged it here: github.com/Alexpux/MSYS2-packages/issues/1332
â Borek Bernard
Jul 6 at 8:30
BTW, is there a way to search that "Provides:" field that you mentioned?
â Borek Bernard
Jul 6 at 9:24
Thanks, despite
pacman -Fy, pacman -Fs doesn't find it. Might be something about MSYS2 in the end? Thanks for the response.â Borek Bernard
Jul 6 at 7:13
Thanks, despite
pacman -Fy, pacman -Fs doesn't find it. Might be something about MSYS2 in the end? Thanks for the response.â Borek Bernard
Jul 6 at 7:13
@BorekBernard on an Arch Linux system,
man-db was the second result (the first being core/filesystem, which probably is a higher priority package), so I'd agree that it seems to be an MSYS-side issue.â muru
Jul 6 at 7:55
@BorekBernard on an Arch Linux system,
man-db was the second result (the first being core/filesystem, which probably is a higher priority package), so I'd agree that it seems to be an MSYS-side issue.â muru
Jul 6 at 7:55
I logged it here: github.com/Alexpux/MSYS2-packages/issues/1332
â Borek Bernard
Jul 6 at 8:30
I logged it here: github.com/Alexpux/MSYS2-packages/issues/1332
â Borek Bernard
Jul 6 at 8:30
BTW, is there a way to search that "Provides:" field that you mentioned?
â Borek Bernard
Jul 6 at 9:24
BTW, is there a way to search that "Provides:" field that you mentioned?
â Borek Bernard
Jul 6 at 9:24
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f453580%2fhow-does-pacman-s-something-find-the-package%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password