I'm pretty new to linux, and am having a bit of trouble with rpm. My problem initially began with a failed attempt to install xine via rpm (proceeding a failed attempt to do so from the source) and it eventually led to rpm locking up. I tried:
# rm -f /var/lib/rpm/__db*
# rpm -vv --rebuilddb
and watched the messages go by... This fixed the problem with rpm locking up, but not with it being totally confused about my attempt to install xine from rpm. It tells me:
# rpm -q xine-lib-1.0.0-fr0.beta9.1.i386.rpm
package xine-lib-1.0.0-fr0.beta9.1.i386.rpm is not installed
# rpm -i xine-lib-1.0.0-fr0.beta9.1.i386.rpm
warning: xine-lib-1.0.0-fr0.beta9.1.i386.rpm: V3 DSA signature: NOKEY, key ID e42d547b
package xine-lib-1.0.0-fr0.beta9.1 is already installed
So... yeah...