Bugzilla – Bug 7770
Debian package depends on dev package for libmysqlclient
Last modified: 2009-07-31 10:19:23 UTC
The debian package of squeezecenter depends on libmysqlclient14-dev|libmysqlclient15-dev; that should probably be a build-dep, and the dependency should be libmysqlclient14|libmysqlclient15 (probably just one of them, whichever one you build against).
Agreed, the -dev requirement doesn't make sense. I've implemented the change in revision #18613. Can you help test this change on a system that does not have the -dev packages installed in the next nightly build?
Sure, I'll purge the dev packages and try upgrading to tomorrow's nightly and let you know. I'm still running 6.5.5, so let's hope this works, because my kids won't forgive you if it breaks our squeezeboxes! :)
See http://forums.slimdevices.com/showthread.php?p=289869#post289869 for discussion of this problem following 7.0.1~18632 downloads. Dependency is not satisfiable: libmysqlclient14|libmysqlclient15 in ubuntu 7.10 AMD64.
Argh. Please don't copy dependency changes out of a bug report without actually testing if the package is even installable first. :) Like I said in my report, it probably should be depending on the specific lib you actually build against, not a selection. Of course, I don't know much of anything about perl, so I may be way off here.
It appears that Ubuntu 7.10 and at least Debian (don't know which version, see the thread referenced in the last comment) use 'libmysqlclient15off'. libmysqlclient14 and libmysqlclient15 don't appear to be available for these distros from the official repos. The issue affects both 32-bit and 64-bit OSes.
The more I think about it, I don't really see the huge benefit to changing this. In the rare situation that user has the libmysql15 but not libmysql15-dev, they can force the install ... but it seems like the other package names are likely to change in the future, and it seems like it may be setting us up for failures in the future. (Ie, if they get rid of the 'off'). Does this really harm any of our users or cause any issues?
Moved to 7.2 while awaiting feedback. You should probably post in the linux forum that you're interested in comments on this bug, Matt, just to make sure we get all the stakeholders that care.
Matt: Will you be changing this for 7.2?
Moving to 7.3 ....
Matt, re: your question about whether this dependency hurts any of your users -- I wouldn't say I'm hurt by it, but the dependency on libmysqlclient15-dev means that apt tries to install a full development tool chain on my machine to satisfy the dependencies (libmysqlclient15-dev pulls in a lot of other -dev packages, and those end up pulling in gcc, binutils, etc.). Because I'm running squeezecenter on a very small dedicated machine with compact flash root drive, and because I don't like to have development tools on any of my machines that could easily be reached by the "outside" world, this is kind of annoying for me. My workaround right now is to download the squeezecenter package, unpack it using ar, then editing the control section to remove this dependency and then reassembling the package, but this is fairly cumbersome and makes it quite difficult for me to grab updates. So as one of your users, I'd love it if this unneeded dependency could be removed.
At this time, we're not going to change the dependencies. Instead, if you don't have the libmysql dev package (installed by default on debian/ubuntu boxes), use the --force-depends -i options for dpkg to get around the dependency issue.
Reduce number of active targets for SC