Fixed bugs regarding apt-get not being properly executed, and aborting