I use the totem-xine player for mpegs and DVDs, and I'm having a problem with it. I manged to get 2 different versions of it installed, and now apt-get throws a fit every time I try to use it. I tried to uninstall the old version, but it gives and error. Here is the output from that:
[jim@primary ~]$ rpm -qa|grep totem
[jim@primary ~]$ su
[root@primary jim]# rpm -e totem-xine-0.99.22-0.lvn.1.3
/var/tmp/rpm-tmp.63445: line 7: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.63445: line 7: `fi||:'
error: %preun(totem-xine-0.99.22-0.lvn.1.3.i386) scriptlet failed, exit status 2
I tried going to /var/tmp/rpm-tmp.63445 to see if I could correct whatever the problem is, but it doesn't exist. That confused the hell out of me. Check this out:
[jim@primary ~]$ ls -al /var/tmp/
drwxrwxrwt 4 root root 4096 Jan 26 22:33 .
drwxr-xr-x 23 root root 4096 Jan 21 01:13 ..
drwx------ 4 jim jim 4096 Jan 26 22:33 kdecache-jim
drwx------ 2 root root 4096 Jan 22 00:44 kdecache-root
I removed the newer version of totem and then tried to remove the old one that generated the error, but still have no luck. Is there a way for me to remove this program?