You are not logged in.
Pages: 1
Hello there,
When I try to remove mariadb with:
sudo pacman -Rns mariadbOutput:
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: akonadi: removing mariadb breaks dependency 'mariadb'Ideas how can I purge it from my system?
Offline
This means that akonadi depends on mariadb, and if you remove mariadb, you'd break akonadi's dependency, hence pacman won't continue.
What are you trying to do, though?
Offline
You should read the pacman wiki regarding uninstalling package with dependencies. akonadi depends on mariadb so you are getting this message.
You can try pacman -Rsc or pacman -Rdd but heed the warning at the wiki.
Offline
This means that akonadi depends on mariadb, and if you remove mariadb, you'd break akonadi's dependency, hence pacman won't continue.
What are you trying to do, though?
I'm trying to purge the MySQL server from my system as if installed though AUR at least, the config does not work. ![]()
Last edited by samip537 (2019-03-18 13:36:44)
Offline
I have no idea where that came from..
Look at its reverse dependencies (i.e. what's listed in the `Required By:` line for that package). If you don't remember installing it explicitly, it was probably pulled in as a dependency by another package you installed.
You could also pass options as indicated by d_fajardo to remove reverse dependencies along with your package, but you should be very careful with that. Better check the reverse dependencies first (in general, this already tells you a lot about why a package was installed, at least in most cases).
--edit Ah wait, yeah, what Trilby wrote below. Be careful not to just randomly type package names when maintaining your system; that's one of the recipes for disaster.
Last edited by ayekat (2019-03-18 13:43:20)
Offline
I'm trying to purge the MySQL server from my system as if installed though AUR at least, the config does not work.
WTF?!
So you are trying to remove mysql which you installed from the AUR, but instead you tell pacman to remove mariadb? If you want to remove the AUR package you installed, tell pacman to remove that package.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
samip537 wrote:I'm trying to purge the MySQL server from my system as if installed though AUR at least, the config does not work.
WTF?!
So you are trying to remove mysql which you installed from the AUR, but instead you tell pacman to remove mariadb? If you want to remove the AUR package you installed, tell pacman to remove that package.
MariaDB and MySQL are usually pretty much the same thing although, mariadb has dependencies with my Desktop environment which means I shouldn't uninstall it.
Last edited by samip537 (2019-03-19 10:58:32)
Offline
umm, wait! mariadb and mysql are different packages, and mysql from AUR conflicts with mariadb from extra, so you cannot have them installed at the same time, right!?
...mariadb has dependencies with my Desktop environment which means I shouldn't uninstall it.
then what is the purpose of this thread? I am lost...
Edit: word
Last edited by a821 (2019-03-19 11:52:02)
Offline
MariaDB and MySQL are usually pretty much the same thing
No, they are completely different things. Period. One is a package in [extra] the other could be any one of several packages in the AUR. You told pacman to remove the package mariadb when your stated purpose was to remove some other package.
Pacman, like pretty much every other command you could use on a computer, will do precisely what you tell it to. It will not read your mind and assess what things you think are "pretty much the same" in order to infer your actual intent.
But in any case, nothing in this thread makes much sense at all now. Please post your full pacman.log (in code tags, or as a link to a file sharing site.)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Moving to Newbie Corner for now. Looking at TGN.
Offline
Pages: 1