This forum has been archived. All content is frozen. Please use KDE Discuss instead.

akonadi dependencies

Tags: None
(comma "," separated)
lsas
Registered Member
Posts
2
Karma
0
OS

akonadi dependencies

Sun Nov 28, 2010 10:45 am
I'm trying to completely remove the akonadi package, but without success.

But when i try to remove with pacman, it says that akonadi is need by kdepimlibs, nad kdepimlibs is need by digikam,kdebase-workspace, kdepim-runtime and kipi-plugins.

Even if is not possible to remove it for the dependencies, is possible to completely disable it? Seems to startup automatically evertytime.

I saw digikam trouth the akonadi dependencies, but Digikam really need to use it ? If yes can i configure akonadi to start only when needed ?
Here the akonadi process list that takes resources everytime:
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_0
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_1
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_2
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_3
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_4
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_5
/usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
/usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_1
/usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_1
/usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
/usr/bin/akonadi_nepomuk_contact_feeder --identifier akonadi_nepomuk_contact_feeder
/usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_2
/usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0

Thanks a lot for the advices.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: akonadi dependencies

Sun Nov 28, 2010 2:33 pm
lsas wrote:But when i try to remove with pacman, it says that akonadi is need by kdepimlibs, nad kdepimlibs is need by digikam,kdebase-workspace, kdepim-runtime and kipi-plugins.

These packages or rather applications and/or plugins in this package are most likely doing something with PIM data, e.g. contacts.
So they link against KDE's PIM infrastructure libraries (i.e. libs from kdepimlibs), thus making that a dependency.

PIM data access is implemented as a client library to Akonadi, so providing said functionality depends on Akonadi at least at runtime.

Distributions usually chose to make a mandatory package dependency for this, most likely because adding runtime install functionality to all these usages or adding documentation and providing support on manual installation for those who want this kind of integration is considered a lesser solution.

lsas wrote:Even if is not possible to remove it for the dependencies, is possible to completely disable it? Seems to startup automatically evertytime.

Akonadi does currently only start on demand. Somebody between the source and you might have added some kind of autostart mechanism, but in most cases where people reported an autostart like behavior they had some PIM using application or plugin running, thus activating Akonadi on demand (e.g. contact search plugin in Krunner).

lsas wrote:I saw digikam trouth the akonadi dependencies, but Digikam really need to use it ?

Maybe for tagging images with persons from the addressbook?
The functionality could be implemented as a plugin and the application can probably be configured not to load it.

lsas wrote:If yes can i configure akonadi to start only when needed ?

That's how it is implemented.

lsas wrote:Here the akonadi process list that takes resources everytime:
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_0
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_1
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_2
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_3
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_4
/usr/bin/akonadi_contacts_resource --identifier akonadi_contacts_resource_5

This doesn't look right. Usually there is only one personal contacts address book (it is possible to create more than one on different locations on the harddisk but not very common).

Do you see any duplicated address books in KAddressBook?

lsas wrote:/usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_0
/usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_1

Looks OK if you have two local calendars.

lsas wrote:/usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_1
/usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
/usr/bin/akonadi_nepomuk_contact_feeder --identifier akonadi_nepomuk_contact_feeder
/usr/bin/akonadi_ical_resource --identifier akonadi_ical_resource_2
/usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_0

The two Maildir resources might also be a duplication, usually there is only one.

The duplicatations could have been caused by some migration gone wrong or some things accidentally triggered twice.

You can check, modify and delete all resources (additional to using the facilities of applications like KAddressBook) like this:
kcmshell4 kcm_akonadi

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
iria
Registered Member
Posts
40
Karma
0
OS

Re: akonadi dependencies

Mon Nov 29, 2010 8:24 pm
Akonadi does currently only start on demand. Somebody between the source and you might have added some kind of autostart mechanism, but in most cases where people reported an autostart like behavior they had some PIM using application or plugin running, thus activating Akonadi on demand (e.g. contact search plugin in Krunner).


By any chance digital clock? I don't use any pim, but in xseesion-errors i see that akonadi is trying to start. How kill Akonadi? I don't need it, please make on/off switch like for nepomuk.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: akonadi dependencies

Tue Nov 30, 2010 2:15 am
The Digital Clock does use Akonadi, and no it isn't possible to switch it off.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Punky
Registered Member
Posts
43
Karma
0
OS

