← Back to team overview

desktop-packages team mailing list archive

[Bug 1336005] Re: akonadi-server too dependent on MySQL and prevent percona instalation

 

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
mv /var/cache/apt/archives/akonadi-backend-mysql_1.12.1-0ubuntu1.1_all.deb .
ar x akonadi-backend-mysql_1.12.1-0ubuntu1.1_all.deb 
tar xvzf control.tar.gz 
vi control
Depends: virtual-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
rm control.tar.gz 
tar c postinst postrm md5sums control conffiles  | gzip -c > control.tar.gz
ar rcs akonadi-backend-mysql_1.12.1-0ubuntu1.1_percona_all.deb debian-binary control.tar.gz data.tar.xz
dpkg -i akonadi-backend-mysql_1.12.1-0ubuntu1.1_percona_all.deb 

apt-get install percona-server-server-5.6 percona-server-client-5.6

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to akonadi in Ubuntu.
https://bugs.launchpad.net/bugs/1336005

Title:
  akonadi-server too dependent on MySQL and prevent percona instalation

Status in “akonadi” package in Ubuntu:
  New

Bug description:
  There are a few serious packaging problems with akonadi:

  1 - akonadi-server depends on akonadi-backend-mysql.
        It can also work with postgresql and sqllite, but mysql is mandatory, it should be optional.

  2 - akonadi-backend depends on either mysql-server-core-5.5 or
  mariadb-server-core-5.5

  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-server-(server|client) should be added to the mix.
  PPA: http://www.percona.com/doc/percona-server/5.5/installation/apt_repo.html

  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
  ProcVersionSignature: Ubuntu 3.13.0-30.54-generic 3.13.11.2
  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/akonadi/+bug/1336005/+subscriptions