Utopic Unicorn 14.10에 icedtea 플러그인을 설치할 수 없습니다


8

14.10 x64에 icedtea-7-plugin을 설치하려고하면 오류가 발생합니다.

apt-get install icedtea-7-plugin
. . .
Selecting previously unselected package icedtea-netx:amd64.
. . .
Processing triggers for man-db (2.7.0.2-2) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)

의존성에 문제가있는 것 같습니다 icedtea-netx. 그래서 icedtea-netx저절로 설치하려고했는데 오류가 아래에 나와 있습니다.

java-8-openjdk-amd64 찾고있는 것 같습니다 . 리포지토리에서 openjdk-7-jre를 설치 했으므로이를 제거하고 openjdk-8-jre와 openjdk-8-jdk를 모두 설치했습니다. 그러나이 문제는 해결되지 않았습니다 icedtea-netx.

(나는 icedtea를 사용하고 Oracle의 독점 Java가 아닌 JDK를 열고 싶습니다).

누구든지 이것을 경험하고 문제에 대한 해결책이 있습니까?

여기에 출력이 있습니다 apt-get install icedtea-netx...

apt-get install icedtea-netx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  icedtea-netx-common
The following NEW packages will be installed:
  icedtea-netx icedtea-netx-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Inst icedtea-netx-common (1.5.1-1ubuntu1 Ubuntu:14.10/utopic [all])
Inst icedtea-netx (1.5.1-1ubuntu1 Ubuntu:14.10/utopic [amd64])
Conf icedtea-netx-common (1.5.1-1ubuntu1 Ubuntu:14.10/utopic [all])
Conf icedtea-netx (1.5.1-1ubuntu1 Ubuntu:14.10/utopic [amd64])
root@PS001:/etc/apt/sources.list.d# apt-get install icedtea-netx
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  icedtea-netx-common
The following NEW packages will be installed:
  icedtea-netx icedtea-netx-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1138 kB of archives.
After this operation, 1505 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Selecting previously unselected package icedtea-netx-common.
(Reading database ... 314900 files and directories currently installed.)
Preparing to unpack .../icedtea-netx-common_1.5.1-1ubuntu1_all.deb ...
Unpacking icedtea-netx-common (1.5.1-1ubuntu1) ...
Selecting previously unselected package icedtea-netx:amd64.
Preparing to unpack .../icedtea-netx_1.5.1-1ubuntu1_amd64.deb ...
Unpacking icedtea-netx:amd64 (1.5.1-1ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.55ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for man-db (2.7.0.2-2) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@PS001:/etc/apt/sources.list.d# apt-get -f install             
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up icedtea-netx:amd64 (1.5.1-1ubuntu1) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings because link group itweb-settings is broken
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings because link group itweb-settings is broken
update-alternatives: warning: not replacing /usr/share/man/man1/itweb-settings.1.gz with a link
update-alternatives: error: alternative path /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws doesn't exist
dpkg: error processing package icedtea-netx:amd64 (--configure):
 subprocess installed post-installation script returned error exit status 2
Errors were encountered while processing:
 icedtea-netx:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)

답변:


6

다른 임시 해결 방법을 성공적으로 시도했습니다.

"업데이트 대안 : 오류 : 대체 경로 / usr / lib / jvm / java-8-openjdk-amd64 / jre / bin / javaws가 없습니다"라는 오류 메시지가 표시됩니다. 따라서 심볼릭 링크를 만든 다음 패키지 (icedtea-plugin, icedtea-7-plugin, icedtea-netx (icedtea-netx-common에는 필요하지 않음))를 하나씩 제거한 다음 icedtea-plugin을 다시 설치하십시오.

cd /usr/lib/jvm
ln -s java-1.7.0-openjdk-amd64 java-8-openjdk-amd64
apt-get purge icedtea-plugin
apt-get purge icedtea-7-plugin
apt-get purge icedtea-netx
apt-get install icedtea-plugin

자일


감사. 이것은 나를 위해 작동하는 것 같았습니다. 나는 이런 종류의 더티 픽스로 많은 것을 엉망으로 만들고 싶지 않지만 Canonical이 문제를 해결할 때까지 할 것입니다. :)
Gladen


1

0

openjdk 7과 8이 모두 설치되어 있으면 javaws와 itweb 설정을 symlink 한 다음 icedtea-plugin, icedtea-7-plugin 및 icedtea-netx를 다시 설치할 수 있습니다.

sudo ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/javaws /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/javaws$
sudo ln -s /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/itweb-settings /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/itweb-settings
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.