[core] some changes for channel support and proper debian install