You are not logged in.

#1 2015-02-07 04:10:49

dnm
Member
Registered: 2015-02-07
Posts: 2

[Solved] mariadb upgrade failure

Hi all,

I don't consider myself a newbie, but this certainly feels like a newbie issue.  I did a pacman -Syu, and this is my first failure since I started using Arch:

(38/38) checking for file conflicts                                                                          [################################################################] 100%
error: failed to commit transaction (conflicting files)
mariadb: /usr/lib/mysql exists in filesystem
mariadb: /usr/lib/mysql/plugin/adt_null.so exists in filesystem
[snip a bunch of other very similar messages about .so files existing.]

It looks like mariadb won't upgrade.  I don't have any databases, so I don't have any problem uninstalling mariadb, but I don't feel like that's the right solution.

Any help?  Is there somewhere else I should be posting this?  Googling failed me on this one.  I did find this:
http://blog.raveendra.in/post/463269166 … ansactions
and the result of
# pacman -Qo /usr/lib/mysql
error: No package owns /usr/lib/mysql

and I do already have mariadb installed:
# pacman -Q mariadb
mariadb 10.0.15-1

pacman -Syu is trying to install mariadb-10.0.16-1.

But, I'm not in a hurry to just uninstall and force the removal of mariadb.  I'd like to understand or figure out what broke.

Oh, and mariadb/mysql is running (autostart on boot), I can stop/restart it with systemctl, and I can connect via the mysql command.

TIA,
Dave

Last edited by dnm (2015-02-08 03:01:27)

Offline

#2 2015-02-07 04:42:21

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] mariadb upgrade failure

The question to ask is, why did you install it if you don't need it?  Did it come pre-installed by chance? This should get you on the right path and if it is a bug, please report it. https://bbs.archlinux.org/viewtopic.php?id=130138

PS.  No need for wounded pride.  Posting in newbie corner doesn't mean you are a newbie.  On that note, it doesn't hurt to be one either.

Last edited by frank604 (2015-02-07 04:44:45)

Offline

#3 2015-02-07 16:03:24

dnm
Member
Registered: 2015-02-07
Posts: 2

Re: [Solved] mariadb upgrade failure

I installed it.  I just haven't gotten around to creating any databases yet.  Thanks for the pointer.  I decided to just uninstall it, and realized that I corrupted the previous install.  Solved.

Offline

#4 2015-02-07 16:32:11

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,219

Re: [Solved] mariadb upgrade failure

Please mark the title as [Solved] and great to hear it was a simple fix.

Offline

Board footer

Powered by FluxBB