dash.preinst: copy(): Do not die if dest does not exist.
Fixes this error:
Preparing to unpack .../dash_0.5.10.2-1_amd64.deb ...
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Removing 'diversion of /bin/sh to /bin/sh.distrib by dash'
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Adding 'diversion of /bin/sh to /bin/sh.distrib by bash'
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
dash.preinst: cannot remove /usr/share/man/man1/sh.distrib.1.gz: No such file or directory
dpkg: error processing archive /var/cache/apt/archives/dash_0.5.10.2-1_amd64.deb (--unpack):
new dash package pre-installation script subprocess returned error exit status 1
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.2 /usr/local/share/perl/5.26.2 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Readline.pm line 7.)
debconf: falling back to frontend: Teletype
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Removing 'diversion of /bin/sh to /bin/sh.distrib by bash'
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Adding 'diversion of /bin/sh to /bin/sh.distrib by dash'
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
dpkg-divert: warning: please specify --no-rename explicitly, the default will change to --rename in 1.20.x
Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
Errors were encountered while processing:
/var/cache/apt/archives/dash_0.5.10.2-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)