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|impro