Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I somehow managed to ruin my favorite browser, Opera. I managed to remove some of the tools somehow and its not functioning properly. I want to start from scratch with it and no matter how many times I remove it from synaptic or software manager It installs the same. I need to get into the repositories or something and completely remove it from my OS and download and install it from scratch because the synaptic is not completely removing it.
I suggest synaptic and right click "complete remove package". As you have worked out however, the original package file is still sitting there as it was downloaded in the first place and each time you try to do a fresh install it simply reopens the same package. This is great if you want to save download time.
There are a couple of tricks I use to delete these lurking files. I am NOT a guru but I feel your pain and would like to suggest this:
1) Completely remove as suggested in Synaptic, then....
2) Follow the cleanup processes suggested in this link. http://ubuntuforums.org/showthread.php?&t=140920
3. Alternatively, go to terminal and type "locate Opera" and it will show you all the files related to Opera. Delete them one by one using a nautilus in root mode. Its a crude way to do it, but it works. I might add that it could break your system if the files you delete is somehow important to the broader OS functions.
Some guru might chip in with a simpler solution.
I wish there were some tool to do this other than the above.
should get rid of the local package cache, thus forcing apt to download the packages instead of using a local copy (that doesn't exist anymore). Removing a package might leave some files behind (for example configuration files, so if you reinstall the same package, you haven't lost your configuration), but if you use 'purge' instead of 'remove', that should do the trick:
Code:
apt-get purge packagename
It should be the same as
Code:
apt-get remove --purge packagename
If you still have problems after this, make sure it's not because of something else than the Opera package..
If you get a hold of the .deb package and download it manually, you could also just
Code:
dpkg -i packagename.deb
in the directory where the package is in, to force installation of that specific package file.
I want you to know that this worked and I was able to download Opera again BUT....It installed in the same place I left off. Aghhhhh! Whatever.....I give.
Its really not that big of deal, I can use firefox just as well but I like Opera for some strange reason.
I may even reinstall my system from scratch because thats the kind of person I am. (learn from my mistakes) That should get me back to square one. I have everything backed up at all times, so no biggie there.
that sounds like your config files might need deleting. I'm guessing they might be in something like your home directory as a hidden folder called ./opera. Save these files somewhere (using a different folder name) and delete the folder and do a reinstall of Opera. See if that fixes it. Once you have Opera the way you like it you might be able to grab your bookmarks etc. from the saved ./opera folder
that sounds like your config files might need deleting. I'm guessing they might be in something like your home directory as a hidden folder called ./opera. Save these files somewhere (using a different folder name) and delete the folder and do a reinstall of Opera. See if that fixes it. Once you have Opera the way you like it you might be able to grab your bookmarks etc. from the saved ./opera folder
Regards
John
Thanks, Where would I go in my filesystem to delete these troublesome files? I opened my "filesystem" and searched "Opera" and a bunch of opera related files became available but I'm unsure which ones to delete? Should I delete them all then re-download Opera and go from there, or what?
I'm reluctant to say to delete all of the files in the ./opera folder as some of them are likely to be your bookmarks. If these are not important to you though, (along with other personal settings), then after uninstalling Opera through Synaptic, I recommend deleting the whole ./opera folder. When you reinstall, it will recreate the folder with fresh error free settings.
Another alternative is to go to the Opera forum (I am assuming there is one) and ask there what file names contain the bookmarks(you might be able to do this your self by simply trying to open them with gedit). Save these and then delete the ./opera folder. Once the new folder is loaded under the new install, save the newly installed bookmark folder (with another name) and replace it with your old one (using the Opera official name). Assuming this is not the offending file, this should fix your problem.
Either of these will do the job, depending on how precious your bookmarks are to you. If it were me, I would take the first option and start my bookmarks again.
Thanks, Where would I go in my filesystem to delete these troublesome files? I opened my "filesystem" and searched "Opera" and a bunch of opera related files became available but I'm unsure which ones to delete? Should I delete them all then re-download Opera and go from there, or what?
Thanks for the help!
any file that starts with a dot(.) is a hidden file. type
Code:
ls -a
to see also the hidden ./opera in your /home/<user> directory
then, go to our home folder, hit ctrl+h to show hidden files, and delete your .opera folder there, that will remove the settings you had, and start from scratch again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.