LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-17-2008, 09:48 AM   #1
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
Help - cannot uninstall, already removed rpm?


Hi Guys need helpd big time

I have a red hat server which i was installing a backup software on to which used a ingres back end database, will after uninstalling the software i removed some left over program directories. Now when i try to install the software again it complains that part of ingres is still installed


rpm -qa | grep -i ingres
ca-ingres-WV-3.0.2-105
ca-ingres-CATOSL-3.0.2-105


when i run command

rpm -q -l ca-ingres-WV-3.0.2-105


it actually thinks that the files are still installed i.e. displays loads of files, but there is only a blank directory.


Is the rpm database corrupt or something????? please help and thanks in advance.
 
Old 03-17-2008, 10:04 AM   #2
paragkalra
Member
 
Registered: Sep 2006
Location: Nagpur, Maharashtra, India
Distribution: Debian, Ubuntu, Redhat, Fedora, SLES, OpenSUSE, FreeBSD, Mac OS X
Posts: 221

Rep: Reputation: 31
Try following and let us know the outcome:

#rpm -e --nodeps --force ca-ingres-WV-3.0.2-105
#rpm -e --nodeps --force ca-ingres-CATOSL-3.0.2-105
 
Old 03-17-2008, 10:08 AM   #3
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
Hi

I have tried that already and get a message

"rpm: only installation, upgrading, rmsource and rmspec may be forced"

i have also tried nodeps and force on there own.....
 
Old 03-17-2008, 10:13 AM   #4
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Original Poster
Rep: Reputation: 31
When i run command

rpm -r --nodeps ca-ingres-WV-3.0.2-105

i get the following errors

/var/tmp/rpm-tmp.25838: line 1: iipmhost: command no found
/var/tmp/rpm-tmp.25838: line 43: iisysdep: no such file or directory
error: %preun(ca-ingres-WV-3.0.2-105) scriptlet failed, exit status 1


Weird....and there are no rpm-tmp files in /var/tmp
 
Old 03-17-2008, 11:32 AM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594Reputation: 3594
Typo prolly since "-r" is short for "--root" and you don't need that. Try adding "--noscripts".
 
Old 11-13-2009, 11:34 AM   #6
wmckean
LQ Newbie
 
Registered: Nov 2009
Posts: 1

Rep: Reputation: 0
ginda...have you found a solution for this? I seem to be running into the same problem and am at whit's end. Thanks....
 
Old 11-17-2009, 07:43 AM   #7
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,808

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by wmckean View Post
ginda...have you found a solution for this? I seem to be running into the same problem and am at whit's end. Thanks....
This thread is pretty old---you may want to consider starting a new thread. Regardless, please provide more detail on your specific situation.
 
  


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
apt-get upgrade removed rpm help!! gfem Fedora 6 06-12-2006 10:36 AM
how to uninstall a rpm? Itachi Linux - Newbie 1 08-16-2005 07:58 AM
library symbolic links removed after rpm install aymanos Linux - Distributions 4 01-03-2005 03:39 PM
rpm removed packages log? jpokrzyk Linux - General 1 02-14-2004 11:24 PM
RPM uninstall hamish Linux - Newbie 2 09-05-2003 03:36 PM

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

All times are GMT -5. The time now is 11:58 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
Open Source Consulting | Domain Registration