LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 01-26-2005, 10:40 PM   #1
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 48
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 10:42 PM.
 
Old 01-27-2005, 07:54 AM   #2
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
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.
 
Old 01-27-2005, 08:20 AM   #3
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
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
 
Old 01-27-2005, 09:18 AM   #4
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
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?
 
Old 01-27-2005, 09:34 AM   #5
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
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
 
Old 01-28-2005, 09:52 AM   #6
sbassett
Member
 
Registered: Dec 2004
Location: USA
Distribution: CentOS 4.4,Ubuntu 6.10&7.04,Win XP(the wife's)
Posts: 151

Rep: Reputation: 30
Have you tried using synaptic to remove?
 
Old 01-28-2005, 09:57 AM   #7
ben_build#2.1.0
Member
 
Registered: Apr 2004
Distribution: Fedora Core 3
Posts: 240

Rep: Reputation: 30
also try "yum remove totem-xine-0.99.22-0.lvn.1.3"
 
Old 01-28-2005, 07:08 PM   #8
JimBass
Senior Member
 
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Original Poster
Rep: Reputation: 48
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Two versions of glib installed rundjuling Linux - Software 5 06-03-2008 03:30 AM
Multiple versions of packages installed bakwas_internet Fedora 7 06-01-2007 02:04 PM
Compare installed RPM versions using Bash script jimwelc Linux - Newbie 6 01-28-2005 11:40 AM
Apache-AdvancedExtranetServer installed two versions?? seedsca Mandriva 2 03-26-2004 01:03 AM
Multiple RPM versions installed Tomasfuego Linux - Software 0 05-15-2003 03:28 PM


All times are GMT -5. The time now is 07:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration