detect debian via /etc/os-release, fix #1854