Bug 15978 - 7.6 has dependencies still set for mysql
: 7.6 has dependencies still set for mysql
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Debian
: 7.6.0
: All Debian Linux
: P3 normal (vote)
: 7.6.0
Assigned To: Andy Grundman
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-04-01 03:20 UTC by Jan
Modified: 2011-05-12 13:47 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
Patch to simply remove deps (1.08 KB, patch)
2010-04-05 14:29 UTC, Mark Miksis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan 2010-04-01 03:20:21 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
Comment 1 Mark Miksis 2010-04-01 09:08:38 UTC
This also applies to the RPM.
Comment 2 Mark Miksis 2010-04-05 14:29:34 UTC
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?
Comment 3 Michael Herger 2010-04-05 21:08:16 UTC
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.
Comment 4 SVN Bot 2010-05-19 22:49:06 UTC
 == 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
Comment 5 Michael Herger 2011-01-13 03:19:50 UTC
Andy - didn't you recently update these files?
Comment 6 Mark Miksis 2011-01-13 08:56:41 UTC
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?
Comment 7 Andy Grundman 2011-01-13 10:23:45 UTC
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.