| Fedora This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-26-2005, 09:40 PM
|
#1
|
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Rep:
|
2 versions installed, can't remove the bad one
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?
Thanks,
JimBass
Last edited by JimBass; 01-26-2005 at 09:42 PM.
|
|
|
|
01-27-2005, 06:54 AM
|
#2
|
|
Member
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151
Rep:
|
Have you tried to execute just rpm -e totem-xine. If that doesn't work have you tried rebuilding the rpm database???
Please correct me anyone if the syntax is wrong:
rpm --rebuilddb
Let me know.
|
|
|
|
01-27-2005, 07:20 AM
|
#3
|
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Original Poster
Rep:
|
I tried both of them, but it didn't work. Here's the results:
Code:
[root@primary jim]# rpm -e totem-xine
error: "totem-xine" specifies multiple packages
[root@primary jim]# rpm -rebuilddb
[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
Peace,
JimBass
|
|
|
|
01-27-2005, 08:18 AM
|
#4
|
|
Member
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151
Rep:
|
Can you uninstall with rpm -e totem-xine-0.99.22-0.lvn.1.3 now. Does that still return the error? Will apt-get with the -f flag work?
|
|
|
|
01-27-2005, 08:34 AM
|
#5
|
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Original Poster
Rep:
|
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.
Peace,
JimBass
|
|
|
|
01-28-2005, 08:52 AM
|
#6
|
|
Member
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151
Rep:
|
Have you tried using synaptic to remove?
|
|
|
|
01-28-2005, 08:57 AM
|
#7
|
|
Member
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240
Rep:
|
also try "yum remove totem-xine-0.99.22-0.lvn.1.3"
|
|
|
|
01-28-2005, 06:08 PM
|
#8
|
|
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100
Original Poster
Rep:
|
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.
Peace,
JimBass
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:08 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|