CTparental ne s'installe pas correctement et ne marche pas chez moi

Bonjour,

J’essaie en vain d’installer CTParental sur ma Debian 9 avec gdebi comme expliqué dans tous les tutoriels. J’ai essayé avec les paquets :

  • ctparental_debian9_lighttpd_4.44.05-1.0_all.deb
  • ctparental_debian9_ubuntu18.04_nginx_4.44.05-1.0_all.deb

J’obtiens la même chose : les dépendances s’installent correctement, mais arrivé à CTparental lui-même :

Dépaquetage de ctparental (4.44.05-1.0) ...
Paramétrage de ctparental (4.44.05-1.0) ...
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
/var/lib/dpkg/info/ctparental.config: 27: [: =: unexpected operator
Ajout de l'utilisateur système « ctdigtest » (UID 126) ...
Ajout du nouvel utilisateur « ctdigtest » (UID 126) avec pour groupe d'appartenance « nogroup » ...
Le répertoire personnel « /home/ctdigtest » n'a pas été créé.
erreur de récupération des paramètres réseaux
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-5) ...

Une idée svp ?

As tu vraiment pris l’original?

Sur mon PC Debian 11 l’installation de la version 10 ne semblerait pas poser de probleme.

ce que j’ai fait

~/Téléchargements$ wget -c https://gitlab.com/marsat/CTparental/uploads/91ff2d78b8b315ba94be8d6a293ea2ae/ctparental_debian10_lighttpd_4.41.01-1.0_all.deb

une simulation d’installation

 sudo apt -s install ~/Téléchargements/ctparental_debian10_lighttpd_4.41.01-1.0_all.deb
[sudo] Mot de passe de  :       
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Note : sélection de « ctparental » au lieu de « /home/toto/Téléchargements/ctparental_debian10_lighttpd_4.41.01-1.0_all.deb »
Les paquets supplémentaires suivants seront installés : 
  clamav-base clamav-daemon clamav-freshclam e2guardian libclamav9 libfam0
  libnss3-tools libtfm1 lighttpd openssh-server openssh-sftp-server php-cgi
  php-common php-xml php7.3-cgi php7.3-cli php7.3-common php7.3-json
  php7.3-opcache php7.3-readline php7.3-xml privoxy
Paquets suggérés :
  clamav-docs daemon squid libclamunrar9 fam rrdtool apache2-utils
  lighttpd-doc lighttpd-mod-authn-gssapi lighttpd-mod-authn-pam
  lighttpd-mod-authn-sasl lighttpd-mod-cml lighttpd-mod-geoip
  lighttpd-mod-magnet lighttpd-mod-maxminddb lighttpd-mod-trigger-b4-dl
  lighttpd-mod-vhostdb-dbi lighttpd-mod-vhostdb-pgsql lighttpd-mod-webdav
  lighttpd-modules-ldap lighttpd-modules-mysql molly-guard monkeysphere rssh
  ssh-askpass ufw php-pear
Paquets recommandés :
  clamav clamdscan spawn-fcgi doc-base
Les NOUVEAUX paquets suivants seront installés :
  clamav-base clamav-daemon clamav-freshclam ctparental e2guardian libclamav9
  libfam0 libnss3-tools libtfm1 lighttpd openssh-server openssh-sftp-server
  php-cgi php-common php-xml php7.3-cgi php7.3-cli php7.3-common php7.3-json
  php7.3-opcache php7.3-readline php7.3-xml privoxy
