Take the 2-minute tour ×

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
add comment

1 Answer

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.


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

Your Answer


