reworked apt-repository auto-install to be like yum