Sunday, October 23, 2016

14.04 - How to Remove varicad2013-en (A Virus or PIA)

I am having a problem. I was running out of space and remove varicad2013-en from my system manually. Now when I try to do a system upgrade, the system fails with the following message:



Processing triggers for menu (2.1.46ubuntu1) ...
Errors were encountered while processing:
varicad2013-en
E: Sub-process /usr/bin/dpkg returned an error code (1)



Here is another example:



sudo apt-get purge varicad2013-en
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
varicad2013-en*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.

1 not fully installed or removed.
After this operation, 209 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 736444 files and directories currently installed.)
Removing varicad2013-en (2.07) ...
/var/lib/dpkg/info/varicad2013-en.prerm: 8: cd: can't cd to /opt/VariCAD/desktop
dpkg: error processing package varicad2013-en (--purge):
subprocess installed pre-removal script returned error exit status 2
/var/lib/dpkg/info/varicad2013-en.postinst: 57: cd: can't cd to /opt/VariCAD/desktop
dpkg: error while cleaning up:

subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
varicad2013-en
E: Sub-process /usr/bin/dpkg returned an error code (1)


When I try to install any package, I get same message, so my machine is stuck in limbo over this package / virus.



I have tried:




dpkg --configure -a
dpkg --purge varicad2013-en
apt-get remove --force varicad2013-en
apt-get remove --force varicad2013-en


I get stuff like:



Errors were encountered while processing:
varicad2013-en

E: Sub-process /usr/bin/dpkg returned an error code (1)


or



dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 2


How do I remove the package from the Ubuntu 14.04LTS?




I am thinking to wipe the entire drive.. but.. there has to be an easier answer.

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...