主题 : 无法安装官方提供的jdk6 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 119840
精华: 0
发帖: 4
金钱: 20 两
威望: 4 点
综合积分: 8 分
注册时间: 2015-10-19
最后登录: 2015-11-04
楼主  发表于: 2015-10-25 17:05

 无法安装官方提供的jdk6

virtualbox加载ubuntu 12.04sever 64bit 版本,已经装了交叉编译链和32位支持库。根据用户手册一步一步想安装jdk6,出现如下提示:
lupu@ubuntu:~/share/tools/ubuntu$ sudo chmod 755 install-devel-packages.sh
lupu@ubuntu:~/share/tools/ubuntu$ sudo ./install-devel-packages.sh
==> Executing: 'apt-get install git gnupg flex bison gperf build-essential openjdk-7-jdk zip curl libc6-dev libncurses5-dev:i386 x11proto-core-dev libx11-dev:i386 libreadline6-dev:i386 libgl1-mesa-glx-lts-quantal:i386 libgl1-mesa-dev-lts-quantal g++-multilib mingw32 tofrodos libncurses5-dev:i386 python-markdown libxml2-utils xsltproc zlib1g-dev:i386'
Reading package lists... Done
Building dependency tree      
Reading state information... Done
libgl1-mesa-glx-lts-quantal:i386 is already the newest version.
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
bison : Depends: m4
         Depends: libbison-dev (= 1:2.5.dfsg-2.1) but it is not going to be installed
build-essential : Depends: gcc (>= 4:4.4.3) but it is not going to be installed
                   Depends: g++ (>= 4:4.4.3) but it is not going to be installed
                   Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
flex : Depends: m4
        Depends: libfl-dev (= 2.5.35-10ubuntu3) but it is not going to be installed
        Recommends: gcc but it is not going to be installed or
                    c-compiler
g++-multilib : Depends: cpp (>= 4:4.6.3-1ubuntu5) but it is not going to be installed
                Depends: gcc-multilib (>= 4:4.6.3-1ubuntu5) but it is not going to be installed
                Depends: g++ (>= 4:4.6.3-1ubuntu5) but it is not going to be installed
                Depends: g++-4.6-multilib (>= 4.6.3-1~) but it is not going to be installed
git : Depends: liberror-perl but it is not going to be installed
       Depends: git-man (> 1:1.7.9.5) but it is not going to be installed
       Depends: git-man (< 1:1.7.9.5-.) but it is not going to be installed
libc6-dev : Depends: libc-dev-bin (= 2.15-0ubuntu10.12)
             Depends: linux-libc-dev but it is not going to be installed
             Recommends: gcc but it is not going to be installed or
                         c-compiler
libgl1-mesa-dev-lts-quantal : Depends: mesa-common-dev-lts-quantal (= 9.0.3-0ubuntu0.4~precise1) but it is not going to be installed
                               Depends: libdrm-dev (>= 2.4.24)
                               Depends: libx11-dev but it is not going to be installed
                               Depends: libx11-xcb-dev but it is not going to be installed
                               Depends: libxcb-glx0-dev but it is not going to be installed
                               Depends: libxdamage-dev but it is not going to be installed
                               Depends: libxext-dev but it is not going to be installed
                               Depends: libxfixes-dev but it is not going to be installed
                               Depends: libxxf86vm-dev but it is not going to be installed
                               Depends: x11proto-dri2-dev (>= 2.6) but it is not going to be installed
                               Depends: x11proto-gl-dev (>= 1.4.14) but it is not going to be installed
libgl1-mesa-glx-lts-quantal : Depends: libglapi-mesa-lts-quantal (= 9.0.3-0ubuntu0.4~precise1) but it is not going to be installed
                               Recommends: libgl1-mesa-dri-lts-quantal (>= 7.2) but it is not going to be installed
                               Recommends: libtxc-dxtn-s2tc0 but it is not going to be installed
libncurses5-dev:i386 : Depends: libtinfo-dev:i386 (= 5.9-4) but it is not going to be installed
                        Depends: libc-dev:i386
libreadline6-dev:i386 : Depends: libreadline6:i386 (= 6.2-8) but it is not going to be installed
                         Depends: libtinfo-dev:i386 but it is not going to be installed
libx11-dev:i386 : Depends: libxau-dev:i386 (>= 1:1.0.0-1) but it is not going to be installed
                   Depends: libxdmcp-dev:i386 (>= 1:1.0.0-1) but it is not going to be installed
                   Depends: x11proto-input-dev:i386
                   Depends: x11proto-kb-dev:i386
                   Depends: xtrans-dev:i386
                   Depends: libxcb1-dev:i386 but it is not going to be installed
                   Recommends: libx11-doc:i386
mingw32 : Depends: mingw32-binutils but it is not going to be installed
           Depends: mingw32-runtime (>= 3.7) but it is not going to be installed
openjdk-7-jdk : Depends: openjdk-7-jre (= 7u79-2.5.6-0ubuntu1.12.04.1) but it is not going to be installed
                 Recommends: libxt-dev but it is not going to be installed
x11proto-core-dev : Depends: xorg-sgml-doctools (>= 1:1.5) but it is not going to be installed
xsltproc : Depends: libxslt1.1 (>= 1.1.25) but it is not going to be installed
zlib1g-dev:i386 : Depends: libc6-dev:i386 but it is not going to be installed or
                            libc-dev:i386
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).


实际上用户手册跟实际目录略有不同。三层install开头的脚本都已经过更改了权限。运行,都提示有一大堆库不行。另一个虚拟系统,ubuntu 14.04 server 32bit的就很顺利
请问应该怎么处理?

我计划后续上层和驱动都会学一些。那么对于官方的资料,我用32bit的ubuntu 14.04可以吗?