装 vmtools的 问题,高手看看

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
79468636
帖子: 50
注册时间: 2007-05-10 20:18

装 vmtools的 问题,高手看看

#1

帖子 79468636 » 2007-06-01 15:52

装 vmtools的 问题,高手看看

7,04的中断显示
用vm5,5,0在xp下装ubuntu7,04

root@ubuntu:/tmp# apt-get install gcc
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
gcc 已经是最新的版本了。
共升级了 0 个软件包,新安装了 0 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
root@ubuntu:/tmp# cd vmware-tools-distrib/
root@ubuntu:/tmp/vmware-tools-distrib# ./vmware-install.pl
A previous installation of VMware software has been detected.

The previous installation was made by the tar installer (version 3).

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Tools.

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:-ne done


The removal of VMware Tools 5.5.0 build-18463 for Linux completed successfully.
Thank you for having tried this software.

Installing the content of the package.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is going
to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

The installation of VMware Tools 5.5.0 build-18463 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:-ne done

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
79468636
帖子: 50
注册时间: 2007-05-10 20:18

#2

帖子 79468636 » 2007-06-01 16:16

konge@ubuntu:~$ sudo apt-get install build-essential linux-headers-uname -r
E: 未知的命令行选项“r”[来自 -r]
konge@ubuntu:~$ sudo apt-get install build-essential linux-headers-Ţ
konge@ubuntu:~$ uname -r
2.6.20-16-generic
konge@ubuntu:~$ sudo apt-get install build-essential linux-headers-2.6.20-16-generic
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
linux-headers-2.6.20-16-generic 已经是最新的版本了。
将会安装下列额外的软件包:
dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-libc-dev
建议安装的软件包:
debian-keyring gcc-4.1-doc lib32stdc++6 glibc-doc manpages-dev
libstdc++6-4.1-doc
下列【新】软件包将被安装:
build-essential dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
linux-libc-dev
共升级了 0 个软件包,新安装了 7 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
需要下载 667kB/7729kB 的软件包。
解压缩后会消耗掉 32.9MB 的额外空间。
您希望继续执行吗?[Y/n]
更换介质:请把标有
“Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418)”
的碟片插入驱动器“/cdrom/”再按回车键

获取:1 http://security.ubuntu.com feisty-security/main linux-libc-dev 2.6.20-16.28 [667kB]
10% [1 linux-libc-dev 68730/667kB 10%]
10% [1 linux-libc-dev 68730/667kB 10%] 11.1kB/s 54s
10% [1 linux-libc-dev 68730/667kB 10%] 11.1kB/s 54s
10% [1 linux-libc-dev 68730/667kB 10%] 11.1kB/s 54s
10% [1 linux-libc-dev 68730/667kB 10%] 11.1kB/s 54s
10% [1 linux-libc-dev 68730/667kB 10%] 11.1kB/s 54s







10% [1 linux-libc-dev 68730/667kB 10%] 11.1kB/s 54s













10% [1 linux-libc-dev 68730/667kB 10%] 11.1kB/s 54s


