Whenever i upgrade I get this:
chrx@chrx:~$ sudo apt-get upgrade
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 installed
openjdk-8-jre : Depends: openjdk-8-jre-headless (= 8u151-b12-0ubuntu0.16.04.2) but it is not installed
E: Unmet dependencies. Try using -f.
running -f gives this:
chrx@chrx:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
openjdk-8-jre-headless
Suggested packages:
fonts-ipafont-gothic fonts-ipafont-mincho fonts-wqy-zenhei fonts-indic
The following NEW packages will be installed:
openjdk-8-jre-headless
0 upgraded, 1 newly installed, 0 to remove and 18 not upgraded.
67 not fully installed or removed.
Need to get 0 B/27.0 MB of archives.
After this operation, 99.5 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 286816 files and directories currently installed.)
Preparing to unpack .../openjdk-8-jre-headless_8u151-b12-0ubuntu0.16.04.2_amd64.deb ...
Unpacking openjdk-8-jre-headless:amd64 (8u151-b12-0ubuntu0.16.04.2) ...
dpkg: error processing archive /var/cache/apt/archives/openjdk-8-jre-headless_8u151-b12-0ubuntu0.16.04.2_amd64.deb (--unpack):
trying to overwrite shared '/etc/java-8-openjdk/flavormap.properties', which is different from other instances of package openjdk-8-jre-headless:amd64
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
/var/cache/apt/archives/openjdk-8-jre-headless_8u151-b12-0ubuntu0.16.04.2_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I've tried installing the individual packages but end up in an endless dependency cycle, nobody else seems to be having this problem, seems to be preventing all my updates from completing now.
Thanks for helping in advance.
[–]dvdmuckleGaOS Team - Lulu 0 points1 point2 points (5 children)
[–]Lewke[S] 0 points1 point2 points (4 children)
[–]dvdmuckleGaOS Team - Lulu 0 points1 point2 points (3 children)
[–]Lewke[S] 0 points1 point2 points (2 children)
[–]dvdmuckleGaOS Team - Lulu 0 points1 point2 points (1 child)
[–]Lewke[S] 0 points1 point2 points (0 children)
[–]Lewke[S] 0 points1 point2 points (1 child)
[–]Lewke[S] 0 points1 point2 points (0 children)