akonadi-server too dependent on MySQL and prevent percona instalation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
akonadi (Ubuntu) |
Fix Released
|
Medium
|
Philip Muškovac | ||
Trusty |
Triaged
|
Medium
|
Unassigned |
Bug Description
There are a few serious packaging problems with akonadi:
1 - akonadi-server depends on akonadi-
It can also work with postgresql and sqllite, but mysql is mandatory, it should be optional.
2 - akonadi-backend depends on either mysql-server-
2.1 - depending on a specific version of mysql is very bad. If there is a need for a feature on 5.5, it should be something like:
mysql-server-core >= 5.5. As 5.6 has all feature of 5.5, it still cannot be installed.
The same goes to the clients too.
2.2 - the percona-
PPA: http://
Basically the choice is either use mysql|mariadb 5.5 or no kde.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: akonadi-server 1.12.1-0ubuntu1.1
ProcVersionSign
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Jun 30 16:56:55 2014
InstallationDate: Installed on 2014-05-12 (49 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
SourcePackage: akonadi
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in akonadi (Ubuntu): | |
assignee: | nobody → Philip Muškovac (yofel) |
importance: | Undecided → Medium |
status: | Confirmed → In Progress |
Changed in akonadi (Ubuntu Trusty): | |
assignee: | nobody → Philip Muškovac (yofel) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in akonadi (Ubuntu Trusty): | |
assignee: | Philip Muškovac (yofel) → nobody |
Confirmed, this bug prevents users from replacing mysql with percona packages. A quick fix is to extract akonadi -backend-mysql page, modify control file (change Depends), repack .deb file and reinstall (the solution below is more or less working - I'm tweaking the Depends section now)
apt-get install --reinstall --download-only akonadi- backend- mysql apt/archives/ akonadi- backend- mysql_1. 12.1-0ubuntu1. 1_all.deb . backend- mysql_1. 12.1-0ubuntu1. 1_all.deb mysql-server- core | mariadb- server- core-5. 5 | percona- server- server, mysql-client- core-5. 5 | mariadb- client- core-5. 5 | percona- server- client- 5.6, libqt4-sql-mysql backend- mysql_1. 12.1-0ubuntu1. 1_percona_ all.deb debian-binary control.tar.gz data.tar.xz backend- mysql_1. 12.1-0ubuntu1. 1_percona_ all.deb
mv /var/cache/
ar x akonadi-
tar xvzf control.tar.gz
vi control
Depends: virtual-
rm control.tar.gz
tar c postinst postrm md5sums control conffiles | gzip -c > control.tar.gz
ar rcs akonadi-
dpkg -i akonadi-
apt-get install percona- server- server- 5.6 percona- server- client- 5.6