Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#19225 - [mysql] missing "/" in mysql.install
Attached to Project:
Arch Linux
Opened by Sebastian Köhler (kart0ffelsack) - Friday, 23 April 2010, 19:48 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 23 April 2010, 22:18 GMT
Opened by Sebastian Köhler (kart0ffelsack) - Friday, 23 April 2010, 19:48 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 23 April 2010, 22:18 GMT
|
DetailsDescription:
The post_install function fails with this output: Prüfe Paketintegrität... (2/2) Prüfe auf Dateikonflikte [####################################################################################################] 100% (1/2) Installiere mysql-clients [####################################################################################################] 100% (2/2) Installiere mysql [####################################################################################################] 100% Installing MySQL system tables... 100423 21:28:58 [Warning] '--skip-locking' is deprecated and will be removed in a future release. Please use '--skip-external-locking' instead. 100423 21:28:58 [Warning] Can't create test file /usr/var/lib/mysql/ps2.lower-test 100423 21:28:58 [Warning] Can't create test file /usr/var/lib/mysql/ps2.lower-test /usr/sbin/mysqld: Can't change dir to '/usr/var/lib/mysql/' (Errcode: 2) 100423 21:28:58 [ERROR] Aborting 100423 21:28:58 [Note] /usr/sbin/mysqld: Shutdown complete In mysql.install the line: "usr/bin/mysql_install_db --datadir=var/lib/mysql --user=mysql" should be changed to: "/usr/bin/mysql_install_db --datadir=/var/lib/mysql --user=mysql" Additional info: Packageversion: mysql 5.1.46-1 Steps to reproduce: 1. Install mysql |
This task depends upon
Closed by Andrea Scarpino (BaSh)
Friday, 23 April 2010, 22:18 GMT
Reason for closing: Fixed
Additional comments about closing: 5.1.46-2
Friday, 23 April 2010, 22:18 GMT
Reason for closing: Fixed
Additional comments about closing: 5.1.46-2
--datadir needs the slash.
Anyway pass --datadir to mysql_install_db is not needed, so I removed that line in 5.1.46-2.
-2 is in [testing], please test it and report feedback.