LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to find and remove custom renamed *.bundles (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-find-and-remove-custom-renamed-%2A-bundles-4175426913/)

ChiggyDada 09-12-2012 12:26 PM

How to find and remove custom renamed *.bundles
 
Hi.

I've been combing for an answer for this for ages over the internet and it appears no one has made this same mistake (or else they solved it off line).

I downloaded VMware Workstation, (*version 8) and tried to install it on the 3.2 kernel. Naturally I ran into the usual problems with patching the kernel everyone else did.
I went to uninstall (LinuxMint 13, Cinnamon) and ran into a quandry...

...I downloaded the *.bundle, and rather than retype the whole name in as I learned how to use the command line, I renamed the original bundle something shorter and random which I don't recall exactly (VMWkstn.bundle, VMWk8.bundle?....who knows). I figured it was irrelevent and I'd delete the bundle once I was done; no need keeping it on disk.

I have NO IDEA how to remove it. I've used command line (apt-get remove/purge, etc after making a list of everything installed on the system- it appears it's not made it to that list because- surprise- its not fully installed itself yet- needs to patch the kernel to complete the proceedure!)... I've tried using an astrix in my searches and removing anything I've found there. I've used the software center and package manager. There is no menu in cinnamon that one can "mark for removal" -if I do a search (not necessary, the shortcuts are in the menu) it pops up the final part of the installer asking to patch the kernel, and then we go into the loop that we're trying to fix.

Argh!!!
This is too much like M$*cough*windblows!
...(granted, that might be my fault for messing with the bundle name)

To fix the problem, the normnal solution is to run a patch and remove or purge the original install, then reinstall. Can't find the bundle to purge or remove it, nothing else seems to work either.

...
I'm trying to avoid reinstalling the whole distro.

Any ideas how to get this offending *.bundle off the system so I can run the patch, fix the kernel and get back in business?

What next?

*chuckle*
Thank you tons!!!!

malekmustaq 09-13-2012 11:59 PM

Quote:

Any ideas how to get this offending *.bundle off the system so I can run the patch, fix the kernel and get back in business?
What next?

First back up important directories.

Second, get a terminal and issue this:

--$ find . -type f -iname "*.bundle" -exec rm -f {} \;

Note:
If there are directories/file that "find" cannot descend into that means you are required a root authority. Now this depends on your own taste, if you feel you are assured that any file of name *.bundle all over wherever directory it lies, must needs be removed, then you can do so by prefixing the script with a "sudo" and give the root password. This manner:

$ sudo find . -type f -name "*.bundle" -exec rm -f {} \;

I am not familiar with what software you have installed that caused the trouble. But mostly they can be found at /home/USER$, /opt, /var, /tmp and /usr/local. Just be careful. Back up everything first just in case something happens.

Good luck.

m.m.


All times are GMT -5. The time now is 09:34 PM.