View Single Post
Posts: 986 | Thanked: 1,526 times | Joined on Jul 2010
#6
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
apt-cache depends mp-harmattan-005-pr | \
  sed 's/Depends: //' | \
  xargs apt-get install

#remove mp-harmattan
apt-get remove mp-harmattan-001-pr

#remove anything else you like
apt-get remove facebook
__________________
~ teleshoes ~

Last edited by wolke; 2012-04-01 at 16:04.