You are not logged in.

#1 2012-08-20 18:09:55

cc7gir
Member
Registered: 2011-10-02
Posts: 3

mysql: /usr/bin/mysqld-post exists in filesystem

Upgrading mysql gives the error in the title;

"mysql: /usr/bin/mysqld-post exists in filesystem"

What is the proper way to upgrade?
I'll move mysqld-post to mysqld-post-old for now.
There was nothing about this on the front page.

If this question has already been answered, please link me to it.

Thanks smile

EDIT: moving/deleting mysqld-post works.

Last edited by cc7gir (2012-08-20 18:12:45)

Offline

#2 2012-08-20 19:13:16

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: mysql: /usr/bin/mysqld-post exists in filesystem

Same thing happened to me.  You probably created mysqld-post manually previously.

$ pacman -Qo /usr/bin/mysqld-post
/usr/bin/mysqld-post is owned by mysql 5.5.27-3
$  pacman -Ql mysql |grep mysqld-post
mysql /usr/bin/mysqld-post

Before the upgrade mysqld-post wasn't owned by any package.


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2012-08-21 13:27:19

JohnnyDeacon
Member
From: Colombia
Registered: 2012-01-18
Posts: 81

Re: mysql: /usr/bin/mysqld-post exists in filesystem

Same thing it's happening to me right now, and I don't have mysqld-post installed.

Offline

#4 2012-08-21 13:32:38

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: mysql: /usr/bin/mysqld-post exists in filesystem

the mysql service file and mysql-post script from the Systemd/Services wiki page have been moved to the package and you created them manually before, that's why you get this error. The wiki probably shouldn't have suggested to install this to /usr/bin/ but to /usr/local/bin instead...

you can and should delete the following:

/usr/bin/mysqld-post
/etc/tmpfiles.d/mysqld.conf
/etc/systemd/system/mysqld.service

then (re-)install the mysql package.

https://wiki.archlinux.org/index.php?ti … did=218322

Last edited by 65kid (2012-08-21 13:33:51)

Offline

#5 2012-08-21 14:08:15

JohnnyDeacon
Member
From: Colombia
Registered: 2012-01-18
Posts: 81

Re: mysql: /usr/bin/mysqld-post exists in filesystem

65kid wrote:

the mysql service file and mysql-post script from the Systemd/Services wiki page have been moved to the package and you created them manually before, that's why you get this error. The wiki probably shouldn't have suggested to install this to /usr/bin/ but to /usr/local/bin instead...

you can and should delete the following:

/usr/bin/mysqld-post
/etc/tmpfiles.d/mysqld.conf
/etc/systemd/system/mysqld.service

then (re-)install the mysql package.

https://wiki.archlinux.org/index.php?ti … did=218322

Thanks, that solved my problem.

Offline

Board footer

Powered by FluxBB