I managed to fix the problem by using ethernet, instead of attempting to connect to a WiFi network. After connecting my ethernet cable, I could get online and install packages. Thank you to @frabjous for putting me on the right track.
I managed to fix the problem by using ethernet, instead of attempting to connect to a WiFi network. After connecting my ethernet cable, I could get online and install packages. Thank you to @frabjous for putting me on the right track.