Re: akonadi dependencies

Tue Nov 30, 2010 6:55 am
I have same problem on Arch Linux, akonadi uses to much of memory but all I use related with akonadi is digital clock? Nepomuk is turned off, I do not use kontact...What about analog clock? :)

Here's picture:

Image
iria
Registered Member
Posts
40
Karma
0
OS

Re: akonadi dependencies

Tue Nov 30, 2010 8:00 am
The Digital Clock does use Akonadi, and no it isn't possible to switch it off.


Because I have clock on my panel I must have Akonadi? Seriously?

Then please make option to switch it off or please suggest clock a watch that not have dependenci to Akonadi. Many user don't want Akonadi. Please stop pushing it.
lsas
Registered Member
Posts
2
Karma
0
OS

Re: akonadi dependencies

Tue Nov 30, 2010 11:25 am
You can check, modify and delete all resources (additional to using the facilities of applications like KAddressBook) like this:
kcmshell4 kcm_akonadi


Ok i run this command and i deleted all the resources, now there's only a resource called "Local Folders" that i cant delete.

I haven't KAddressBook Kontact or any other application that are using PIM data installed. I've disabled the krunner plugin to search on the nepomuk server. And also nepomuk is
disabled.
I've checked also in digiKam, and there's only a nepomuk plugin that is already disabled.

Anyway this is the ps output:
/usr/bin/akonadi_control
akonadiserver
/usr/sbin/mysqld --defaults-file=/home/lorenzo/.local/share/akonadi//mysql.conf --datadir home/lorenzo/.local/share/akonadi/db_data/ --socket=/home/lorenzo/.local/share/akonadi/db_misc/mysql.socket
/usr/bin/akonadi_maildir_resource --identifier akonadi_maildir_resource_3
/usr/bin/akonadi_maildispatcher_agent --identifier akonadi_maildispatcher_agent
/usr/bin/akonadi_nepomuk_contact_feeder --identifier akonadi_nepomuk_contact_feeder

Then i've tryied to disable also the digital clock from the panel. And at the reboot akonadi seems not running.
So i guess the problem was the clock.
But why digital clock use akonadi ?! Sincerly i can't understand.. it's only a clock

Can someone give us more info about it ?

Thanks a lot anyway!
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

Re: akonadi dependencies

Tue Nov 30, 2010 1:21 pm
lsas wrote:
You can check, modify and delete all resources (additional to using the facilities of applications like KAddressBook) like this:
kcmshell4 kcm_akonadi


Ok i run this command and i deleted all the resources, now there's only a resource called "Local Folders" that i cant delete.


Since you have removed the usage point of Akonadi and are not running it anymore this might not be very interesting, but just in case:
the local folders resource is being recreated by the mail dispatcher agent because it needs a mail resource to work on an maildir is its default.

lsas wrote:Then i've tryied to disable also the digital clock from the panel. And at the reboot akonadi seems not running.
So i guess the problem was the clock.

Seems like it.

lsas wrote:But why digital clock use akonadi ?! Sincerly i can't understand.. it's only a clock


I think I read somewhere that it is having some kind of calendar integration, i.e. highlighting important dates in its calendar popup.

Not sure which bugzilla product the clock belongs, maybe some Plasma component. Those not wanting calendar integration could file a wish list entry for a configuration option to turn it off.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: akonadi dependencies

Wed Dec 01, 2010 5:39 am
@Punky: Follow the procedure mentioned above with kcmshell4 kcm_akonadi to reduce it's memory usage please, looks like you have quite a few duplicate resources.

In any case, all Plasma Clocks use Akonadi, as they share a common DataEngine, which is what uses Akonadi.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
iria
Registered Member
Posts
40
Karma
0
OS

Re: akonadi dependencies

Wed Dec 01, 2010 8:23 am
bcooksley wrote:In any case, all Plasma Clocks use Akonadi, as they share a common DataEngine, which is what uses Akonadi.


Is there any chance that plasma dewelopers will do a clock, that no dependence on akonadi?
Whether Akonadi will be even more integrate with plasma and rest of kde apps?
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: akonadi dependencies

Fri Dec 03, 2010 2:56 am
I am not aware of any other plans at this time, however applets such as Lion Mail may increase the dependency of them upon Akonadi. The use of Lion Mail is not required though.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar