From aac511d534ca2ef2700bdd10a63aaf25b836f48f Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Mon, 22 Jun 2020 10:48:39 -0400 Subject: [PATCH] debian: Add nscd >= 2 as dependency This is a slightly hacky way to ensure that nscd package is installed rather than unscd (which provides nscd as a virtual package). This will work as long as unscd does not jump to a version 2. It is currently 0.53-1 and has little recent activity, so this condition seems likely to hold in the near future. Tests: - In vagrant box, installed unscd. Installed modified freedombox deb. Saw that unscd was removed and nscd was installed. - In DigitalOcean droplet, reproduced issue from #1877. Installed modified freedombox deb. Saw that unscd was removed (no other packages were removed) and nscd was installed. FreedomBox interface was available again. - Built a freedom-maker image with modified freedombox deb. Checked build log that nscd was installed and unscd was not installed. Closes: #1877. Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- debian/control | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/control b/debian/control index 7851dc283..daf96a30e 100644 --- a/debian/control +++ b/debian/control @@ -85,6 +85,8 @@ Depends: lsof, netcat-openbsd, network-manager, +# Ensure that nscd is installed rather than unscd. + nscd (>= 2), ppp, pppoe, python3-apt,