Bugzilla – Bug 15978
7.6 has dependencies still set for mysql
Last modified: 2011-05-12 13:47:27 UTC
When installing 7.5.0 embedded, the squeezeboxserver.deb has dependencies set for mysql and will not install if mysql packages are not available. You can force an install but installing other packages later is difficult because the system keeps asking for the mysql packages. The following packages have unmet dependencies: autofs5: Depends: ucf but it is not going to be installed Recommends: nfs-common but it is not going to be installed squeezeboxserver: Depends: mysql-server-4.1 but it is not installable or mysql-server-5.0 or mysql-server-5.1 but it is not going to be installed Depends: libmysqlclient14-dev but it is not installable or libmysqlclient15-dev or libmysqlclient16-dev but it is not installable Depends: mysql-client-4.1 or mysql-client-5.0 but it is not installable or mysql-client-5.1 but it is not going to be installed
This also applies to the RPM.
Created attachment 6740 [details] Patch to simply remove deps Hi Michael, Trivial but untested patch attached. (I don't have a build environment right now to test with. Note that this simply removes the package dependencies, but leaves behind other stuff like apparmor/selinux support, the MySQL schema files, etc. If you can clarify the future MySQL strategy, I'll update the patch to remove this stuff if appropriate. I'm assuming that RPMs and DEBs will only be maintained for sqlite. Is that the case? Should the MySQL hooks be left in the packages, or removed and documented in a wiki page?
Yes Mark, the plan for 7.6 is to only include SQLite support officially. Therefore we shouldn't require anything MySQL related. MySQL should be entirely optional.
== Auto-comment from SVN commit #30799 to the slim repo by fletch == == http://svn.slimdevices.com/slim?view=revision&revision=30799 == bug 15978 partial, don't require mysql for deb and RPM
Andy - didn't you recently update these files?
Note that there is still mysql-related cruft in the packages such as special code to handle apparmor and selinux. I'm also not sure if squeezeboxserver-safe is needed in the deb anymore. Do you want a new bug for this?
OK sure, we can remove whatever was required only for MySQL. I think with these changes anyone using these packages won't be able to choose MySQL from the advanced menu, but I'm not really too concerned about that.