Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 04/11/2014, à 23:41

malakou

Peerguardian

Bonjour,

j'essaie d'installer Peerguardian depuis quelques heures déjà, j'ai chercher plusieurs posts sur ce forum ou des forums anglais et je ne trouve pas la solution. J'ai bien réussi à lancer l'interface graphique mais quand je clique sur start, on me dit que la commande pglcmd start failed to execute.
J'ai essayé de le réinstaller et j'obtient ça

pgld will soon be started ...
If any blocklists are missing, they will be downloaded. This may take several
minutes. Please be patient and don't abort. If you want to follow the update
process, then do in another terminal a
 tail -f /var/log/pgl/pglcmd.log
The lists are saved to /var/spool/pgl/.
The installation of pglcmd will fail, if starting pgld fails. So if
downloading the blocklists fails temporarily, the installation will fail. In
this case you may turn the automatic starting off by setting in
/etc/pgl/pglcmd.conf:
 INIT="0"
Then complete the installation and turn the automatic start on again:
 sudo dpkg-reconfigure --force pglcmd
Please be patient ...
runlevel:/var/run/utmp: No such file or directory
 * Starting PeerGuardian Linux pgld                                      [fail] 
invoke-rc.d: initscript pgl, action "start" failed.
dpkg: error processing package pglcmd (--configure):
 subprocess installed post-installation script returned error exit status 170
dpkg: dependency problems prevent configuration of pglgui:
 pglgui depends on pglcmd (>= 2.2.4-1~trusty); however:
  Package pglcmd is not configured yet.
 pglgui depends on pglcmd (<< 2.2.4-1~trusty.1~); however:
  Package pglcmd is not configured yet.

