机器安装的是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-getinstallia32-libs
- Readingpackagelists...Done
- Buildingdependencytree...Done
- Somepackagescouldnotbeinstalled.Thismaymeanthatyouhave
- requestedanimpossiblesituationorifyouareusingtheunstable
- distributionthatsomerequiredpackageshavenotyetbeencreated
- orbeenmovedoutofIncoming.
- Sinceyouonlyrequestedasingleoperationitisextremelylikelythat
- thepackageissimplynotinstallableandabugreportagainst
- thatpackageshouldbefiled.
- Thefollowinginformationmayhelptoresolvethesituation:
- Thefollowingpackageshaveunmetdependencies:
- ia32-libs:Depends:lib32gcc1butitisnotgoingtobeinstalled
- Depends:libc6-i386(>=2.3.6-2)butitisnotgoingtobeinstalled
- Depends:lib32stdc++6butitisnotgoingtobeinstalled
- Depends:lib32asound2butitisnotgoingtobeinstalled
- Depends:lib32ncurses5butitisnotgoingtobeinstalled
- E:Brokenpackages
因为服务器上的版本高于需要的版本,只能从服务器上下载后在本地机器上安装。
- labadmin@Dev2:~$su
- Password:
- Dev2:/home/labadmin#cdDesktop/
- Dev2:/home/labadmin/Desktop#dpkg-ilibc6_2.3.6.ds1-13etch2_amd64.deb
- dpkg-warning:downgradinglibc6from2.3.6.ds1-13etch5to2.3.6.ds1-13etch2.
- (Readingdatabase...46339filesanddirectoriescurrentlyinstalled.)
- Preparingtoreplacelibc62.3.6.ds1-13etch5(usinglibc6_2.3.6.ds1-13etch2_amd64.deb)...
- Unpackingreplacementlibc6...
- Settinguplibc6(2.3.6.ds1-13etch2)...
- Dev2:/home/labadmin/Desktop#apt-getinstall-f
- Readingpackagelists...Done
- Buildingdependencytree...Done
- Correctingdependencies...Done
- ThefollowingpackageswillbeREMOVED:
- build-essentialg++g++-4.1libc6-devlibstdc++6-4.1-dev
- 0upgraded,0newlyinstalled,5toremoveand0notupgraded.
- Needtoget0Bofarchives.
- Afterunpacking26.8MBdiskspacewillbefreed.
- Doyouwanttocontinue[Y/n]?y
- (Readingdatabase...46339filesanddirectoriescurrentlyinstalled.)
- Removingbuild-essential...
- Removingg++...
- Removingg++-4.1...
- Removinglibstdc++6-4.1-dev...
- Removinglibc6-dev...
- Dev2:/home/labadmin/Desktop#apt-getinstallia32-libs
- Readingpackagelists...Done
- Buildingdependencytree...Done
- Thefollowingextrapackageswillbeinstalled:
- lib32asound2lib32gcc1lib32ncurses5lib32stdc++6lib32z1libc6-i386
- lsb-release
- Suggestedpackages:
- ia32-libs-gtklibasound2-plugins
- Recommendedpackages:
- lsb
- ThefollowingNEWpackageswillbeinstalled:
- ia32-libslib32asound2lib32gcc1lib32ncurses5lib32stdc++6lib32z1
- libc6-i386lsb-release
- 0upgraded,8newlyinstalled,0toremoveand0notupgraded.
- Needtoget14.5MBofarchives.
- Afterunpacking36.8MBofadditionaldiskspacewillbeused.
- Doyouwanttocontinue[Y/n]?y
- Get:1http://mirror.hades.labetch/mainlsb-release3.1-23.2etch1[16.2kB]
- Get:2http://mirror.hades.labetch/mainlibc6-i3862.3.6.ds1-13etch2[3027kB]
- Get:3http://mirror.hades.labetch/mainlib32gcc11:4.1.1-21[20.9kB]
- Get:4http://mirror.hades.labetch/mainlib32z11:1.2.3-13[50.4kB]
- Get:5http://mirror.hades.labetch/mainlib32stdc++64.1.1-21[291kB]
- Get:6http://mirror.hades.labetch/mainlib32asound21.0.13-2[301kB]
- Get:7http://mirror.hades.labetch/mainlib32ncurses55.5-5[297kB]
- Get:8http://mirror.hades.labetch/mainia32-libs1.19[10.5MB]
- Fetched14.5MBin1s(10.4MB/s)
- Selectingpreviouslydeselectedpackagelsb-release.
- (Readingdatabase...45359filesanddirectoriescurrentlyinstalled.)
- Unpackinglsb-release(from.../lsb-release_3.1-23.2etch1_all.deb)...
- Selectingpreviouslydeselectedpackagelibc6-i386.
- Unpackinglibc6-i386(from.../libc6-i386_2.3.6.ds1-13etch2_amd64.deb)...
- Selectingpreviouslydeselectedpackagelib32gcc1.
- Unpackinglib32gcc1(from.../lib32gcc1_1%3a4.1.1-21_amd64.deb)...
- Selectingpreviouslydeselectedpackagelib32z1.
- Unpackinglib32z1(from.../lib32z1_1%3a1.2.3-13_amd64.deb)...
- Selectingpreviouslydeselectedpackagelib32stdc++6.
- Unpackinglib32stdc++6(from.../lib32stdc++6_4.1.1-21_amd64.deb)...
- Selectingpreviouslydeselectedpackagelib32asound2.
- Unpackinglib32asound2(from.../lib32asound2_1.0.13-2_amd64.deb)...
- Selectingpreviouslydeselectedpackagelib32ncurses5.
- Unpackinglib32ncurses5(from.../lib32ncurses5_5.5-5_amd64.deb)...
- Selectingpreviouslydeselectedpackageia32-libs.
- Unpackingia32-libs(from.../ia32-libs_1.19_amd64.deb)...
- Settinguplsb-release(3.1-23.2etch1)...
- Settinguplibc6-i386(2.3.6.ds1-13etch2)...
- Settinguplib32gcc1(4.1.1-21)...
- Settinguplib32z1(1.2.3-13)...
- Settinguplib32stdc++6(4.1.1-21)...
- Settinguplib32asound2(1.0.13-2)...
- Settinguplib32ncurses5(5.5-5)...
- Settingupia32-libs(1.19)...
- Dev2:/home/labadmin/Desktop#
这样就好了,可以运行vmware player了。
一些有用的命令行:
- apt-cachesearchpackage-name
- apt-cachepolicypackage-name
- apt-cacheshowpkgpackage-name