We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

[SFOS X] How to remove sociald / jolla-settings-accounts-extensions- packages? [answered]

asked 2017-10-17 15:56:00 +0300

ghling gravatar image

updated 2017-10-17 16:08:57 +0300

Since I don't use any social media accounts and I'd like to keep a streamlined system, I want to remove the sociald and jolla-settings-accounts-extensions-* packages from my Xperia X. On my Jolla C, I could simply remove the jolla-settings-accounts-extensions-* package to free up space in the Accounts section of the settings (meaning I don't have to scroll down to add a generic mail account). Now on the Xperia X, there seems to be some additional dependencies which prevent me from removing the packages (pkcon claims removing the packages would break my system).

From what I could work out, the dependency tree looks somewhat like this (note that the -* packages resemble those packages for individual sites and can have sub-packages themselves):

feature-jolla -> (requires) jolla-settings-accounts-extensions-3rd-party-all -> jolla-settings-accounts-extensions-* -> sociald -> sociald-*

So from the dependency logic, I'd have to remove feature-jolla or break dependencies which both does not sound reasonable to me. Can anyone tell me why this new dependencies exists and ideally how i can remove sociald and the account-extensions without breaking the system?

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by ghling
close date 2018-02-28 11:57:27.859022

1 Answer

Sort by » oldest newest most voted
2

answered 2018-02-28 11:56:55 +0300

ghling gravatar image

It's been a long time , but I want to give an update for those interested:

I just went for it and removed the packages with rpm, ignoring the dependencies. Even though this obviously breaks some dependencies, I didn't notice any issues and all the unneeded templates I don't need are gone in Accounts (and share menus). I suspect they were primary introduced for convenience, so that you can install all of them via one package.

To remove the packages, do the following steps. WARNING: As always, you are doing this at your own risk. Removing packages can cause serious and unforeseen issues.

Find the exact name (and version number) of the packages you want to remove. I used pkcon and searched for all sociald packages:

pkcon search name sociald

The packages are probably named after their purpose, with 'signon' meaning the possibility to add an account in Settings -> Accounts, 'calendars' being the calendar sync / sharing, 'contacts' the contacts sync / sharing and so on (I did not verified this!).

To remove a specific package, you have to use rpm since its the only tool which supports ignoring dependencies (at least the only one I found which is installed by default). The syntax is rpm -e --nodeps <package>, so to remove the facebook contact package use:

rpm -e --nodeps sociald-facebook-contacts-0.1.64-10.3.2.jolla.armv7hl

I did this for all packages except the sociald package itself since other packages depend on it. Since I neither use Google nor Facebook, Twitter, VK or any other "other peoples computer" services (except my own nextcloud server), all those unnecessary entries are gone.

edit flag offensive delete publish link more

Comments

I did this sometime ago (Jolla1), but they end up getting replaced with each OS update.

Spam Hunter ( 2018-02-28 12:30:33 +0300 )edit

Did you gain performance whatsoever?

lakutalo ( 2018-02-28 12:52:17 +0300 )edit

@lakutalo - who are you addressing?

Spam Hunter ( 2018-02-28 13:04:38 +0300 )edit

Firstly: whom! ;) Secondly: who ever feels addressed :) and last but not least, actually you. Sorry for breaking the code of consistence, I yielded to impulsiveness.

lakutalo ( 2018-02-28 13:11:36 +0300 )edit

grammar Nazi ;)

No, I removed them just to see what happens. Nothing happens, but the list is shorter.

Spam Hunter ( 2018-02-28 13:18:11 +0300 )edit

Question tools

Follow
3 followers

Stats

Asked: 2017-10-17 15:56:00 +0300

Seen: 406 times

Last updated: Feb 28 '18