LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 11-04-2005, 04:48 AM   #1
bob_man_uk
Member
 
Registered: Jul 2003
Location: Malta
Distribution: Ubuntu/Windows/Mac
Posts: 83

Rep: Reputation: 16
files deleted and wont uninstall


Hi all

A while ago LinuxShield (mcafee's virusscan for linux) was installed but the files were deleted without running rpm -e <package name> i noticed this when i was installing an application with apt-get and it said that there were duplicate programes (which there is)
Code:
 out put of rpm -q LinuxShield

LinuxShield-1.0.0-404
LinuxShield-1.0.0-442

so my question is, how do i remove these two programs?, if i try to
rpm -e <either package>

i get the output

/var/tmp/rpm-tmp.90480: line 6: /opt/NAI/package/LinuxShield/setup: No such file or directory
error: %preun(LinuxShield-1.0.0-404) scriptlet failed, exit status 127


i check /opt and true enough there isnt a directory "NAI"

any ideas,

thanks in advance

MattyG
 
Old 11-04-2005, 05:00 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Use synaptic to remove the old version or "rpm -e LinuxShield-1.0.0-404".
 
Old 11-04-2005, 05:07 AM   #3
bob_man_uk
Member
 
Registered: Jul 2003
Location: Malta
Distribution: Ubuntu/Windows/Mac
Posts: 83

Original Poster
Rep: Reputation: 16
Re: files deleted and wont uninstall

Quote:
originally posted by reddazz
Use synaptic to remove the old version or "rpm -e LinuxShield-1.0.0-404".
READ

Quote:
Originally posted by bob_man_uk
if i try to
rpm -e <either package>

i get the output

/var/tmp/rpm-tmp.90480: line 6: /opt/NAI/package/LinuxShield/setup: No such file or directory
error: %preun(LinuxShield-1.0.0-404) scriptlet failed, exit status 127


i check /opt and true enough there isnt a directory "NAI"
it doesnt work
 
Old 11-05-2005, 05:10 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Code:
#rpm -e --noscripts LinuxShield-1.0.0-404
 
Old 11-06-2005, 01:51 PM   #5
bob_man_uk
Member
 
Registered: Jul 2003
Location: Malta
Distribution: Ubuntu/Windows/Mac
Posts: 83

Original Poster
Rep: Reputation: 16
excellent it worked,


Thanks

mattyG
 
  


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 Help - Deleted Files fpdesignco Linux - Enterprise 3 11-05-2005 09:21 AM
kpackage wont uninstall dave`2005 Slackware 7 09-06-2005 08:34 PM
How to delete the destination files while the source files deleted in cp -u ? myunicom Linux - General 4 09-26-2003 01:13 PM
RealPlayer wont uninstall ckupris Linux - Newbie 2 06-27-2003 01:02 PM
Deleted files!!! davez530 Linux - Newbie 3 05-18-2003 08:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:57 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