added dependency resolution for Debian

BIG FAT WARNING: alpha quality