I think I figured something out but I'm not sure what to do about it. After the last message I got it gave me an idea. I unmounted the SD card and then tried to install stuff and it worked. So for some reason it won't install anything with the SD card mounted, but with it unmounted everything...