fix-deb fix require package and is_installed

add my changes