Upgrade LZ to v2.4.4 - Java 1.8.0 error

0

Trying to upgrade LZ to V2.4.4 but getting stuck in the first step of the codebuild (container configuration). It seems that is using an OS image that is crashing due packages during the process. At the moment apt-get upgrade is trying to install a newer version of java JDK, which's requiring a manual interaction not mapped (potentially causing the error bellow):

Setting up java-1.8.0-amazon-corretto-jdk:amd64 (1:8.332.08-1) ...

Configuration file '/usr/lib/jvm/java-1.8.0-amazon-corretto/jre/lib/security/policy/limited/local_policy.jar'
 ==> File on system created by you or by a script.
 ==> File also in package provided by package maintainer.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** local_policy.jar (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package java-1.8.0-amazon-corretto-jdk:amd64 (--configure):
 end of file on stdin at conffile prompt

That causes Google Chrome packages to fail, further down the line.

Errors were encountered while processing:
 java-1.8.0-amazon-corretto-jdk:amd64
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google.list:1
E: Sub-process /usr/bin/dpkg returned an error code (1)

First of all, not sure why AWS still using apt-get instead of APT to manage packages and further more using Chrome packages to containers executions.

Anyway, have anyone faced and fixed this?

Thanks.

Doug
질문됨 2년 전39회 조회
답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