Se me hab�a quedado el ssh sin configurar, despu�s del dist-upgrade de cada d�a.
Se me quejaba:
        ~-root#>dpkg --configure -a
        Configurando ssh (2.5.1p1-1.5) ...
        /var/lib/dpkg/info/ssh.postinst: line 97: syntax error near unexpected
        token `else' 
        dpkg: error al procesar ssh (--configure):
        el subproceso post-installation script devolvi� el c�digo de salida de
        error 2 
        Se encontraron errores al procesar:
        ssh
  
Voy yo, m�s chula que un ocho, y edito:

    if [ -x /usr/sbin/dpkg-statoverride ]; then
        if [ "$ssh_mod" = "04755" ]; then
                # Since we messed up here last time and set the
                # override for the sshd server we now remove it.
                dpkg-statoverride --remove /usr/sbin/sshd
                if [ dpkg-statoverride --list | grep ssh ]; then
                        # Do nothing since override is already existing.
                        # A�ado una l�nea al azar:
                        echo "Hola Amayita"; 
                else
                        dpkg-statoverride --add root root 04755 /usr/sbin/ssh
                fi
                
Y se arregla, y se configura, aunque el "Hola Amayita" no lo he conseguido ver.
�Por qu�? No puedo creerme que haya sido el ";" o lo que sea... �Qu� ha sido? 

Por cierto, el "dpkg-statoverride --list | grep ssh" me da vac�o, o sea, no
encuentra nada.  

:-?

-- 
  If you don't spend energy getting what you want, you'll have to spend it
  dealing with what you get.                                     - Unknown
 
  Proudly running Debian GNU/Linux Sid (Kernel 2.2.17) on this Dell Laptop 

Attachment: pgpV6eWeqN2zL.pgp
Description: PGP signature

Responder a