LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Red Hat (https://www.linuxquestions.org/questions/red-hat-31/)
-   -   files deleted and wont uninstall (https://www.linuxquestions.org/questions/red-hat-31/files-deleted-and-wont-uninstall-379849/)

bob_man_uk 11-04-2005 04:48 AM

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

reddazz 11-04-2005 05:00 AM

Use synaptic to remove the old version or "rpm -e LinuxShield-1.0.0-404".

bob_man_uk 11-04-2005 05:07 AM

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

reddazz 11-05-2005 05:10 AM

Code:

#rpm -e --noscripts LinuxShield-1.0.0-404

bob_man_uk 11-06-2005 01:51 PM

excellent it worked,


Thanks

mattyG


All times are GMT -5. The time now is 04:59 PM.