Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I was trying to xdman from the nooblabs PPA however something just went wrong now `apt-get is ruined. Here's what I get when I try to run the update manager:


Also when I try to correct the error (as directed by synaptic package manager), I get this message:

Reading package lists... Done Building dependency tree
Reading state information... Done E: The package oracle-java8-installer needs to be reinstalled, but I can't find an archive for it.

How can I rectify this problem? Thanks in advance.

share|improve this question
up vote 3 down vote accepted

Try going through a series of commands

sudo apt-get install -f
sudo dpkg --configure -a

I am going to guess the first 2 will fail.

Next run

sudo dpkg --remove --force-all oracle-java8-installer

If that command fails you have to manually remove

cd /var/lib/dpkg/info
sudo rm oracle-java8-installer*

Then again

sudo dpkg --remove --force-remove-reinstreq oracle-java8-installer

Should work now.

See :

share|improve this answer
Thank you so much. The 'next run' command worked like magic – Mysterio Oct 1 '13 at 16:26

Your Answer


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.