10% [1 linux-libc-dev 68730/667kB 10%]
10% [1 linux-libc-dev 68730/667kB 10%]
10% [1 linux-libc-dev 68730/667kB 10%]
10% [1 linux-libc-dev 68730/667kB 10%]
10% [1 linux-libc-dev 68730/667kB 10%]
10% [1 linux-libc-dev 68730/667kB 10%]
konge@ubuntu:~$ sudo apt-get install build-essential linux-headers-2.6.20-16-generic
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
linux-headers-2.6.20-16-generic 已经是最新的版本了。
将会安装下列额外的软件包:
dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-libc-dev
建议安装的软件包:
debian-keyring gcc-4.1-doc lib32stdc++6 glibc-doc manpages-dev
libstdc++6-4.1-doc
下列【新】软件包将被安装:
build-essential dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
linux-libc-dev
共升级了 0 个软件包,新安装了 7 个软件包,要卸载 0 个软件包,有 0 个软件未被升级。
需要下载 667kB/7729kB 的软件包。
解压缩后会消耗掉 32.9MB 的额外空间。
您希望继续执行吗?[Y/n]y
获取:1 http://security.ubuntu.com feisty-security/main linux-libc-dev 2.6.20-16.28 [667kB]
下载 598kB,耗时 2m17s (4346B/s)
无法下载 cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418)]/pool/main/g/glibc/libc6-dev_2.5-0ubuntu14_amd64.deb MD5 校验和不符
无法下载 cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418)]/pool/main/g/gcc-4.1/libstdc++6-4.1-dev_4.1.2-0ubuntu4_amd64.deb MD5 校验和不符
无法下载 cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418)]/pool/main/g/gcc-4.1/g++-4.1_4.1.2-0ubuntu4_amd64.deb MD5 校验和不符
无法下载 cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418)]/pool/main/g/gcc-defaults/g++_4.1.2-1ubuntu1_amd64.deb MD5 校验和不符
无法下载 cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418)]/pool/main/d/dpkg/dpkg-dev_1.13.24ubuntu6_all.deb MD5 校验和不符
无法下载 cdrom:[Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418)]/pool/main/b/build-essential/build-essential_11.3_amd64.deb MD5 校验和不符
E: 有几个软件包无法下载,您可以运行 apt-get update 或者加上 --fix-missing 的选项再试试?
konge@ubuntu:~$ sudo apt-get update
忽略 cdrom://Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418) feisty/main Translation-zh_CN
忽略 cdrom://Ubuntu 7.04 _Feisty Fawn_ - Release amd64 (20070418) feisty/restricted Translation-zh_CN
获取:1 http://ubuntu.cn99.com feisty Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty/restricted Translation-zh_CN
命中 http://ubuntu.cn99.com feisty/universe Translation-zh_CN
命中 http://ubuntu.cn99.com feisty/multiverse Translation-zh_CN
获取:2 http://ubuntu.cn99.com feisty-security Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-security/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-security/restricted Translation-zh_CN
获取:3 http://security.ubuntu.com feisty-security Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-security/universe Translation-zh_CN
获取:4 http://cn.archive.ubuntu.com feisty Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-security/multiverse Translation-zh_CN
获取:5 http://ubuntu.cn99.com feisty-updates Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-updates/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-updates/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-updates/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-updates/multiverse Translation-zh_CN
忽略 http://cn.archive.ubuntu.com feisty/main Translation-zh_CN
获取:6 http://ubuntu.cn99.com feisty-proposed Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-proposed/main Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-proposed/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-proposed/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-proposed/multiverse Translation-zh_CN
获取:7 http://ubuntu.cn99.com feisty-backports Release.gpg [191B]
忽略 http://ubuntu.cn99.com feisty-backports/main Translation-zh_CN
忽略 http://cn.archive.ubuntu.com feisty/restricted Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-backports/restricted Translation-zh_CN
忽略 http://security.ubuntu.com feisty-security/main Translation-zh_CN
忽略 http://security.ubuntu.com feisty-security/restricted Translation-zh_CN
忽略 http://security.ubuntu.com feisty-security/universe Translation-zh_CN
命中 http://cn.archive.ubuntu.com feisty/universe Translation-zh_CN
忽略 http://security.ubuntu.com feisty-security/multiverse Translation-zh_CN
命中 http://cn.archive.ubuntu.com feisty/multiverse Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-backports/universe Translation-zh_CN
忽略 http://ubuntu.cn99.com feisty-backports/multiverse Translation-zh_CN
命中 http://ubuntu.cn99.com feisty Release
获取:8 http://cn.archive.ubuntu.com feisty-updates Release.gpg [191B]
忽略 http://cn.archive.ubuntu.com feisty-updates/main Translation-zh_CN
获取:9 http://ubuntu.cn99.com feisty-security Release [50.9kB]
获取:10 http://security.ubuntu.com feisty-security Release [50.9kB]
忽略 http://cn.archive.ubuntu.com feisty-updates/restricted Translation-zh_CN
获取:11 http://ubuntu.cn99.com feisty-updates Release [32.4kB]
命中 http://ubuntu.cn99.com feisty-proposed Release
命中 http://cn.archive.ubuntu.com feisty Release
命中 http://ubuntu.cn99.com feisty-backports Release
命中 http://ubuntu.cn99.com feisty/main Packages
命中 http://ubuntu.cn99.com feisty/restricted Packages
命中 http://ubuntu.cn99.com feisty/universe Packages
命中 http://ubuntu.cn99.com feisty/multiverse Packages
命中 http://ubuntu.cn99.com feisty/main Sources
命中 http://ubuntu.cn99.com feisty/restricted Sources
命中 http://ubuntu.cn99.com feisty/universe Sources
获取:12 http://security.ubuntu.com feisty-security/main Packages [26.5kB]
命中 http://ubuntu.cn99.com feisty/multiverse Sources
获取:13 http://security.ubuntu.com feisty-security/restricted Packages [6000B]
获取:14 http://cn.archive.ubuntu.com feisty-updates Release [32.4kB]
获取:15 http://security.ubuntu.com feisty-security/main Sources [5122B]
获取:16 http://ubuntu.cn99.com feisty-security/main Packages [26.5kB]
获取:17 http://ubuntu.cn99.com feisty-security/restricted Packages [6000B]
获取:18 http://security.ubuntu.com feisty-security/restricted Sources [955B]
获取:19 http://ubuntu.cn99.com feisty-security/universe Packages [10.6kB]
获取:20 http://security.ubuntu.com feisty-security/universe Packages [10.6kB]
获取:21 http://ubuntu.cn99.com feisty-security/multiverse Packages [3385B]
获取:22 http://ubuntu.cn99.com feisty-security/main Sources [5122B]
获取:23 http://ubuntu.cn99.com feisty-security/restricted Sources [955B]
获取:24 http://ubuntu.cn99.com feisty-security/universe Sources [1580B]
获取:25 http://ubuntu.cn99.com feisty-security/multiverse Sources [14B]
获取:26 http://security.ubuntu.com feisty-security/universe Sources [1580B]
获取:27 http://ubuntu.cn99.com feisty-updates/main Packages [21.5kB]
命中 http://cn.archive.ubuntu.com feisty/main Packages
获取:28 http://ubuntu.cn99.com feisty-updates/restricted Packages [14B]
获取:29 http://ubuntu.cn99.com feisty-updates/universe Packages [1607B]
获取:30 http://ubuntu.cn99.com feisty-updates/multiverse Packages [712B]
获取:31 http://ubuntu.cn99.com feisty-updates/main Sources [5164B]
获取:32 http://ubuntu.cn99.com feisty-updates/restricted Sources [14B]
命中 http://cn.archive.ubuntu.com feisty/restricted Packages
获取:33 http://ubuntu.cn99.com feisty-updates/universe Sources [14B]
获取:34 http://ubuntu.cn99.com feisty-updates/multiverse Sources [417B]
获取:35 http://security.ubuntu.com feisty-security/multiverse Packages [3385B]
命中 http://ubuntu.cn99.com feisty-proposed/main Packages
命中 http://ubuntu.cn99.com feisty-proposed/restricted Packages
命中 http://cn.archive.ubuntu.com feisty/main Sources
命中 http://ubuntu.cn99.com feisty-proposed/universe Packages
命中 http://ubuntu.cn99.com feisty-proposed/multiverse Packages
获取:36 http://security.ubuntu.com feisty-security/multiverse Sources [14B]
命中 http://ubuntu.cn99.com feisty-proposed/main Sources
命中 http://ubuntu.cn99.com feisty-proposed/restricted Sources
命中 http://cn.archive.ubuntu.com feisty/restricted Sources
命中 http://ubuntu.cn99.com feisty-proposed/universe Sources
命中 http://ubuntu.cn99.com feisty-proposed/multiverse Sources
命中 http://ubuntu.cn99.com feisty-backports/main Packages
命中 http://ubuntu.cn99.com feisty-backports/restricted Packages
命中 http://ubuntu.cn99.com feisty-backports/universe Packages
命中 http://cn.archive.ubuntu.com feisty/universe Packages
命中 http://ubuntu.cn99.com feisty-backports/multiverse Packages
命中 http://ubuntu.cn99.com feisty-backports/main Sources
命中 http://ubuntu.cn99.com feisty-backports/restricted Sources
命中 http://ubuntu.cn99.com feisty-backports/universe Sources
命中 http://cn.archive.ubuntu.com feisty/universe Sources
命中 http://ubuntu.cn99.com feisty-backports/multiverse Sources
命中 http://cn.archive.ubuntu.com feisty/multiverse Packages
命中 http://cn.archive.ubuntu.com feisty/multiverse Sources
获取:37 http://cn.archive.ubuntu.com feisty-updates/main Packages [21.5kB]
获取:38 http://cn.archive.ubuntu.com feisty-updates/restricted Packages [14B]
获取:39 http://cn.archive.ubuntu.com feisty-updates/main Sources [5164B]
获取:40 http://cn.archive.ubuntu.com feisty-updates/restricted Sources [14B]
下载 332kB,耗时 43s (7694B/s)
正在读取软件包列表... 完成
konge@ubuntu:~$ sudo apt-get update--fix-missing
E: 无效的操作 update--fix-missing
konge@ubuntu:~$ sudo apt-get install build-essential linux-headers-2.6.20-16-generic--fix-missing
正在读取软件包列表... 完成
正在分析软件包的依赖关系树
Reading state information... 完成
E: 无法找到软件包 linux-headers-2.6.20-16-generic--fix-missing
konge@ubuntu:~$

问题依然
头像
gwtang
帖子: 222
注册时间: 2007-05-11 8:55

#3

帖子 gwtang » 2007-06-01 16:58

在软件源里搜索vmware,把tools和player安装了就可以了。
79468636
帖子: 50
注册时间: 2007-05-10 20:18

#4

帖子 79468636 » 2007-06-01 23:49

软件源?
在哪里?
回复