I got a problem when installing gperf. It looks like this

"dpkg: dependency problems prevent configuration of tcl8.4-dev:
 tcl8.4-dev depends on tcl8.4 (= 8.4.16-4ubuntu1); however:
  Version of tcl8.4 on system is 8.4.19-4ubuntu3.
dpkg: error processing tcl8.4-dev (--configure):
 dependency problems - leaving unconfigured"

Does anyone know how to fix this?

Thank you


Run the following in terminal.

sudo apt-get install -f

sudo dpkg --configure -a

sudo apt-get update 
  • thank u for ur feedback! but it still doesn't wrok. the error message is the same as before. – kentblue Oct 16 '12 at 9:41
  • did you remove tcl comeletely before the commands?! – user61928 Oct 16 '12 at 10:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.