I must be missing the meaning of "explicitly" installed. I'm cleaning up some packages on one of my installs and did something that I never noticed before. (This is all from installing Samba, and then removing it with just a -R instead of a -Rs)
pumpkin ~ $ whoneeds libwbclient Packages that depend on [libwbclient] None pumpkin ~ :( $ yaourt -Rs libwbclient checking dependencies... error: failed to prepare transaction (could not satisfy dependencies) :: cifs-utils: requires libwbclient :: smbclient: requires libwbclient
These two things seem contradictory to me. I guess the easiest thing to do at this point is re-install samba, then -Rsn samba.
My question is: since whoneeds isn't perfect, is there a pacman command that will absolutely show if a package has any dependencies?
Thank you for your patience with this newbie.
Last edited by browntown (2013-01-29 02:38:49)
You can use pactree (included in pacman btw) to see a package's dependencies. Also it works recursively so you may want to limit the depth using the -d flag. Furthermore you can see reverse dependencies with the -r flag.
Last edited by anonymous_user (2013-01-28 21:26:28)
What is "whoneeds"? Does it even know about pacman?
$ pkgfile whoneeds community/pkgtools
Last edited by karol (2013-01-28 23:14:33)
Its part of pkgtools.
edit: beaten by karol
Last edited by anonymous_user (2013-01-28 23:14:08)
In this case I'm pretty sure it can't make a difference, but for future reference, pacman != yaourt. Your title says one thing, but your content says another.
@Trilby, I knew someone would bring that up. I noticed it after I had posted and left it since it doesn't change my question. Which still is:
Why does "whoneeds" not work as expected?
How did you install smbclient/libwbclient? whoneeds seems to work for me (albeit still strange results):
~ > whoneeds libwbclient Packages that depend on [libwbclient] gnome-mplayer mplayer smbclient ~ > pactree -r libwbclient |--libwbclient |--cifs-utils |--smbclient |--mplayer |--gnome-mplayer |--smbclient
well it is gone now, I just kept looking through -Rs complaints till it went away. Reistalling samba, then -Rs removing it didn't take it away. So I got rid of smbclient and cifs and things starting working.
I'm going to just go on in the future not assuming whoneeds is actually telling me what I expect it to. Will mark as closed.