Can someone told me how to unistall facebook?
Recently i install facebook for my N9 through "terminal", however, i found there are two facebook apps after i installed. Can someone told me how to uninstall that apps. Thanks.:)
|
Re: Can someone told me how to unistall facebook?
As root in the terminal, type:
dpkg -l | grep -i facebook See what names come back. One will be the pre-installed app, and the other will correspond with the one you manually loaded. They will have different names since they would not both install if they had the same name. It's likely the the one with a lower version number is the one you side loaded since the official FB app recieved an update recently, but I'm just guessing since I don't know what you installed or where you got it from. Either way, take note of the name of the offending package and type: dpkg -r <type offending facebook package name here> |
Re: Can someone told me how to unistall facebook?
Be careful with really uninstalling facebook. I tried twice, and it messes up package management really good. So good, that when installing something afterwards just about every package gets wiped, including browser, mail, call-UI, ... Needless to say I had to reflash.
As much as I want to get rid of those packages, I don't try anymore but merely hide the icons in the launcher. |
Re: Can someone told me how to unistall facebook?
Quote:
i routinely remove all these packages: wxapp apnews realgolf2011 gof2 nfsshift angrybirdsfreemagic mp-harmattan-005-pr facebook twitter twitter-qml and use apt-cache depends to mark the dependencies as manually installed. |
Re: Can someone told me how to unistall facebook?
Quote:
Code:
~ $ apt-cache rdepends facebook As you can see, I'm quite new to Linux/package management. Could you give us a pointer on how to proceed? |
Re: Can someone told me how to unistall facebook?
unfortunately, no, theres no way to remove a package without removing the things that depend upon it.
HOWEVER, i can and do remove mp-harmattan-001-pr. what you get then, is a billion packages that "were automatically installed and can be removed". those packages should NOT be removed if youre willing to risk a reflash, run this script. i run this script myself, and it works perfectly for me. the way this script works 1) the complex first line just installs a bunch of packages you already have installed; these are packages that depend on mp-harmattan-001-pr. this line should simply output a lot of 'marked manually installed, already latest versions' 2) then it removes mp-harmattan-001-pr, which does *nothing* 3) then it removes facebook, this time without removing any dependencies. Code:
#install mp-harmattan deps, fastest way to mark-manual |
Re: Can someone told me how to unistall facebook?
this is true regardless of which mp-harmattan-***-pr package you have installed; theyre all just meta-packages with very few differences. {that is to say, mp-harmattan-001-pr is just like mp-harmattan-005-pr}
|
Re: Can someone told me how to unistall facebook?
Hm, looks rather... elaborated. And I guess it might interfere with updates later on. While I'm not afraid to reflash the device when things go wrong, I'd rather avoid it.
I've tried this: Code:
~ # dpkg --no-act --ignore-depends=mp-harmattan-001-pr -r facebook Anyway, could anybody make an educated guess what will happen with the --ignore-depends option? (Or have the balls and simply try it :D) |
Re: Can someone told me how to unistall facebook?
Quote:
what i wrote above are three simple commands that will accomplish PRECISELY what you want, without breaking upgrades, and without removing ANY packages that do anything useful whatsoever. removing mp-harmattan-001-pr, sounds scary, but it doesnt DO anything. try it, if youre not afraid of a {small} chance of needing to reflash. |
Re: Can someone told me how to unistall facebook?
Quote:
the only alternative to doing this is to create a dummy facebook package that fulfills the dependency without doing anything, and then mark the version as 'fixed' so it wont receive upgrades. really, my solution is a lot less involved than you might think. |
All times are GMT. The time now is 08:15. |
vBulletin® Version 3.8.8