You are not logged in.

#1 2022-12-30 10:49:32

Mecry_155
Member
Registered: 2022-12-30
Posts: 4

[SOVED]Pacman: Can't remove package: mariadb

I wanted to remove the package: mariadb, and used this command:
sudo pacman -R mariadb

But it printed:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing mariadb breaks dependency 'mariadb' required by akonadi

Then I tried to remove akonadi:
sudo pacman -R akonadi
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing akonadi breaks dependency 'akonadi' required by kdepim-runtime

This touched other packages, and I wouldn't like to remove "kdepim-runtime"!
What shall I do next?

Last edited by Mecry_155 (2022-12-30 11:40:09)

Offline

#2 2022-12-30 11:22:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: [SOVED]Pacman: Can't remove package: mariadb

What are you asking for exactly? Apparently the dependency chain of the tools you do not want to remove do actually depend on mariadb, so you can either suck it up and keep it, remove all the tools in relevant relation, or maintain your own akonadi package which doesn't ship with the mariadb harddep (not sure I think you might be able to do this, but mariadb is generally the most well tested and supported implementation)

What's your exact reasoning for wanting to do this in the first place?

Offline

#3 2022-12-30 11:34:29

Mecry_155
Member
Registered: 2022-12-30
Posts: 4

Re: [SOVED]Pacman: Can't remove package: mariadb

Thank you for your reply. smile
Emm, I was failed to run mariadb, it looked like it didn't install correctly...Although I did want to remove it to clean packages, I'll keep mariadb as you say:)
Thank you.
Closing...

Offline

#4 2022-12-30 11:36:18

Mecry_155
Member
Registered: 2022-12-30
Posts: 4

Re: [SOVED]Pacman: Can't remove package: mariadb

How to close this thread? I marked it SOVED, Is that ok?

Last edited by Mecry_155 (2022-12-30 11:40:45)

Offline

#5 2022-12-30 14:41:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,261

Re: [SOVED]Pacman: Can't remove package: mariadb

That's fine, if you want to elaborate in what context you think mariadb failed to run please open a new thread. Generally for akonadi and the kdepim suite tools to function correctly you do not need to manually set up a DB they will do that internally as necessary.

Offline

Board footer

Powered by FluxBB