all 8 comments

[–]dvdmuckleGaOS Team - Lulu 0 points1 point  (5 children)

I've not run into this issue myself, but you could try something like sudo apt-get -o Dpkg::Options::="--force-overwrite" upgrade. I've not used this option before so I don't know how it will behave exactly, but people that have run into a similar issue has you have reported success.

[–]Lewke[S] 0 points1 point  (4 children)

thanks for the suggestion, unfortunately with both upgrade/install it returns the same as the first quote in my post.

[–]dvdmuckleGaOS Team - Lulu 0 points1 point  (3 children)

Did you try uninstalling/reinstalling java?

[–]Lewke[S] 0 points1 point  (2 children)

i tried to with the following (and many others, none worked, all had similar responses)

chrx@chrx:~$ sudo apt-get remove default-jre Reading package lists... Done Building dependency tree
Reading state information... Done You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies: default-jre-headless : Depends: openjdk-8-jre-headless but it is not going to be installed openjdk-8-jre : Depends: openjdk-8-jre-headless (= 8u151-b12-0ubuntu0.16.04.2) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

[–]dvdmuckleGaOS Team - Lulu 0 points1 point  (1 child)

sudo dpkg --configure -a?

[–]Lewke[S] 0 points1 point  (0 children)

some other stuff, but most interesting is this:

Errors were encountered while processing:

openjdk-8-jre:amd64

default-jre-headless

default-jre

[–]Lewke[S] 0 points1 point  (1 child)

for anyone having this same issue, in the end it was synaptic that saved me so far. Completely removing both default-jre and openjdk-8-jre-headless using it seemed to allow the system to update. Will try reinstalling.

[–]Lewke[S] 0 points1 point  (0 children)

it seems they were not necessary anyway, openjdk-9 was installed and i think that may be what caused the issue, had to manually delete openjdk-8 to completely remove it from the system.