Basically, although pkgs are in .rpm format, you wouldn't normally use the rpm cmd to update/install, as this doesn't handle dependencies.
Instead, use the yum cmd, which does.
It can sometimes happen that using yum to remove pkgs will cause a cascade effect in terms of dependency chains, so its always a good idea not to use the -y flag.
Instead, check what it says it will do and consider if its safe to confirm.
If not and you do want to remove stuff, then do use the rpm cmd, specifically 'rpm -e (or --erase) to remove individual pkgs.
http://linux.die.net/man/8/yum
http://linux.die.net/man/8/rpm