E: Sub-process /usr/bin/dpkg returned an error code (1)
+ /usr/lib/education-tasks/edu-tasksel-setup teardown
+ echo 'error: installing packages failed'
error: installing packages failed
+ exit 1
I got some help from someone who is not actually involved with DebianEdu.
A more descriptive error message is this:
dpkg: dependency problems prevent configuration of libpam-ldapd:amd64:
libpam-ldapd:amd64 depends on nslcd (>= 0.9.0) | nslcd-2; however:
Package nslcd is not configured yet.
Package nslcd-2 is not installed.
Package nslcd which provides nslcd-2 is not configured yet.
We tried some things and finally this kind of solved this problem:
First install "pynslcd": apt install pynslcd
and then try to install the minimal profile:
PROFILE="" DESKTOP=none bash -x tools/debian-edu-bless
In this case the script does not complain and the installation is finished without errors.
Maybe this is not the right solution, but in any case, I guess there is something that should be fixed/corrected somewhere.
Regards,
Dashamir