more fixes for apt-get