dpkg: error processing package pglgui (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                          Errors were encountered while processing:
 pglcmd
 pglguiE: Sub-process /usr/bin/dpkg returned an error code (1)

Je ne sais pas quoi faire après ça.
Merci d'avance

Je suis sous ubuntu 14.04 LTS, Unity sur un chromebook.

Dernière modification par malakou (Le 04/11/2014, à 23:42)

Hors ligne

#2 Le 14/11/2014, à 15:25

malakou

Re : Peerguardian

up !

Hors ligne

#3 Le 14/11/2014, à 15:43

Gaara

Re : Peerguardian

Salut,
J'utilise aussi pgld (avec pglgui), donc je vais peut-être pouvoir t'aider.
As tu exécuté

sudo dpkg-reconfigure --force pglcmd

comme le message te conseille de faire ?


Kubuntu 18.04 x64
Un terminal tactile Raspberry Pi et Odroid

                                        <code>zenity  --question --title "Alert"  --text "Microsoft Windows has been found! Would you like to remove it?"</code>

Hors ligne

#4 Le 18/11/2014, à 17:46

malakou

Re : Peerguardian

Bonjour et merci de ta réponse.
Alors j'ai exécuté la commande que tu m'a donné
J'ai une première page de configuration sur la configuration de INIT (=turn on automatic start). Et ensuite j'ai CRON (=turn on automatic blocklist update). J'ai mis oui au deux et j'obtient ça :

runlevel:/var/run/utmp: No such file or directory
 * Stopping PeerGuardian Linux pgld                                      [ OK ] 
runlevel:/var/run/utmp: No such file or directory
 * Starting PeerGuardian Linux pgld                                      [fail] 
invoke-rc.d: initscript pgl, action "start" failed.

J'ai moi aussi l'interface graphique mais quand j'appuie sur start j'ai ça :
One or more command(s) failed to execute.
/usr/bin/gksudo /usr/bin/pglcmd start        * .... fail!

Merci d'avance !

Hors ligne

#5 Le 18/11/2014, à 18:59

Gaara

Re : Peerguardian

Ah ok je crois savoir: as tu gksu installé ? C'est comme un sudo mais en mode graphique, car pour démarrer pgld a besoin de ton mot de passe.

sudo apt-get install gksu

Kubuntu 18.04 x64
Un terminal tactile Raspberry Pi et Odroid

                                        <code>zenity  --question --title "Alert"  --text "Microsoft Windows has been found! Would you like to remove it?"</code>

Hors ligne

#6 Le 18/11/2014, à 20:10

malakou

Re : Peerguardian

Alors j'ai essayé de l'installer et il me dit qu'il y ai déjà donc ça ne doit pas venir de là.

Hors ligne

#7 Le 18/11/2014, à 20:28

Gaara

Re : Peerguardian

Ok..
Alors que renvoie cette commande?

cat /etc/pgl/pglcmd.conf

Kubuntu 18.04 x64
Un terminal tactile Raspberry Pi et Odroid

                                        <code>zenity  --question --title "Alert"  --text "Microsoft Windows has been found! Would you like to remove it?"</code>

Hors ligne

#8 Le 18/11/2014, à 21:26

malakou

Re : Peerguardian

J'obtiens ça avec la commande :

(trusty)nono@localhost:~$ cat /etc/pgl/pglcmd.conf
# pglcmd.conf - configuration file for pglcmd

# This file is sourced by a shell script. Any line which starts with a # (hash)
# is a comment and is ignored. If you set the same variable several times,
# then only the last line will be used.

# Refer to pglcmd.defaults (/usr/lib/pgl/pglcmd.defaults)
# for the complete set of possible configuration variables with comments.

# Do a "pglcmd restart" (sometimes even "reload" is enough) when you have
# edited this file.
INIT="1"
CRON="1"

Hors ligne

#9 Le 19/11/2014, à 10:48

Gaara

Re : Peerguardian

Edites ce fichier avec gedit par exemple:

gksudo gedit /etc/pgl/pglcmd.conf

et change la valeur de INIT

INIT="0"

enregistres, puis

sudo dpkg-reconfigure --force pglcmd

Kubuntu 18.04 x64
Un terminal tactile Raspberry Pi et Odroid

                                        <code>zenity  --question --title "Alert"  --text "Microsoft Windows has been found! Would you like to remove it?"</code>

Hors ligne

#10 Le 20/11/2014, à 13:47

malakou

Re : Peerguardian

Bonjour,

Alors en fait quand je fais

sudo dpkg-reconfigure --force pglcmd

Le terminal me demande de régler INIT yes = 1 et no = 0. Quand je le met en 0. J'ai vérifié à la fin du fichier il est écrit INIT=0 et CRON=1. J'obtiens ça :

(trusty)nono@localhost:~$ sudo dpkg-reconfigure --force pglcmd
[sudo] password for nono: 
runlevel:/var/run/utmp: No such file or directory
 * Stopping PeerGuardian Linux pgld                                      [ OK ] 

pgld will soon be started ...
If any blocklists are missing, they will be downloaded. This may take several
minutes. Please be patient and don't abort. If you want to follow the update
process, then do in another terminal a
 tail -f /var/log/pgl/pglcmd.log
The lists are saved to /var/spool/pgl/.
The installation of pglcmd will fail, if starting pgld fails. So if
downloading the blocklists fails temporarily, the installation will fail. In
this case you may turn the automatic starting off by setting in
/etc/pgl/pglcmd.conf:
 INIT="0"
Then complete the installation and turn the automatic start on again:
 sudo dpkg-reconfigure --force pglcmd
Please be patient ...
runlevel:/var/run/utmp: No such file or directory
 * pgl is configured not to start automatically at boot time.

Et je ne peux toujours pas lancer pglcmd.

Dernière modification par malakou (Le 20/11/2014, à 13:51)

Hors ligne

#11 Le 20/11/2014, à 19:33

Gaara

Re : Peerguardian

Bonjour,
ben là je sèche un peu.
Regarde de ce coté là:

runlevel:/var/run/utmp: No such file or directory

Il y a plusieurs réponses sur le net, par exemple ici, mais je ne sais pas si ça résoudrait le problème.


Kubuntu 18.04 x64
Un terminal tactile Raspberry Pi et Odroid

                                        <code>zenity  --question --title "Alert"  --text "Microsoft Windows has been found! Would you like to remove it?"</code>

Hors ligne

#12 Le 21/11/2014, à 02:20

malakou

Re : Peerguardian

En cherchant un peu sur les liens que tu m'a donné j'ai trouvé dans pglcmd.log l'erreur suivante :

*Could not load kernel module xt_mark, not starting pgld.
*Use a kernel with netfilter MARK support or reconfigure pglcmd
*to not use the  MARKing feature (options REJECT and ACCEPT)

Je sais pas si ça peut t'aider à trouver mon problème.

Merci pour ton temps en tout cas !

Hors ligne

#13 Le 22/11/2014, à 21:22

bishop

Re : Peerguardian

malakou !
Tu t'es inspiré de MoBlock dans la documentation ubuntu-fr pour installer pgl ?


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#14 Le 25/11/2014, à 23:40

malakou

Re : Peerguardian

Non pas du tout j'ai suivi un tuto sur pgl.

Hors ligne

#15 Le 26/11/2014, à 01:22

bishop

Re : Peerguardian

Si tu n'y arrives pas désinstalle ce que tu as installé.

En ce qui me concerne j'ai installé pgl de la façon suivante :

sudo add-apt-repository ppa:jre-phoenix/ppa && sudo apt-get update && sudo apt-get install pgld pglgui

Pour lancer pgl :

pglgui

Si tu n'as pas de lanceur tu peux le créer :

gksu gedit /usr/share/applications/pglgui.desktop

Tu copies/colles :

[Desktop Entry]
Type=Application
Categories=System;Settings;
Icon=/usr/share/pixmaps/pglgui.png
Name=PeerGuardian
Terminal=false
Exec=/usr/bin/pglgui
Hidden=false

Tu enregistres et tu fermes.

Le raccourci PeerGuardian se trouve dans Administration.

Dernière modification par bishop (Le 26/11/2014, à 12:41)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#16 Le 26/11/2014, à 11:36

Gaara

Re : Peerguardian

@bishop: Tu as raison, j'avais installé pgld/pglgui avec ce ppa quand j'étais sous 14.04. Et le lanceur a été créé automatiquement, ça a fonctionné de suite.
Sinon, pour le .desktop, pas besoin de le rendre exécutable, ça fonctionne sans.  wink


Kubuntu 18.04 x64
Un terminal tactile Raspberry Pi et Odroid

                                        <code>zenity  --question --title "Alert"  --text "Microsoft Windows has been found! Would you like to remove it?"</code>

Hors ligne

#17 Le 26/11/2014, à 12:49

bishop

Re : Peerguardian

Gaara a écrit :

@bishop: Tu as raison, j'avais installé pgld/pglgui avec ce ppa quand j'étais sous 14.04. Et le lanceur a été créé automatiquement, ça a fonctionné de suite.
Sinon, pour le .desktop, pas besoin de le rendre exécutable, ça fonctionne sans.  wink

Salut Gaara !
Tu as raison. Il n'est pas nécessaire rendre le fichier exécutable.

Quand j'ai réinstallé le raccourci a été créé mais il ne fonctionnait pas. Ça arrive parfois et je ne comprends pas pourquoi. À l'édition il n'y a rien de suspect dans le fichier .desktop.mais il n'apparaît pas dans le menu. Du coup je supprime le récalcitrant et j'en créé un nouveau avec le soft Arronax.


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#18 Le 27/11/2014, à 15:28

malakou

Re : Peerguardian

Salut Bishop et merci pour ton aide,

J'ai bien essayé la ligne de commande que tu m'a envoyé et j'obtiens ça à la fin de l'installation.

pgld will soon be started ...
If any blocklists are missing, they will be downloaded. This may take several
minutes. Please be patient and don't abort. If you want to follow the update
process, then do in another terminal a
 tail -f /var/log/pgl/pglcmd.log
The lists are saved to /var/spool/pgl/.
The installation of pglcmd will fail, if starting pgld fails. So if
downloading the blocklists fails temporarily, the installation will fail. In
this case you may turn the automatic starting off by setting in
/etc/pgl/pglcmd.conf:
 INIT="0"
Then complete the installation and turn the automatic start on again:
 sudo dpkg-reconfigure --force pglcmd
Please be patient ...
runlevel:/var/run/utmp: No such file or directory
 * Starting PeerGuardian Linux pgld                                      [fail] 
invoke-rc.d: initscript pgl, action "start" failed.
dpkg: error processing package pglcmd (--configure):
 subprocess installed post-installation script returned error exit status 9
dpkg: dependency problems prevent configuration of pglgui:
 pglgui depends on pglcmd (>= 2.2.4-1~trusty); however:
  Package pglcmd is not configured yet.
 pglgui depends on pglcmd (<< 2.2.4-1~trusty.1~); however:
  Package pglcmd is not configured yet.

dpkg: error processing package pglgui (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                          Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
Errors were encountered while processing:
 pglcmd
 pglgui
E: Sub-process /usr/bin/dpkg returned an error code (1)

J'ai ensuite lancé pglgui et cliqué sur start et j'ai ça :

(trusty)nono@localhost:~$ pglgui
** Debug: Connection to DBus was successful. 
** Debug: Executing command: 
 "/usr/bin/gksudo /usr/bin/pglcmd start" 

Dernière modification par malakou (Le 27/11/2014, à 15:29)

Hors ligne

#19 Le 27/11/2014, à 17:17

bishop

Re : Peerguardian

Vu les erreurs ça ne peut pas fonctionner.

Avant d'installer le PPA et pgl il fallait que tu fasses le ménage de ta précédente installation ?
Là c'est la cata...

Désinstalle, si c'est possible les paquets pgld, pglgui et pglcmd :

sudo apt-get remove --purge pgld pglgui pglcmd

N'oublie pas de supprimer le dossier

rm -R ~/.config/pgl

Fait le ménage de ta précédente installation.


Puis tu mets à jour :

sudo apt-get update
sudo apt-get dist-upgrade

Poste le résultat de la dernière commande (sudo apt-get dist-upgrade).
On verra la suite après et seulement s'il n'y a pas d'erreur avec cette commande.


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#20 Le 27/11/2014, à 22:50

navtex

Re : Peerguardian

Bonsoir
pglcmd dépend de libnetfilter-queue1 . Est-il installé ?


Xubuntu sur CLEVO PA7 i5 32ram Jammy Jellyfish
ABientot sur le Libre

Hors ligne

#21 Le 29/11/2014, à 15:09

malakou

Re : Peerguardian

Bonjour, alors j'ai obtenu ça avec ta dernière commande

(trusty)nono@localhost:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Je ne pense pas avoir installer libnetfilter-queue1, j'ai rien qui ressemble à ça.

Merci à vous.

Hors ligne

#22 Le 29/11/2014, à 16:14

navtex

Re : Peerguardian

sudo apt install libnetfilter-queue1
sudo apt reinstall pgld pglgui pglcmd

explication
si tu télécharges les paquets pgl depuis launchpad.net et que tu les installes par gdebi ,tu as le message relatif aux dépendances
et par la logitheque il est installé d'office.

Dernière modification par navtex (Le 29/11/2014, à 16:20)


Xubuntu sur CLEVO PA7 i5 32ram Jammy Jellyfish
ABientot sur le Libre

Hors ligne

#23 Le 01/12/2014, à 17:47

malakou

Re : Peerguardian

Bonjour Navtex,
J'ai bien fait ce que tu m'as dit maintenant j'obtiens ça

 * Starting PeerGuardian Linux pgld                                             
                                                                         [fail]
invoke-rc.d: initscript pgl, action "start" failed.
dpkg: error processing package pglcmd (--configure):
 subprocess installed post-installation script returned error exit status 170
/bin/df: ‘/mnt/stateful_partition’: No such file or directory
                                                             /bin/df: ‘/usr/share/oem’: No such file or directory
                                                                                                                 /bin/df: ‘/home/chronos’: No such file or directory
                                                                                                                                                                    /bin/df: ‘/home/.shadow/3dc6ca5851e3e347374ef065941c3ebc114e6dfe/mount’: No such file or directory
                                             /bin/df: ‘/home/chronos/user’: No such file or directory
                                                                                                     /bin/df: ‘/home/user/3dc6ca5851e3e347374ef065941c3ebc114e6dfe’: No such file or directory
                                                                                                                                                                                              /bin/df: ‘/home/chronos/u-3dc6ca5851e3e347374ef065941c3ebc114e6dfe’: No such file or directory
                                                                   /bin/df: ‘/home/root/3dc6ca5851e3e347374ef065941c3ebc114e6dfe’: No such file or directory
                                                                                                                                                            /bin/df: ‘/run/crw’: No such file or directory
                                                                                                                                                                                                          dpkg: dependency problems prevent configuration of pglgui:
 pglgui depends on pglcmd (>= 2.2.4-1~trusty); however:
  Package pglcmd is not configured yet.
 pglgui depends on pglcmd (<< 2.2.4-1~trusty.1~); however:
  Package pglcmd is not configured yet.

dpkg: error processing package pglgui (--configure):
 dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.19-0ubuntu6.3) ...
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
 pglcmd
 pglgui
E: Sub-process /usr/bin/dpkg returned an error code (1)

L'installation s'est mieux passé que d'habitude, donc ce que tu m'as donné a du résoudre une partie du problème.
Merci.

Dernière modification par malakou (Le 01/12/2014, à 17:48)

Hors ligne

#24 Le 01/12/2014, à 18:07

bishop

Re : Peerguardian

Pour l'erreur :

E: Sub-process /usr/bin/dpkg returned an error code (1)

Il y a des solutions proposées dans la documentation ubuntu-fr :
Problèmes avec les gestionnaires de paquets => Paragraphe 4. Erreur de sortie d'état 1.

Essaie :

sudo apt-get remove --purge pgld pglgui pglcmd
sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-old
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get dist-upgrade

Puis tu réinstalles :

sudo apt-get install pgld pglgui

La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#25 Le 02/12/2014, à 20:43

malakou

Re : Peerguardian

sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-old

J'ai ça :

(trusty)nono@localhost:~$ sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-old
[sudo] password for nono: 
mv: cannot stat ‘/var/lib/dpkg/status’: No such file or directory
(trusty)nono@localhost:~$ sudo dpkg --configure -a
dpkg: error: failed to open package info file `/var/lib/dpkg/status' for reading: No such file or directory

Dernière modification par malakou (Le 02/12/2014, à 20:43)

Hors ligne