Package: telnetd-ssl
Version: 0.17.24+0.1-10
Severity: normal

When purging a bunch of packages, I somehow end up with /etc/ssl/certs
not existing when telnetd-ssl's postrm script starts.  Thus cd
/etc/ssl/certs fails; thus the script fails; thus apt complains.

Replacing

        cd /etc/ssl/certs
        PATH=$PATH:/usr/bin/ssl
        rm -f `openssl x509 -noout -hash < telnetd.pem`.0
        rm -f telnetd.pem

with

    if test -d /etc/ssl/certs
    then cd /etc/ssl/certs
         PATH=$PATH:/usr/bin/ssl
         rm -f `openssl x509 -noout -hash < telnetd.pem`.0
         rm -f telnetd.pem
    fi

works for me.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.15-1-686-smp
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to