Problems with program updates since installing Java 8

Archived topics about LMDE 1 and LMDE 2
Locked
Oswulf
Level 1
Level 1
Posts: 6
Joined: Thu Nov 17, 2016 2:14 am

Problems with program updates since installing Java 8

Post by Oswulf »

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.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
trytip
Level 14
Level 14
Posts: 5367
Joined: Tue Jul 05, 2016 1:20 pm

Re: Problems with program updates since installing Java 8

Post by trytip »

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

Re: Problems with program updates since installing Java 8

Post by Oswulf »

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)
Locked

Return to “LMDE Archive”