This error can be caused by a malformed /etc/apt/sources.list file. I've seen it in stock Ubuntu.
I think my instance may have got stepped on by some weird bug in the Python distribution upgrader; when I looked, the last group of lines duplicated a bunch of multiverse entries earlier in the file, and the last line ended with a single quote and the word "main" (rather obviously malformed). I removed the malformed last line and the duplicative entries before it and re-ran the upgrade. Problem solved. It is no wonder you were puzzled by Michael Vogt's reply: he should slap himself, hard. He pretty clearly had the right information, but his reply was about as unhelpful as it could possibly have been. This is a bug tracker, people come here for help; cryptic and elliptical and making lots of assumptions about what the user knows is not the right way to be. -- kubuntu hardy beta upgrade malformed release file error https://bugs.launchpad.net/bugs/204691 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs