The machine has a NVIDIA GeForce 7350 LE graphics card, and I realised that I set up the wrong graphics driver when setting up an Arch Linux machine. I also chose the wrong versions of libgl and lib32-libgl in the course of downloading software.
The installed packages are: nvidia-libgl, lib32-nvidia-libgl, and mesa.
The needed packages are: nvidia-304xx and lib32-nvidia-304xx-libgl.
The question is: how can I safely uninstall the former packages and install the latter without messing up dependencies? Many packages on the system rely on those first 3. I am completely new to package management in Arch Linux.
Update: I downloaded the XFCE desktop environment and the LXDM display manager. At this point the computer hangs during boot after saying "reached target graphical interface". I can switch to another tty and log in, but it constantly switches me back to tty1 (where it appears to be frozen) and it's rather difficult to do much of anything. I think the problem has to do with the graphics drivers. Any help would be appreciated.