0 mis à jour, 23 nouvellement installés, 0 à enlever et 0 non mis à jour.
Inst clamav-base (0.102.1+dfsg-2 Debian:testing, Debian:unstable [all])
Inst libtfm1 (0.13-4 Debian:9.11/oldstable, Debian:10.2/stable, Debian:testing, Debian:unstable [amd64])
Inst libclamav9 (0.102.1+dfsg-2 Debian:testing, Debian:unstable [amd64])
Inst clamav-freshclam (0.102.1+dfsg-2 Debian:testing, Debian:unstable [amd64])
Inst clamav-daemon (0.102.1+dfsg-2 Debian:testing, Debian:unstable [amd64])
Inst e2guardian (5.3.3-1 Debian:testing, Debian:unstable [amd64])
Inst privoxy (3.0.28-2+b1 Debian:testing, Debian:unstable [amd64])
Inst libfam0 (2.7.0-17.3 Debian:10.2/stable, Debian:testing, Debian:unstable [amd64])
Inst lighttpd (1.4.54-2 Debian:testing, Debian:unstable [amd64])
Inst php-common (2:69 Debian:10.2/stable, Debian:testing, Debian:unstable [all])
Inst php7.3-common (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Inst php7.3-json (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Inst php7.3-opcache (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Inst php7.3-readline (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Inst php7.3-cli (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Inst php7.3-cgi (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Inst php-cgi (2:7.3+69 Debian:10.2/stable, Debian:testing, Debian:unstable [all])
Inst php7.3-xml (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Inst php-xml (2:7.3+69 Debian:10.2/stable, Debian:testing, Debian:unstable [all])
Inst libnss3-tools (2:3.45-1 Debian:testing [amd64])
Inst openssh-sftp-server (1:8.1p1-1 Debian:testing [amd64])
Inst openssh-server (1:8.1p1-1 Debian:testing [amd64])
Inst ctparental (4.41.01-1.0 local-deb [all])
Conf clamav-base (0.102.1+dfsg-2 Debian:testing, Debian:unstable [all])
Conf libtfm1 (0.13-4 Debian:9.11/oldstable, Debian:10.2/stable, Debian:testing, Debian:unstable [amd64])
Conf libclamav9 (0.102.1+dfsg-2 Debian:testing, Debian:unstable [amd64])
Conf clamav-freshclam (0.102.1+dfsg-2 Debian:testing, Debian:unstable [amd64])
Conf clamav-daemon (0.102.1+dfsg-2 Debian:testing, Debian:unstable [amd64])
Conf e2guardian (5.3.3-1 Debian:testing, Debian:unstable [amd64])
Conf privoxy (3.0.28-2+b1 Debian:testing, Debian:unstable [amd64])
Conf libfam0 (2.7.0-17.3 Debian:10.2/stable, Debian:testing, Debian:unstable [amd64])
Conf lighttpd (1.4.54-2 Debian:testing, Debian:unstable [amd64])
Conf php-common (2:69 Debian:10.2/stable, Debian:testing, Debian:unstable [all])
Conf php7.3-common (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Conf php7.3-json (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Conf php7.3-opcache (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Conf php7.3-readline (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Conf php7.3-cli (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Conf php7.3-cgi (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Conf php-cgi (2:7.3+69 Debian:10.2/stable, Debian:testing, Debian:unstable [all])
Conf php7.3-xml (7.3.12-1 Debian:testing, Debian:unstable [amd64])
Conf php-xml (2:7.3+69 Debian:10.2/stable, Debian:testing, Debian:unstable [all])
Conf libnss3-tools (2:3.45-1 Debian:testing [amd64])
Conf openssh-sftp-server (1:8.1p1-1 Debian:testing [amd64])
Conf openssh-server (1:8.1p1-1 Debian:testing [amd64])
Conf ctparental (4.41.01-1.0 local-deb [all])

Vu l’étendu des dépendances je ne ferai pas une vrai installation et je pourrai donc pas en dire plus

Merci grandtoubab. J’ai appliqué le tuto que tu m’as envoyé pour Debian 9, mais le résultat est exactement le meme.

# Nettoyage des versions précédentes :
apt-get autoremove --purge  ctparental privoxy lighttpd* nginx* dansguardian e2guardian dnsmasq
rm -rf /etc/CTparental /etc/lighttpd /etc/nginx
# Installation :
gdebi ctparental_debian9_lighttpd_4.41.01-1.0_all.deb
# Résultat :
Préparation du dépaquetage de ctparental_debian9_lighttpd_4.41.01-1.0_all.deb ...
Dépaquetage de ctparental (4.41.01-1.0) ...
Paramétrage de ctparental (4.41.01-1.0) ...
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/^(.*?)(\\)?\${ <-- HERE ([^{}]+)}(.*)$/ at /usr/share/perl5/Debconf/Question.pm line 72.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^}]+)}/ at /usr/share/perl5/Debconf/Config.pm line 30.
Ajout de l'utilisateur système « ctdigtest » (UID 126) ...
Ajout du nouvel utilisateur « ctdigtest » (UID 126) avec pour groupe d'appartenance « nogroup » ...
Le répertoire personnel « /home/ctdigtest » n'a pas été créé.
erreur de récupération des paramètres réseaux
Traitement des actions différées (« triggers ») pour man-db (2.7.0.2-5) ...

L’embettant semble etre : erreur de récupération des paramètres réseaux. Si je navigue sur https://admin.ct.local/ , j’obtiens : We can’t connect to the server at admin.ct.local.

Si je recherche dans les processus, par exemple avec ps aux | grep -i ctparental :

  • Absents : ctparental, nginx,
  • Présents : privoxy, lighttpd, e2guardian, dnsmasq

Voici la trace de l’installation : pastbin

il y a des erreurs

  • perl5 lors de l’installation,

  • Le répertoire personnel « /home/ctdigtest » n’a pas été créé

je te conseille de faire une demande ici

Entendu, merci beaucoup, j’ai ouvert le ticket #85