You are not logged in.
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
EDIT: moving/deleting mysqld-post works.
Last edited by cc7gir (2012-08-20 18:12:45)
Offline
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
Same thing it's happening to me right now, and I don't have mysqld-post installed.
Offline
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
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.servicethen (re-)install the mysql package.
Thanks, that solved my problem.
Offline