机器安装的是Debian 4.0r3,内核2.6.18-6,重新编译了vmware的内核module(会单独写一篇文章),在安装完毕其它包之后,运行提示错误:Error while powering on: Failed to connect to peer process.

搜索了一下,因为安装的amd64位的版本,所以需要安装一个ia32-libs的包,以支持32位的系统。

这个包似乎不在安装盘里面,从服务器上安装提示版本不对。



  1. Dev2:/home/labadmin# apt-get install ia32-libs
  2. Reading package lists... Done
  3. Building dependency tree... Done
  4. Some packages could not be installed. This may mean that you have
  5. requested an impossible situation or if you are using the unstable
  6. distribution that some required packages have not yet been created
  7. or been moved out of Incoming.
  8. Since you only requested a single operation it is extremely likely that
  9. the package is simply not installable and a bug report against
  10. that package should be filed.
  11. The following information may help to resolve the situation:
  12. The following packages have unmet dependencies:
  13.   ia32-libs: Depends: lib32gcc1 but it is not going to be installed
  14.              Depends: libc6-i386 (>= 2.3.6-2) but it is not going to be installed
  15.              Depends: lib32stdc++6 but it is not going to be installed
  16.              Depends: lib32asound2 but it is not going to be installed
  17.              Depends: lib32ncurses5 but it is not going to be installed
  18. E: Broken packages


因为服务器上的版本高于需要的版本,只能从服务器上下载后在本地机器上安装。



  1. labadmin@Dev2:~$ su
  2. Password:
  3. Dev2:/home/labadmin# cd Desktop/
  4. Dev2:/home/labadmin/Desktop# dpkg -i libc6_2.3.6.ds1-13etch2_amd64.deb
  5. dpkg - warning: downgrading libc6 from 2.3.6.ds1-13etch5 to 2.3.6.ds1-13etch2.
  6. (Reading database ... 46339 files and directories currently installed.)
  7. Preparing to replace libc6 2.3.6.ds1-13etch5 (using libc6_2.3.6.ds1-13etch2_amd64.deb) ...
  8. Unpacking replacement libc6 ...
  9. Setting up libc6 (2.3.6.ds1-13etch2) ...
  10. Dev2:/home/labadmin/Desktop# apt-get install -f
  11. Reading package lists... Done
  12. Building dependency tree... Done
  13. Correcting dependencies... Done
  14. The following packages will be REMOVED:
  15.   build-essential g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
  16. 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
  17. Need to get 0B of archives.
  18. After unpacking 26.8MB disk space will be freed.
  19. Do you want to continue [Y/n]? y
  20. (Reading database ... 46339 files and directories currently installed.)
  21. Removing build-essential ...
  22. Removing g++ ...
  23. Removing g++-4.1 ...
  24. Removing libstdc++6-4.1-dev ...
  25. Removing libc6-dev ...
  26. Dev2:/home/labadmin/Desktop# apt-get install ia32-libs
  27. Reading package lists... Done
  28. Building dependency tree... Done
  29. The following extra packages will be installed:
  30.   lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386
  31.   lsb-release
  32. Suggested packages:
  33.   ia32-libs-gtk libasound2-plugins
  34. Recommended packages:
  35.   lsb
  36. The following NEW packages will be installed:
  37.   ia32-libs lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1
  38.   libc6-i386 lsb-release
  39. 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
  40. Need to get 14.5MB of archives.
  41. After unpacking 36.8MB of additional disk space will be used.
  42. Do you want to continue [Y/n]? y
  43. Get:1 http://mirror.hades.lab etch/main lsb-release 3.1-23.2etch1 [16.2kB]
  44. Get:2 http://mirror.hades.lab etch/main libc6-i386 2.3.6.ds1-13etch2 [3027kB]
  45. Get:3 http://mirror.hades.lab etch/main lib32gcc1 1:4.1.1-21 [20.9kB]
  46. Get:4 http://mirror.hades.lab etch/main lib32z1 1:1.2.3-13 [50.4kB]
  47. Get:5 http://mirror.hades.lab etch/main lib32stdc++6 4.1.1-21 [291kB]
  48. Get:6 http://mirror.hades.lab etch/main lib32asound2 1.0.13-2 [301kB]
  49. Get:7 http://mirror.hades.lab etch/main lib32ncurses5 5.5-5 [297kB]
  50. Get:8 http://mirror.hades.lab etch/main ia32-libs 1.19 [10.5MB]
  51. Fetched 14.5MB in 1s (10.4MB/s)
  52. Selecting previously deselected package lsb-release.
  53. (Reading database ... 45359 files and directories currently installed.)
  54. Unpacking lsb-release (from .../lsb-release_3.1-23.2etch1_all.deb) ...
  55. Selecting previously deselected package libc6-i386.
  56. Unpacking libc6-i386 (from .../libc6-i386_2.3.6.ds1-13etch2_amd64.deb) ...
  57. Selecting previously deselected package lib32gcc1.
  58. Unpacking lib32gcc1 (from .../lib32gcc1_1%3a4.1.1-21_amd64.deb) ...
  59. Selecting previously deselected package lib32z1.
  60. Unpacking lib32z1 (from .../lib32z1_1%3a1.2.3-13_amd64.deb) ...
  61. Selecting previously deselected package lib32stdc++6.
  62. Unpacking lib32stdc++6 (from .../lib32stdc++6_4.1.1-21_amd64.deb) ...
  63. Selecting previously deselected package lib32asound2.
  64. Unpacking lib32asound2 (from .../lib32asound2_1.0.13-2_amd64.deb) ...
  65. Selecting previously deselected package lib32ncurses5.
  66. Unpacking lib32ncurses5 (from .../lib32ncurses5_5.5-5_amd64.deb) ...
  67. Selecting previously deselected package ia32-libs.
  68. Unpacking ia32-libs (from .../ia32-libs_1.19_amd64.deb) ...
  69. Setting up lsb-release (3.1-23.2etch1) ...
  70. Setting up libc6-i386 (2.3.6.ds1-13etch2) ...
  71. Setting up lib32gcc1 (4.1.1-21) ...
  72. Setting up lib32z1 (1.2.3-13) ...
  73. Setting up lib32stdc++6 (4.1.1-21) ...
  74. Setting up lib32asound2 (1.0.13-2) ...
  75. Setting up lib32ncurses5 (5.5-5) ...
  76. Setting up ia32-libs (1.19) ...
  77. Dev2:/home/labadmin/Desktop#


这样就好了,可以运行vmware player了。

一些有用的命令行:



  1. apt-cache search package-name
  2. apt-cache policy package-name
  3. apt-cache showpkg package-name