No, this is not a duplicate of Bug #1524. That bug is very specific to just sloccount AFAICS in that it is sloccount's meddling with $LANG in a textual way that causes later problems. I doubt sloccount is involved at all with the upgrade described in this bug above.
-- Errors about locale when dist-upgrade from dapper to edgy. https://launchpad.net/bugs/67054 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs