Hi,
On So 17 Jul 2022 13:09:47 CEST, Dashamir Hoxha wrote:
On Sat, Jul 16, 2022 at 4:37 PM Dashamir Hoxha wrote:
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=Minimal 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
I currently use one single script in FAI to convert a Debian system to
a Debian Edu system:
https://salsa.debian.org/debian-edu/debian-edu-fai/-/blob/master/fai/config/scripts/EDU/40-cfengine-debian-edu-postinstall
However, there is so more magic in the FAI config space of
debian-edu-fai to learn from.
Mike
--
DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940
GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22 0782 9AF4 6B30 2577 1B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de
pgp5rpQfvms2q.pgp
Description: Digitale PGP-Signatur