Re: Installing a DebianEdu server on Debian
On Sun, Jul 17, 2022 at 7:47 PM Holger Levsen wrote: > On Sun, Jul 17, 2022 at 01:09:47PM +0200, Dashamir Hoxha wrote: > > Maybe this is not the right solution, but in any case, I guess there is > > something that should be fixed/corrected somewhere. > > I think you should probably file a bug, at least if this is coming from > a package (and not from some "random" wiki page). > I did not file a bug because a bug has to be reproducible (there should be clear instructions on how to reproduce the bug). The steps in http://dashohoxha.fs.al/docs/testing-debian-edu-with-lxd.html describe what I have done so far. I noticed that the combination `PROFILE=Main-Server DESKTOP=none bash -x tools/debian-edu-bless` gives an error (the one that I have described above). however if I add the Workstation profile, and a desktop, there is no error: `PROFILE=Main-Server,Workstation DESKTOP=lxde bash -x tools/debian-edu-bless` So, the good news is that so far I have been able to install the main-server (I hope correctly). Now I just have to read the docs and to follow the rest of configuration and installation steps. I am going to continue after a couple of weeks, since it seems that people are having a vacation soon. Regards, Dashamir
Re: Installing a DebianEdu server on Debian
On Sun, Jul 17, 2022 at 01:09:47PM +0200, Dashamir Hoxha wrote: > Maybe this is not the right solution, but in any case, I guess there is > something that should be fixed/corrected somewhere. I think you should probably file a bug, at least if this is coming from a package (and not from some "random" wiki page). -- cheers, Holger ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org ⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C ⠈⠳⣄ Homophobia is a sin against god. signature.asc Description: PGP signature
Re: Installing a DebianEdu server on Debian
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
Re: Installing a DebianEdu server on Debian
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
Re: Installing a DebianEdu server on Debian
On Thu, Mar 3, 2022 at 10:24 PM Frans Spiesschaert < frans.spiesscha...@yucom.be> wrote: > Dashamir Hoxha schreef op do 03-03-2022 om 21:40 [+0100]: > > On Thu, Mar 3, 2022 at 8:56 PM Petter Reinholdtsen > wrote: > > > I suspect you can adjust the recipe available from > https://wiki.debian.org/DebianEdu/HowTo/RaspberryPiWorkstation > > to get it working, assuming the partitioning is good. > > > That recipe is for installing a workstation/client, but I also want to > install a server. > The first step should be to install "debian-edu-config", but then it is > not quite clear what steps to follow or what scripts to call. > > > See > https://salsa.debian.org/debian-edu/debian-edu-config/-/blob/master/share/debian-edu-config/tools/debian-edu-bless. > lines 36-40. > > So running the command > PROFILE=Main-Server bash -x tools/debian-edu-bless > could be your next step. > This is a useful suggestion, thanks. And sorry for the belated reply. I am trying to install a gateway, as described here: https://wiki.debian.org/DebianEdu/Documentation/Bullseye/Requirements#Internet_router As a first step, I am trying to install the Minimal profile of DebianEdu, to be followed by: `tools/configure-edu-gateway --firewall ` For installing the Minimal profile I am using these commands (in a minimal debian 11 system): apt install debian-edu-config cd /usr/share/debian-edu-config/ PROFILE=Minimal DESKTOP=none bash -x tools/debian-edu-bless However I get an error like this: 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 may try to debug it, following the steps at: https://salsa.debian.org/debian-edu/debian-edu-config/-/blob/master/share/debian-edu-config/tools/debian-edu-bless but it is easier to ask somebody for help. If there is someone at DebConf, who might be able to help, I would appreciate it if we try to fix it together. Regards, Dashamir
Re: Installing a DebianEdu server on Debian
Dashamir Hoxha schreef op do 03-03-2022 om 21:40 [+0100]: > On Thu, Mar 3, 2022 at 8:56 PM Petter Reinholdtsen > wrote: > > I suspect you can adjust the recipe available from > > > > https://wiki.debian.org/DebianEdu/HowTo/RaspberryPiWorkstation > > > > > to get it working, assuming the partitioning is good. > > That recipe is for installing a workstation/client, but I also want to > install a server. > The first step should be to install "debian-edu-config", but then it is > not quite clear what steps to follow or what scripts to call. See https://salsa.debian.org/debian-edu/debian-edu-config/-/blob/master/share/debian-edu-config/tools/debian-edu-bless . lines 36-40. So running the command PROFILE=Main-Server bash -x tools/debian-edu-bless could be your next step. -- Kind regards, Frans Spiesschaert
Re: Installing a DebianEdu server on Debian
On Thu, Mar 3, 2022 at 8:56 PM Petter Reinholdtsen wrote: > > I suspect you can adjust the recipe available from > https://wiki.debian.org/DebianEdu/HowTo/RaspberryPiWorkstation > > to get it working, assuming the partitioning is good. > That recipe is for installing a workstation/client, but I also want to install a server. The first step should be to install "debian-edu-config", but then it is not quite clear what steps to follow or what scripts to call. Thanks anyway for the suggestion. Dashamir
Re: Installing a DebianEdu server on Debian
[Dashamir Hoxha] > I would also like to test a DebianEdu server, but I cannot find any docs on > how to install it starting from a standard debian system. Is it possible to > install it like this, or using an iso is the only way possible? I suspect you can adjust the recipe available from https://wiki.debian.org/DebianEdu/HowTo/RaspberryPiWorkstation > to get it working, assuming the partitioning is good. -- Happy hacking Petter Reinholdtsen
Installing a DebianEdu server on Debian
Dear DebianEdu Devs, Recently I have been testing FUSS using virtual machines. These are my notes on it: - http://dashohoxha.fs.al/docs/testing-fuss-with-lxd.html FUSS is a system based on debian that is used on some schools in Italy: - https://fuss.bz.it/ - https://www.sfscon.it/talks/fuss-16-years-of-digital-sustainability-at-school-and-still-counting/ - https://fuss-tech-guide.readthedocs.io/it/latest/ It is more convenient for me to do the installation of the server starting from a basic/standard debian system, rather than installing it from an iso. I would also like to test a DebianEdu server, but I cannot find any docs on how to install it starting from a standard debian system. Is it possible to install it like this, or using an iso is the only way possible? Kind regards, Dashamir