I am new to Ubuntu and Linux in general, So forgive me of being ignorant about basic operations...
So let's say I tried to install a package, it takes too so, I want to abort it,
Is there a safe way of doing it, (preferably one that automatically deletes the files that get left, corrupted or unused packages etc.)
sudo apt-get install -f
(-f =--fix-broken
) to correct things. It's pretty safe and you'll rarely need to --fix-broken – guiverc Apr 23 '18 at 11:01