Ubuntu gets stuck in a login loop

Press Ctrl+Alt+F3 (or F2) and login into the shell. Now run ls -lA. If you see the line -rw——- 1 root root 53 Nov 29 10:19 .Xauthority then you need to do chown username:username .Xauthority and try logging in (you may also need to do the same for...

Ubuntu 14.04 fails to update

Updates may fail due to the apt package being out-of-date. wget http://security.ubuntu.com/ubuntu/pool/main/a/apt/apt_1.0.1ubuntu2.17_i386.deb sudo dpkg -i apt_1.0.1ubuntu2.17_i386.deb sudo do-release-upgrade (if this fails, download the next version of the apt...