/ debconf / confmodule falha com Can't exec “-bash”: Não existe tal arquivo ou diretório em /usr/share/perl/5.18/IPC/Open3.pm line 173

0

Execução:

. /usr/share/debconf/confmodule

falha com:

Can't exec "-bash": No such file or directory at /usr/share/perl/5.18/IPC/Open3.pm line 173.
open2: exec of -bash failed at /usr/share/perl5/Debconf/ConfModule.pm line 59.

Como cheguei aqui? Estou tentando instalar o snort .

Meus passos:

  1. Instalar via apt

    > apt install snort
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    
  2. Tente reconfigurar

    > dpkg --configure snort
    subprocess installed post-installation script returned error exit status 10
    
  3. Verifique onde o snort.postinst falha, adicionando instruções echo

    echo "1"
    . /usr/share/debconf/confmodule
    echo "2"
    
    output: 1
    
  4. Executar confmodule

    > . /usr/share/debconf/confmodule
    Can't exec "-bash": No such file or directory at 
    /usr/share/perl/5.18/IPC/Open3.pm line 173.
    open2: exec of -bash failed at /usr/share/perl5/Debconf/ConfModule.pm line 59.
    

Por incrível que pareça, ele foi instalado em outros servidores (mesmo sistema operacional) sem problemas.

debconf (developer): frontend started
debconf (developer): Trying to find a templates file..
debconf (developer): Trying -bash.templates
debconf (developer): Trying /usr/share/debconf/templates/-bash.templates
debconf (developer): Couldn't find a templates file.
debconf (developer): frontend running, package name is 
debconf (developer): starting -bash
Can't exec "-bash": No such file or directory at /usr/share/perl/5.18/IPC/Open3.pm line 173.
open2: exec of -bash failed at /usr/share/perl5/Debconf/ConfModule.pm line 59.
    
por kev 11.09.2017 / 04:16

0 respostas