You are not logged in.

#1 2024-05-27 10:41:02

izaan
Member
Registered: 2024-05-27
Posts: 1

How do I uninstall mariadb which has akonadi as a dependency ...?

I am trying to uninstall mariadb as I strictly need mysql for my web server app (I know mariadb is a drop in replacement but the application is wieredly dependent upon mysql drivers and throws various syntax error when using mariadb). when I ran `sudo pacman -Rns mariadb` it says `removing mariadb breaks dependency 'mariadb' required by akonadi` at first I thought lets remove aonadi too then this bad boy also had some dependencies. So now I am stuck on what to do can some one guide me what to do. Also if i installed mysql from aur will it work (i have not tried cus i believe it should not work).

Offline

#2 2024-05-27 11:13:41

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 15,085

Re: How do I uninstall mariadb which has akonadi as a dependency ...?

https://aur.archlinux.org/packages/mysql wrote:

Conflicts:     mariadb
Provides:     mariadb, mysql

Build mysql using a clean chroot.
Then run pacman -U path-to-mysl-package and pacman will (after asking for confirmation) remove mariadb and install mysql instead.

An alternative could be to use the docker image mentioned on https://wiki.archlinux.org/title/MySQL#Docker to allow having both mariadb and mysql present.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

Board footer

Powered by FluxBB