El 09/11/15 a las 10:59, Santiago Ruano Rincón escribió: > El 09/11/15 a las 09:44, Raphael Hertzog escribió: > > On Fri, 06 Nov 2015, Santiago Ruano Rincón wrote: > > > Hi, > > > > > > There were some questions about dropping the mysql-common package, so > > > mysql-*-5.5 would depend on the 5.1 version. Then, I build a new package > > > with > > > the corresponding changes, and I have got a minor error: > > > > > > [Note] /usr/sbin/mysqld (mysqld 5.5.46-0+deb6u1~5~1) starting as process > > > 8889 ... > > > [ERROR] An old style --language value with language specific part > > > detected: /usr/share/mysql/english/ > > > [ERROR] Use --lc-messages-dir without language specific part instead. > > > ... > > > > > > Mysqld still runs, but I think that the current package found at my repo, > > > that > > > provides a mysql-common-5.5, is a cleaner option. > > > > And if you run mysql-5.1 with mysql-common provided by mysql-5.5, do you > > get errors? > > With the current packages, you cannot use mysql-*-5.1 with the > mysql-common provided by 5.5, given the Breaks: statements. > Anyway, mysql-server-5.1 aborts when trying to run with the 5.5 config > file: > > [ERROR] /usr/sbin/mysqld: unknown variable 'lc-messages-dir=/usr/share/mysql' > [ERROR] Aborting > ... > Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed!
An alternative to the mysql-common-5.5 package would be to provide two alternatives to the cnf files from a single mysql-common package, one for 5.1 and one for 5.5 and call update-alternatives accordingly. I think mysql-5.6 does something related. But, this would be worth the effort? Cheers, Santiago
signature.asc
Description: Digital signature