Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.
 default-jre depends on default-jre-headless (= 1:1.7-43ubuntu3); however:
  Package default-jre-headless is not installed.

dpkg: error processing default-jre (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of default-jdk:
 default-jdk depends on default-jre (= 1:1.7-43ubuntu3); however:
  Package default-jre is not configured yet.

dpkg: error processing default-jdk (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 default-jre
 default-jdk

How can I solve this? Actually I had another problem ((Failing package manager?) ) and found a solution here, but then dpkg gives above error.

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Just do the same as in the other question (Failing package manager?):

sudo apt-get update

sudo apt-get clean

sudo apt-get autoremove

sudo apt-get update && sudo apt-get upgrade

sudo dpkg --configure -a

sudo apt-get install -f

Edit: oops, sorry, you did already do that. I recommend to skip the dpkg --configure -a and first do apt-get install -f.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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