FedoraThis forum is for the discussion of the Fedora Project.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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:
Code:
[jim@primary ~]$ rpm -qa|grep totem
totem-xine-0.99.22-0.lvn.1.3
totem-xine-0.99.22-1.1.fc3.fr
[jim@primary ~]$ su
Password:
[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:
Code:
[jim@primary ~]$ ls -al /var/tmp/
total 32
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?
No, I can't uninstall the totem-xine-0.99.22-0.lvn.1.3 now. Same error as show in the initial post. Apt will work if I modify the configs to allow 2 versions of totem, but I would much rather just have one version. There has to be some asbolute removal command for rpm, I tried whatever tag it is for "force", but that seems to only work for installing, not uninstalling.
Same failure in using yum as just doing the rpm command -
Code:
[root@primary jim]# yum remove totem-xine-0.99.22-0.lvn.1.3
Setting up Remove Process
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package totem-xine.i386 0:0.99.22-0.lvn.1.3 set to be erased
--> Running transaction check
Dependencies Resolved
Transaction Listing:
Remove: totem-xine.i386 0:0.99.22-0.lvn.1.3
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
/var/tmp/rpm-tmp.23646: line 7: syntax error near unexpected token `fi'
/var/tmp/rpm-tmp.23646: line 7: `fi||:'
error: %preun(totem-xine-0.99.22-0.lvn.1.3.i386) scriptlet failed, exit status 2
Removed: totem-xine.i386 0:0.99.22-0.lvn.1.3
Complete!
[root@primary jim]# rpm -qa|grep totem
totem-xine-0.99.22-0.lvn.4.3
totem-xine-0.99.22-0.lvn.1.3
Synaptic isn't installed, I'm more of a CLI guy than GUI. apt-get can't uninstall it either, I've tried that already.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.