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

**URL:** <https://www.debian-fr.org/t/ctparental-ne-sinstalle-pas-correctement-et-ne-marche-pas-chez-moi/80911>\
**Category:** Support Debian\
**Created:** [Janvier 3, 2020, 5:03 UTC](https://www.debian-fr.org/t/ctparental-ne-sinstalle-pas-correctement-et-ne-marche-pas-chez-moi/80911 "2020-01-03T17:03:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![lalebarde](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lalebarde/32/8752_2.png) [@lalebarde](https://www.debian-fr.org/u/lalebarde)\
**Post date:** [Janvier 3, 2020, 5:03 UTC](https://www.debian-fr.org/t/ctparental-ne-sinstalle-pas-correctement-et-ne-marche-pas-chez-moi/80911/1 "2020-01-03T17:03:45Z")

</div>

Bonjour,

J’essaie en vain d’installer `CTParental` sur ma Debian 9 avec `gdebi` comme expliqué dans tous les [tutoriels](https://wiki.debian-fr.xyz/Contr%C3%B4le_parental). 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 ?

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Janvier 3, 2020, 5:32 UTC](https://www.debian-fr.org/t/ctparental-ne-sinstalle-pas-correctement-et-ne-marche-pas-chez-moi/80911/2 "2020-01-03T17:32:13Z")

</div>

As tu vraiment pris l’original?

> **[installation fr · Wiki · CTparentalGroup / CTparental · GitLab](https://gitlab.com/ctparentalgroup/CTparental/-/wikis/installation-fr)**
>
> GitLab.com

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](https://gitlab.com/marsat/CTparental/uploads/91ff2d78b8b315ba94be8d6a293ea2ae/ctparental_debian10_lighttpd_4.41.01-1.0_all.deb)

une simulation d’installation

```auto
 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

---

<div class="post-metadata">

**Author:** ![lalebarde](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lalebarde/32/8752_2.png) [@lalebarde](https://www.debian-fr.org/u/lalebarde)\
**Post date:** [Janvier 4, 2020, 9:08 UTC](https://www.debian-fr.org/t/ctparental-ne-sinstalle-pas-correctement-et-ne-marche-pas-chez-moi/80911/3 "2020-01-04T09:08:55Z")

</div>

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/](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](https://pastebin.com/NhvCZgN7)

---

<div class="post-metadata">

**Author:** ![grandtoubab](https://www.debian-fr.org/user_avatar/www.debian-fr.org/grandtoubab/32/4505_2.png) [@grandtoubab](https://www.debian-fr.org/u/grandtoubab)\
**Post date:** [Janvier 4, 2020, 9:28 UTC](https://www.debian-fr.org/t/ctparental-ne-sinstalle-pas-correctement-et-ne-marche-pas-chez-moi/80911/4 "2020-01-04T09:28:12Z")

</div>

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

[https://gitlab.com/marsat/CTparental/issues?scope=all&utf8=✓&state=all](https://gitlab.com/marsat/CTparental/issues?scope=all&utf8=%E2%9C%93&state=all)

```auto

```

---

<div class="post-metadata">

**Author:** ![lalebarde](https://www.debian-fr.org/user_avatar/www.debian-fr.org/lalebarde/32/8752_2.png) [@lalebarde](https://www.debian-fr.org/u/lalebarde)\
**Post date:** [Janvier 4, 2020, 12:44 UTC](https://www.debian-fr.org/t/ctparental-ne-sinstalle-pas-correctement-et-ne-marche-pas-chez-moi/80911/5 "2020-01-04T12:44:48Z")

</div>

Entendu, merci beaucoup, j’ai ouvert le ticket [#85](https://gitlab.com/marsat/CTparental/issues/85)
