Problems with program updates since installing Java 8

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
Oswulf
Level 1
Level 1
Posts: 3
Joined: Thu Nov 17, 2016 2:14 am

Problems with program updates since installing Java 8

Post by Oswulf » Thu Jan 12, 2017 11:50 pm

I recently installed Oracle Java 8 (specifically jre1.8.0_112) on LDME 2, 64 bit. Since then every installation via Update Manager seems to be failing with error messages relating to .pack files (plugin.pack, javaws.pack, etc.). These files don't exist. However, there are corresponding .jar files (plugin.jar, javaws.jar, etc.) in the correct directories. Is there a way to fix this? I had thought about simply renaming the .jar files to .pack, but fear this might break something else.

Thanks.

User avatar
trytip
Level 6
Level 6
Posts: 1017
Joined: Tue Jul 05, 2016 1:20 pm

Re: Problems with program updates since installing Java 8

Post by trytip » Fri Jan 13, 2017 2:02 am

Image

Oswulf
Level 1
Level 1
Posts: 3
Joined: Thu Nov 17, 2016 2:14 am

Re: Problems with program updates since installing Java 8

Post by Oswulf » Fri Jan 13, 2017 9:07 pm

trytip wrote:re-install java again http://tecadmin.net/install-java-8-on-debian/#
Fails in a very similar manner:

Code: Select all

Setting up jre1.8.0-112 (1.8.0112-1) ...
Unpacking JAR files...
	plugin.jar...
Error: Could not open input file: /usr/java/jre1.8.0_112/lib/plugin.pack
	javaws.jar...
Error: Could not open input file: /usr/java/jre1.8.0_112/lib/javaws.pack
	deploy.jar...
Error: Could not open input file: /usr/java/jre1.8.0_112/lib/deploy.pack
	rt.jar...
Error: Could not open input file: /usr/java/jre1.8.0_112/lib/rt.pack
	jsse.jar...
Error: Could not open input file: /usr/java/jre1.8.0_112/lib/jsse.pack
	charsets.jar...
Error: Could not open input file: /usr/java/jre1.8.0_112/lib/charsets.pack
	localedata.jar...
Error: Could not open input file: /usr/java/jre1.8.0_112/lib/ext/localedata.pack
/var/lib/dpkg/info/jre1.8.0-112.postinst: line 641: /usr/sbin/alternatives: No such file or directory
dpkg: error processing package jre1.8.0-112 (--configure):
 subprocess installed post-installation script returned error exit status 127
Errors were encountered while processing:
 jre1.8.0-112
E: Sub-process /usr/bin/dpkg returned an error code (1)

Post Reply

Return to “Software & Applications”