做个本地源,好多了……

--------------------------------------------------------------------------------
2015-04-17_01-XX -> 2015-04-17_01-59
  为运行 32 位程序 adb ,安装 32 位库:
    依赖:
      adb
      |- glibc-2.12-1.149.el6.i686.rpm
      |  nss-softokn-freebl-3.14.3-17.el6.i686.rpm
      |      (gays)
      `- libstdc++-4.4.7-11.el6.i686.rpm
        `- libgcc-4.4.7-11.el6.i686.rpm
    次序:
      cd /mnt/cdrom/Packages;
      rpm -ivh glibc-2.12-1.149.el6.i686.rpm nss-softokn-freebl-3.14.3-17.el6.i686.rpm;
      rpm -ivh libgcc-4.4.7-11.el6.i686.rpm;
      rpm -ivh libstdc++-4.4.7-11.el6.i686.rpm;
      cd -;
  结果:
    服务启动正常;可连接至手机。
--------------------------------------------------------------------------------
2015-04-17_02-1X -> 2015-04-17_14-55
  为运行 32 位程序 fusion ,安装 32 位库:
    依赖:
      fusion
      |- mesa-libGL-10.1.2-2.el6.i686.rpm (libGL.so.1)
      |  |- libX11-1.6.0-2.2.el6.i686.rpm (libX11-xcb.so.1)
      |  |  `- libxcb-1.9.1-2.el6.i686.rpm (libxcb.so.1)
      |  |    `- libXau-1.0.6-4.el6.i686.rpm (libXau.so.6)
      |  |- [-] libX11.so.6
      |  |- libXdamage-1.1.3-4.el6.i686.rpm (libXdamage.so.1)
      |  |  `- libXfixes-5.0.1-2.1.el6.i686.rpm (libXfixes.so.3)
      |  |- libXext-1.3.2-2.1.el6.i686.rpm (libXext.so.6)
      |  |- [-] libXfixes.so.3
      |  |- libXxf86vm-1.1.3-2.1.el6.i686.rpm (libXxf86vm.so.1)
      |  |- libdrm-2.4.52-4.el6.i686.rpm (libdrm.so.2)
      |  |  `- libpciaccess-0.13.3-0.1.el6.i686.rpm (libpciaccess.so.0)
      |  |- mesa-dri-drivers-10.1.2-2.el6.i686.rpm (libglapi.so.0)
      |  |  |- mesa-private-llvm-3.4-3.el6.i686.rpm (libLLVM-3.4-mesa.so)
      |  |  |- libLLVM-3.4-mesa.so(libLLVM-3.4-mesa.so)
      |  |  |- elfutils-libelf-0.158-3.2.el6.i686.rpm (libelf.so.1)
      |  |  |- [-] libelf.so.1(ELFUTILS_1.0)
      |  |  |- [-] libelf.so.1(ELFUTILS_1.5)
      |  |  |- expat-2.0.1-11.el6_2.i686.rpm (libexpat.so.1)
      |  |  |- libselinux-2.0.94-5.8.el6.i686.rpm (libselinux.so.1)
      |  |  `- mesa-dri-filesystem-10.1.2-2.el6.i686.rpm
      |  |        (mesa-dri-filesystem(x86-32))
      |  |- [-] libselinux.so.1
      |  |- [-] libxcb-dri2.so.0
      |  |- [-] libxcb-glx.so.0
      |  |- [-] libxcb.so.1
      |  `- [-] mesa-dri-drivers(x86-32) = 10.1.2-2.el6
      |- mesa-libGLU-10.1.2-2.el6.i686.rpm (libGLU.so.1)
      `- gtk2-2.24.23-6.el6.i686.rpm (libgtk-x11-2.0.so.0)
        |- libXcomposite-0.4.3-4.el6.i686.rpm (libXcomposite.so.1)
        |- libXcursor-1.1.14-2.1.el6.i686.rpm (libXcursor.so.1)
        |  `- libXrender-0.9.8-2.1.el6.i686.rpm (libXrender.so.1)
        |- libXi-1.7.2-2.2.el6.i686.rpm (libXi.so.6)
        |- libXinerama-1.1.3-2.1.el6.i686.rpm (libXinerama.so.1)
        |- libXrandr-1.4.1-2.1.el6.i686.rpm (libXrandr.so.2)
        |- [-] libXrender.so.1
        |- atk-1.30.0-1.el6.i686.rpm (libatk-1.0.so.0)
        |  |- glib2-2.28.8-4.el6.i686.rpm (libglib-2.0.so.0)
        |  |  gamin-0.1.10-9.el6.i686.rpm (libfam.so.0)
        |  |  |    (gays)
        |  |  |- zlib-1.2.3-29.el6.i686.rpm (libz.so.1)
        |  |  `- [-] libz.so.1(ZLIB_1.2.2)
        |  `- [-] libgobject-2.0.so.0
        |- cairo-1.8.8-3.1.el6.i686.rpm (libcairo.so.2)
        |  |- fontconfig-2.8.0-5.el6.i686.rpm (libfontconfig.so.1)
        |  |  `- libfreetype.so.6
        |  |- libfreetype.so.6
        |  |- libpixman-1.so.0
        |  |- libpng12.so.0
        |  `- libpng12.so.0(PNG12_0)
        |- libcups.so.2
        |- libfontconfig.so.1
        |- libfreetype.so.6
        |- libgdk_pixbuf-2.0.so.0
        |- [-] libgio-2.0.so.0
        |- [-] libglib-2.0.so.0
        |- [-] libgmodule-2.0.so.0
        |- [-] libgobject-2.0.so.0
        |- [-] libgthread-2.0.so.0
        |- libpango-1.0.so.0
        |- libpangocairo-1.0.so.0
        `- libpangoft2-1.0.so.0
    次序:
      cd /mnt/cdrom/Packages;
      rpm -ivh libXau-1.0.6-4.el6.i686.rpm;
      rpm -ivh libxcb-1.9.1-2.el6.i686.rpm;
      rpm -ivh libX11-1.6.0-2.2.el6.i686.rpm;
      rpm -ivh libXfixes-5.0.1-2.1.el6.i686.rpm;
      rpm -ivh libXdamage-1.1.3-4.el6.i686.rpm;
      rpm -ivh libXext-1.3.2-2.1.el6.i686.rpm;
      rpm -ivh libXxf86vm-1.1.3-2.1.el6.i686.rpm;
      rpm -ivh libpciaccess-0.13.3-0.1.el6.i686.rpm;
      rpm -ivh libdrm-2.4.52-4.el6.i686.rpm;
      rpm -ivh mesa-private-llvm-3.4-3.el6.i686.rpm;
      rpm -ivh elfutils-libelf-0.158-3.2.el6.i686.rpm;
      rpm -ivh expat-2.0.1-11.el6_2.i686.rpm;
      rpm -ivh libselinux-2.0.94-5.8.el6.i686.rpm;
      rpm -ivh mesa-dri-filesystem-10.1.2-2.el6.i686.rpm;
      rpm -ivh mesa-dri-drivers-10.1.2-2.el6.i686.rpm;
      rpm -ivh mesa-libGL-10.1.2-2.el6.i686.rpm;
      rpm -ivh mesa-libGLU-10.1.2-2.el6.i686.rpm;
      rpm -ivh libXcomposite-0.4.3-4.el6.i686.rpm;
      rpm -ivh libXrender-0.9.8-2.1.el6.i686.rpm;
      rpm -ivh libXcursor-1.1.14-2.1.el6.i686.rpm;
      rpm -ivh libXi-1.7.2-2.2.el6.i686.rpm;
      rpm -ivh libXinerama-1.1.3-2.1.el6.i686.rpm;
      rpm -ivh libXrandr-1.4.1-2.1.el6.i686.rpm;
      rpm -ivh zlib-1.2.3-29.el6.i686.rpm;
      rpm -ivh glib2-2.28.8-4.el6.i686.rpm gamin-0.1.10-9.el6.i686.rpm;
      rpm -ivh atk-1.30.0-1.el6.i686.rpm;
      cd -;
  放弃,已安装的包全部卸载:
    rpm -e libXau-1.0.6-4.el6.i686 libxcb-1.9.1-2.el6.i686 libX11-1.6.0-2.2.el6.i686 libXfixes-5.0.1-2.1.el6.i686 libXdamage-1.1.3-4.el6.i686 libXext-1.3.2-2.1.el6.i686 libXxf86vm-1.1.3-2.1.el6.i686 libpciaccess-0.13.3-0.1.el6.i686 libdrm-2.4.52-4.el6.i686 mesa-private-llvm-3.4-3.el6.i686 elfutils-libelf-0.158-3.2.el6.i686 expat-2.0.1-11.el6_2.i686 libselinux-2.0.94-5.8.el6.i686 mesa-dri-filesystem-10.1.2-2.el6.i686 mesa-dri-drivers-10.1.2-2.el6.i686 mesa-libGL-10.1.2-2.el6.i686 mesa-libGLU-10.1.2-2.el6.i686 libXcomposite-0.4.3-4.el6.i686 libXrender-0.9.8-2.1.el6.i686 libXcursor-1.1.14-2.1.el6.i686 libXi-1.7.2-2.2.el6.i686 libXinerama-1.1.3-2.1.el6.i686 libXrandr-1.4.1-2.1.el6.i686 zlib-1.2.3-29.el6.i686 glib2-2.28.8-4.el6.i686 gamin-0.1.10-9.el6.i686 atk-1.30.0-1.el6.i686;
--------------------------------------------------------------------------------
2015-04-17_14-55 -> 2015-04-17_15-04
  配置本地源“/etc/yum.repos.d/CentOS-Media.repo”,
  在“[c6-media]”源“baseurl”项中添加路径“file:///mnt/cdrom/”:
    //--------------------------------------------------------\\
    # CentOS-Media.repo
    #
    # This repo can be used with mounted DVD media, verify the mount point for
    # CentOS-6. You can use this repo and yum to install items directly off the
    # DVD ISO that we release.
    #
    # To use this repo, put in your DVD and use it with the other repos too:
    # yum --enablerepo=c6-media [command]
    # 
    # or for ONLY the media repo, do this:
    #
    # yum --disablerepo=\* --enablerepo=c6-media [command]
    
    [c6-media]
    name=CentOS-$releasever - Media
    baseurl=file:///media/CentOS/
      file:///media/cdrom/
      file:///media/cdrecorder/
      file:///mnt/cdrom/
    gpgcheck=1
    enabled=0
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

    \\--------------------------------------------------------//
--------------------------------------------------------------------------------
2015-04-17_15-04 -> 2015-04-17_15-37
  为运行 32 位程序 fusion ,安装 32 位库:
    ------------------------------------------------------------
    fusion: error while loading shared libraries: libGL.so.1: cannot open shared object file: No such file or directory
    ------------------------------------------------------------
    [root@localhost ~]# yum --disablerepo=* --enablerepo=c6-media install mesa-libGL-10.1.2-2.el6.i686;
    ……

    已安装:
    mesa-libGL.i686 0:10.1.2-2.el6

    作为依赖被安装:
    elfutils-libelf.i686 0:0.158-3.2.el6 expat.i686 0:2.0.1-11.el6_2
    libX11.i686 0:1.6.0-2.2.el6      libXau.i686 0:1.0.6-4.el6
    libXdamage.i686 0:1.1.3-4.el6     libXext.i686 0:1.3.2-2.1.el6
    libXfixes.i686 0:5.0.1-2.1.el6    libXxf86vm.i686 0:1.1.3-2.1.el6
    libdrm.i686 0:2.4.52-4.el6      libpciaccess.i686 0:0.13.3-0.1.el6
    libselinux.i686 0:2.0.94-5.8.el6   libxcb.i686 0:1.9.1-2.el6
    mesa-dri-drivers.i686 0:10.1.2-2.el6 mesa-dri-filesystem.i686 0:10.1.2-2.el6
    mesa-private-llvm.i686 0:3.4-3.el6

    完毕!
    [root@localhost ~]#
    ------------------------------------------------------------
    fusion: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory
    ------------------------------------------------------------
    [root@localhost ~]# yum --disablerepo=* --enablerepo=c6-media install mesa-libGLU-10.1.2-2.el6.i686;
    ……

    已安装:
    mesa-libGLU.i686 0:10.1.2-2.el6

    完毕!
    [root@localhost ~]#
    ------------------------------------------------------------
    fusion: error while loading shared libraries: libgtk-x11-2.0.so.0: cannot open shared object file: No such file or directory
    ------------------------------------------------------------
    [root@localhost ~]# yum --disablerepo=* --enablerepo=c6-media install gtk2-2.24.23-6.el6.i686;
    ……

    已安装:
    gtk2.i686 0:2.24.23-6.el6

    作为依赖被安装:
    atk.i686 0:1.30.0-1.el6         audit-libs.i686 0:2.3.7-5.el6
    avahi-libs.i686 0:0.6.25-15.el6     cairo.i686 0:1.8.8-3.1.el6
    cups-libs.i686 1:1.4.2-67.el6      dbus-libs.i686 1:1.2.24-7.el6_3
    fontconfig.i686 0:2.8.0-5.el6      freetype.i686 0:2.3.11-14.el6_3.1
    gamin.i686 0:0.1.10-9.el6        gdk-pixbuf2.i686 0:2.24.1-5.el6
    glib2.i686 0:2.28.8-4.el6        gnutls.i686 0:2.8.5-14.el6_5
    jasper-libs.i686 0:1.900.1-15.el6_1.1  keyutils-libs.i686 0:1.4-5.el6
    krb5-libs.i686 0:1.10.3-33.el6      libXcomposite.i686 0:0.4.3-4.el6
    libXcursor.i686 0:1.1.14-2.1.el6     libXft.i686 0:2.3.1-2.el6
    libXi.i686 0:1.7.2-2.2.el6        libXinerama.i686 0:1.1.3-2.1.el6
    libXrandr.i686 0:1.4.1-2.1.el6      libXrender.i686 0:0.9.8-2.1.el6
    libcom_err.i686 0:1.41.12-21.el6     libgcrypt.i686 0:1.4.5-11.el6_4
    libgpg-error.i686 0:1.7-4.el6      libjpeg-turbo.i686 0:1.2.1-3.el6_5
    libpng.i686 2:1.2.49-1.el6_2       libtasn1.i686 0:2.3-6.el6_5
    libthai.i686 0:0.1.12-3.el6       libtiff.i686 0:3.9.4-10.el6_5
    pango.i686 0:1.28.1-10.el6        pixman.i686 0:0.32.4-4.el6
    zlib.i686 0:1.2.3-29.el6

    完毕!
    [root@localhost ~]#
    ------------------------------------------------------------
    fusion: error while loading shared libraries: libasound.so.2: cannot open shared object file: No such file or directory
    ------------------------------------------------------------
    [root@localhost ~]# yum --disablerepo=* --enablerepo=c6-media install alsa-lib-1.0.22-3.el6.i686;
    ……

    已安装:
    alsa-lib.i686 0:1.0.22-3.el6

    完毕!
    [root@localhost ~]#
    ------------------------------------------------------------
    fusion: error while loading shared libraries: libSM.so.6: cannot open shared object file: No such file or directory
    ------------------------------------------------------------
    [root@localhost ~]# yum --disablerepo=* --enablerepo=c6-media install libSM-1.2.1-2.el6.i686;
    ……

    已安装:
    libSM.i686 0:1.2.1-2.el6

    作为依赖被安装:
    libICE.i686 0:1.0.6-1.el6      libuuid.i686 0:2.17.2-12.18.el6

    完毕!
    [root@localhost ~]#
    Couldn't dlopen libudev.so.1 or libudev.so.0, driver detection may be broken.
    ------------------------------------------------------------
    fusion: loader.c:129: asserted_dlsym: Assertion `result' failed.
    ------------------------------------------------------------
    [root@localhost ~]# yum --disablerepo=* --enablerepo=c6-media install libudev-147-2.57.el6.i686;
    ……

    已安装:
    libudev.i686 0:147-2.57.el6

    完毕!
    [root@localhost ~]#
  结果:
    fusion 试运行成功,图像正常,声音受控。
--------------------------------------------------------------------------------

你可能感兴趣的:(做个本地源,好多了……)