From the Akonadi changelogs (admittedly precise and not oneiric);
Code:
akonadi (1.7.0-0ubuntu3) precise; urgency=low
* make akonadi-server require the mysql backend. It's the only one really
supported upstream and as the default backend has to be installed.
(LP: #923189)
-- Philip Muškovac <yofel@kubuntu.org> Mon, 09 Apr 2012 18:49:42 +0200
Small sidenote; it seems the kcm (configuration window) is bugged so you can't choose between any backend other than mysql or postgresql. I filed this as bko #298314.
I'm far from an authority on this but yes, I believe this is a packaging bug. Just as you say; in the current scheme akonadi-server cannot be installed if mysql-server-core-5.1 and mysql-client-core-5.1 cannot in turn be installed -- and kdepim-runtime and other core KDE packages depend on akonadi-server.
As a test I modified (the packaging of) akonadi-server to instead depend on a fictive 'akonadi-backend' virtual package, and then modified the backends in turn to provide that package. I built it locally and from what I can see, it works well.
With some extraoneous lines removed;
Code:
$ dpkg -l akonadi*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==========================-==========================-====================================================================
un akonadi-backend-mysql <none> (no description available)
un akonadi-backend-odbc <none> (no description available)
un akonadi-backend-postgresql <none> (no description available)
ii akonadi-backend-sqlite 1.7.2-0ubuntu1.1~zor03 SQLite storage backend for Akonadi
ii akonadi-dbg 1.7.2-0ubuntu1.1~zor03 debugging symbols for the Akonadi PIM storage service
ii akonadi-server 1.7.2-0ubuntu1.1~zor03 Akonadi PIM storage service
$ dpkg -l mysql-*-core-5.1
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==========================-==========================-====================================================================
un mysql-client-core-5.1 <none> (no description available)
un mysql-server-core-5.1 <none> (no description available)
Only the sqlite backend is installed, mysql stays at home, and akonadi-server itself is happy. Naturally you can't set akonadi to actually *use* the sqlite backend via its configuration window (because of the aforementioned bug), but you can manually edit ~/.config/akonadi/akonadiserverrc as a workaround. At the very top;
Code:
[%General]
# available drivers are: QSQLITE, QMYSQL3, QMYSQL, QSQLITE3
Driver=QSQLITE3
I mentioned this in #kubuntu-devel, but most people seemed busy. yofel there suggested to file a Launchpad bug, so I'll do that tomorrow.
Bookmarks