Ah, I managed to fix it all up last night, but thanks anyway. I just had to remove/comment the unnecessary entries in /etc/apt/sources.list and run dselect->update (possibly deleting /var/lib/dpkg/available as well, I haven't done the process without doing it, but I doubt that it's necessary). Everything's fine now.
Cheers