LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can't remove residual config from Synaptic (https://www.linuxquestions.org/questions/linux-newbie-8/cant-remove-residual-config-from-synaptic-4175580551/)

gillsman 05-24-2016 06:02 AM

Can't remove residual config from Synaptic
 
Hi,
I originally had Bitdefender anti virus installed on my system (Linux Mint Rosa 17.3 32bit)
I know I don't need it but I wanted to scan files I was sending to my Windows friends, but that's another story.
Anyway I decided to stop using this particular program & removed it from synaptic, there were two entries but the second entry (bitdefender-scanner) now shows in residual config & if I mark it for complete removal it returns the following message ~

"E: bitdefender-scanner: subprocess installed post-removal script returned error exit status 1"

I tried sudo apt-get --purge remove bitdefender-scanner in terminal but it said something like "No such file or folder" (sorry can't remember exactly)

If I just forget about it & ignore the entry is there any harm or do I need to get to get rid of it & if so any idea's please.

Many Thanks.

ardvark71 05-24-2016 02:16 PM

Quote:

Originally Posted by gillsman (Post 5550071)
If I just forget about it & ignore the entry is there any harm or do I need to get to get rid of it & if so any idea's please.

Hi...

Having this issue remain might affect the ability to install software in the future, so yes, it should be resolved, if at all possible. :)

You can try these commands first to see if they will take care of it...

Code:

sudo dpkg --configure -a
Code:

sudo apt-get install -f
Code:

sudo apt-get autoclean
Code:

sudo apt-get autoremove
Code:

sudo apt-get clean
If they don't, from what I saw on an Ubuntu forum thread (by Dave_M.,) you can try using this command...

Code:

sudo find / -type f -iname "bitdefender*"
and delete everything that's listed manually.

Let us know how it turns out... :)

Regards...

gillsman 05-24-2016 03:40 PM

Thanks for that. I ran all the commands, the last one led me to a folder with two entries, bitdefender-scanner.list & bitdefender-scanner.postrm, both of these files had the delete option greyed out so I was unable to remove them.

ardvark71 05-24-2016 03:51 PM

Quote:

Originally Posted by gillsman (Post 5550308)
Thanks for that. I ran all the commands, the last one led me to a folder with two entries, bitdefender-scanner.list & bitdefender-scanner.postrm, both of these files had the delete option greyed out so I was unable to remove them.

Hi...

Did you first gain root permissions? If not and you're running Cinnamon, first run this command...

Code:

gksudo nemo
Then you should be able to delete the files normally. :)

Regards...

gillsman 05-25-2016 06:56 AM

Hi & thanks. So if I run the command gksudo nemo will the two files in question no longer be greyed out or do I have to remove them from the terminal & if so what command do I use for that.

ardvark71 05-25-2016 11:26 AM

Quote:

Originally Posted by gillsman (Post 5550548)
Hi & thanks. So if I run the command gksudo nemo will the two files in question no longer be greyed out or do I have to remove them from the terminal & if so what command do I use for that.

Hi...

The gksudo nemo command should bring up your file manager as root so you can delete them using that method. First, confirm that you are using Cinnamon as your DE and Nemo as your file manager (you can use the images here to help with that,) then just navigate to the location of the files in question and delete them. You can delete the files both ways, however, doing this through the file manager might be easier. If you'd like to give it try using the CLI, please see the basic tutorial and instructions here and here. I can't give you a specific command, as I don't know the location of the files in question on your system. :)

Regards...

gillsman 05-25-2016 02:37 PM

Heh Brilliant !!

I had my doubts but this worked like a dream & iv'e learned something too, great stuff. Thank you

ardvark71 05-25-2016 03:57 PM

Quote:

Originally Posted by gillsman (Post 5550802)
Heh Brilliant !!

I had my doubts but this worked like a dream & iv'e learned something too, great stuff. Thank you

You're welcome, I'm glad you got it squared away! :)

Regards...


All times are GMT -5. The time now is 06:37 AM.