Before flashin why not try to reinstall it either thru ham, fap, or try "apt-get install --reinstall" thru xterm