Bug #8905
closed[Deployment] arvados-sso-server deb package unnecessarily depends on "postgresql" meta-package
100%
Description
The Arvados SSO server package for Ubuntu precise depends on "postgresql" which is a meta-package that installs the latest version of postgresql.
I recently tried to upgrade my Arvados packages by running `apt-get dist-upgrade` as suggested in https://dev.arvados.org/projects/arvados/wiki/Upgrading_to_master
This broke the database because it tried to install postgresql-9.5 which didn't work because I am using postgresql-9.3 and the configuration for 9.5 conflicts with the port that the 9.5 server would have used (also there would have been no data migration so blindly upgrading the database is probably not a good idea). Subsequently removing postgresql-9.5 to avoid the port conflict also removed arvados-sso-server because of the dependency on "postgresql" (which after the dist-upgrade only refers to the newest version of postgres, so it doesn't recognise postgresql-9.3 as fulfilling that requirement).
Arguably, the arvados-sso-server package should not depend on postgresql at all. Arvados could be configured to use a postgres instance installed on a different machine, so insisting that it be present locally is unnecessary.
In order to get arvados-sso-server to work again I had to do:- apt-get download arvados-sso-server
- dpkg --force-all -i arvados-sso-server_0.1.20160129211603.ee33cdf-4_amd64.deb