I found it. It's a tiny script that just calls "locale-gen". I commented that out and did the aptitude reinstall locales which now looked clean. Of course it left behind a bunch of unconfigured packages.
Moreover, when I manually ran locale-gen, it failed again in the same way. I even did a aptitude reinstall belocs-locales-bin to reinstall locales-gen, but this had the same sort of failure that "locales" did orignally. So did another package chosen for its short name: "lsb". It appears I'll have to solve the mystery of "locale-gen". This reports a number of errors, then has a failure of sed(1). A typescript is attached. Just in case: here's a quick checksum: [EMAIL PROTECTED]:~ # sum /usr/sbin/locale-gen 30903 7 [EMAIL PROTECTED]:~ # ** Attachment added: "Typescript of locale-gen failing" http://launchpadlibrarian.net/15624526/typescript -- dapper -> hardy upgrade breaks system https://bugs.launchpad.net/bugs/242703 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