机器安装的是Debian 4.0r3,内核2.6.18-6,重新编译了vmware的内核module(会单独写一篇文章),在安装完毕其它包之后,运行提示错误:Error while powering on: Failed to connect to peer process.
搜索了一下,因为安装的amd64位的版本,所以需要安装一个ia32-libs的包,以支持32位的系统。
这个包似乎不在安装盘里面,从服务器上安装提示版本不对。
- Dev2:/home/labadmin# apt-get install ia32-libs
- Reading package lists... Done
- Building dependency tree... Done
- Some packages could not be installed. This may mean that you have
- requested an impossible situation or if you are using the unstable
- distribution that some required packages have not yet been created
- or been moved out of Incoming.
- Since you only requested a single operation it is extremely likely that
- the package is simply not installable and a bug report against
- that package should be filed.
- The following information may help to resolve the situation:
- The following packages have unmet dependencies:
- ia32-libs: Depends: lib32gcc1 but it is not going to be installed
- Depends: libc6-i386 (>= 2.3.6-2) but it is not going to be installed
- Depends: lib32stdc++6 but it is not going to be installed
- Depends: lib32asound2 but it is not going to be installed
- Depends: lib32ncurses5 but it is not going to be installed
- E: Broken packages
因为服务器上的版本高于需要的版本,只能从服务器上下载后在本地机器上安装。
- labadmin@Dev2:~$ su
- Password:
- Dev2:/home/labadmin# cd Desktop/
- Dev2:/home/labadmin/Desktop# dpkg -i libc6_2.3.6.ds1-13etch2_amd64.deb
- dpkg - warning: downgrading libc6 from 2.3.6.ds1-13etch5 to 2.3.6.ds1-13etch2.
- (Reading database ... 46339 files and directories currently installed.)
- Preparing to replace libc6 2.3.6.ds1-13etch5 (using libc6_2.3.6.ds1-13etch2_amd64.deb) ...
- Unpacking replacement libc6 ...
- Setting up libc6 (2.3.6.ds1-13etch2) ...
- Dev2:/home/labadmin/Desktop# apt-get install -f
- Reading package lists... Done
- Building dependency tree... Done
- Correcting dependencies... Done
- The following packages will be REMOVED:
- build-essential g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
- 0 upgraded, 0 newly installed, 5 to remove and 0 not upgraded.
- Need to get 0B of archives.
- After unpacking 26.8MB disk space will be freed.
- Do you want to continue [Y/n]? y
- (Reading database ... 46339 files and directories currently installed.)
- Removing build-essential ...
- Removing g++ ...
- Removing g++-4.1 ...
- Removing libstdc++6-4.1-dev ...
- Removing libc6-dev ...
- Dev2:/home/labadmin/Desktop# apt-get install ia32-libs
- Reading package lists... Done
- Building dependency tree... Done
- The following extra packages will be installed:
- lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1 libc6-i386
- lsb-release
- Suggested packages:
- ia32-libs-gtk libasound2-plugins
- Recommended packages:
- lsb
- The following NEW packages will be installed:
- ia32-libs lib32asound2 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32z1
- libc6-i386 lsb-release
- 0 upgraded, 8 newly installed, 0 to remove and 0 not upgraded.
- Need to get 14.5MB of archives.
- After unpacking 36.8MB of additional disk space will be used.
- Do you want to continue [Y/n]? y
- Get:1 http://mirror.hades.lab etch/main lsb-release 3.1-23.2etch1 [16.2kB]
- Get:2 http://mirror.hades.lab etch/main libc6-i386 2.3.6.ds1-13etch2 [3027kB]
- Get:3 http://mirror.hades.lab etch/main lib32gcc1 1:4.1.1-21 [20.9kB]
- Get:4 http://mirror.hades.lab etch/main lib32z1 1:1.2.3-13 [50.4kB]
- Get:5 http://mirror.hades.lab etch/main lib32stdc++6 4.1.1-21 [291kB]
- Get:6 http://mirror.hades.lab etch/main lib32asound2 1.0.13-2 [301kB]
- Get:7 http://mirror.hades.lab etch/main lib32ncurses5 5.5-5 [297kB]
- Get:8 http://mirror.hades.lab etch/main ia32-libs 1.19 [10.5MB]
- Fetched 14.5MB in 1s (10.4MB/s)
- Selecting previously deselected package lsb-release.
- (Reading database ... 45359 files and directories currently installed.)
- Unpacking lsb-release (from .../lsb-release_3.1-23.2etch1_all.deb) ...
- Selecting previously deselected package libc6-i386.
- Unpacking libc6-i386 (from .../libc6-i386_2.3.6.ds1-13etch2_amd64.deb) ...
- Selecting previously deselected package lib32gcc1.
- Unpacking lib32gcc1 (from .../lib32gcc1_1%3a4.1.1-21_amd64.deb) ...
- Selecting previously deselected package lib32z1.
- Unpacking lib32z1 (from .../lib32z1_1%3a1.2.3-13_amd64.deb) ...
- Selecting previously deselected package lib32stdc++6.
- Unpacking lib32stdc++6 (from .../lib32stdc++6_4.1.1-21_amd64.deb) ...
- Selecting previously deselected package lib32asound2.
- Unpacking lib32asound2 (from .../lib32asound2_1.0.13-2_amd64.deb) ...
- Selecting previously deselected package lib32ncurses5.
- Unpacking lib32ncurses5 (from .../lib32ncurses5_5.5-5_amd64.deb) ...
- Selecting previously deselected package ia32-libs.
- Unpacking ia32-libs (from .../ia32-libs_1.19_amd64.deb) ...
- Setting up lsb-release (3.1-23.2etch1) ...
- Setting up libc6-i386 (2.3.6.ds1-13etch2) ...
- Setting up lib32gcc1 (4.1.1-21) ...
- Setting up lib32z1 (1.2.3-13) ...
- Setting up lib32stdc++6 (4.1.1-21) ...
- Setting up lib32asound2 (1.0.13-2) ...
- Setting up lib32ncurses5 (5.5-5) ...
- Setting up ia32-libs (1.19) ...
- Dev2:/home/labadmin/Desktop#
这样就好了,可以运行vmware player了。
一些有用的命令行:
- apt-cache search package-name
- apt-cache policy package-name
- apt-cache showpkg package-name