LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-10-2007, 10:46 AM   #1
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Rep: Reputation: 15
cant uninstall, please help!


need to remove java. this is what is happening:

rpm -e java-1.4.2-gcj-compat-1.4.2.0-40jpp_83rh
error: Failed dependencies:
java >= 0:1.4 is needed by (installed) jessie-1.0.1-3.i386
java-gcj-compat >= 1.0.31 is needed by (installed) gnu-crypto-2.1.0-1jpp_2fc.i386
java-sasl is needed by (installed) gnu-crypto-2.1.0-1jpp_2fc.i386
java-sasl is needed by (installed) jessie-1.0.1-3.i386
jce is needed by (installed) gnu-crypto-2.1.0-1jpp_2fc.i386
jce is needed by (installed) jessie-1.0.1-3.i386


HOW can i get rid of this mess? what is the RIGHT way to do it?
 
Old 09-10-2007, 10:53 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Try
Code:
#rpm -e java-1.4.2-gcj-compat jessie gnu-crypto
Post back any error messages.
 
Old 09-10-2007, 10:56 AM   #3
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15


ok. so why exactly did that work?
thank you by the way
 
Old 09-10-2007, 11:03 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The output you posted in your first post shows that rpm did not want to uninstall java-1.4.2-gcj-compat because it was needed by jessie and gnu-crypto. By uninstalling java-1.4.2-gcj-compat as well as the packages that needed it, you eliminate the dependency issues.
 
Old 09-10-2007, 11:15 AM   #5
jjd228
Member
 
Registered: Jan 2004
Distribution: RedHat 9
Posts: 41

Original Poster
Rep: Reputation: 15
i originally tried to remove jessie after getting that message and that failed too, with other dependancy messages. my real confusion was because you used "java-1.4.2-gcj-compat" and i typed out the whole name of the package. is this just because rpm is intelligent enough to know what youre talking about?
 
Old 09-10-2007, 11:48 AM   #6
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
For most packages, you do not need to use the version number when doing operations on them using rpm. The kernel is a bit unique in that because you are allowed to have more than one kernel installed at anytime, you need to use the version number.
 
  


Reply



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
Need to uninstall SuSe 8.1 & there is no uninstall jwhibdon Linux - Software 10 10-26-2006 11:57 AM
How Do You "UNINSTALL" a tar.gz file???? Make Uninstall not effective Balarabay1 SUSE / openSUSE 6 05-22-2006 09:27 PM
How do you uninstall software which doesn't have an uninstall-file? lagu2653 Linux - Software 2 12-08-2005 12:36 PM
uninstall from src if no make uninstall dtra Linux - Software 3 04-29-2005 09:13 AM
Source uninstall with 'make uninstall' HOWTO! Creeps Linux - Newbie 6 09-14-2004 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:11 AM.

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
Open Source Consulting | Domain Registration