Can run installed packages from terminal but pacman fails to find them

view story

https://bbs.archlinux.org – I installed a package through the terminal, and the package had a lot of dependantcys. Most of the dependancys were unnessesary, but pacman wouldn't let me pick and choose which dependancys I wanted included with the initial package. So I thought, I would install the package and remove all of the unnesessary dependancys afterwards. Well, it wouldn't work.An example. I can run ksysguard from the terminal. But, when I do a 'sudo pacman -R ksysguard' pacman fails to locale the package and tells me it's uninstalled, even though it just ran. How can I fix this problem? I ha (HowTos)