Comment 49 for bug 249340

Revision history for this message
Izzy (izzy-qumran) wrote :

@Tony Maro: To get at least your broken dependencies fixed without a hang, you could try the following:

chmod 644 /usr/bin/localedef
# fix your dependencies here:
# apt-get install -f (or whatever)
chmod 755 /usr/bin/localedef
# here you may try to "repair" your locales (optionally)
# dpgk-reconfigure locales

By stealing the execute bit from /usr/bin/localedef you prevent the hang from happening - but also the setup of the locales. If you don't get any locale errors after that (try e.g. invoking some man page, like "man bash"), you probably don't need to run the dpkg-reconfigure (I may be wrong with this one - so somebody else may correct me). I successfully upgraded 3 machines this way now - so I'm done with the current dist-upgrade ;)