zoukankan      html  css  js  c++  java
  • 按装parallels tool的失败之路

    这是一篇对于其他人来说没什么意义的博客。单纯的可以被看作是日记。

    首先,我想安装parallels tool。

    但是照着网上很多教程(如www.cnblogs.com/artwalker/p/13235757.html等)做,都装失败了(尽管这些都是很好的教程)

    总是在最后一布弹出:

    An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information. 

    查了一下我的kali版本

    # uname -a                                                                                1 ⨯
    Linux thekali 5.9.0-kali1-amd64 #1 SMP Debian 5.9.1-1kali2 (2020-10-29) x86_64 GNU/Linux
    

    估计是我版本过高,parallels tool版本不匹配了。

    于是去网上下载各种parallels tool盘,并通过ssh传到虚拟机里,但仍旧是

    An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information. 

    于是我打算重新检查一下log

    鉴于英文不好,我打算直接用deepL翻译器。奈何这个翻译器只在本机上安装了。于是我打算把log通过ssh传到本机上。但是几个命令下来,要么行不通,要么成功了(「get xxx remote xxx」命令)但指定路径没有log文件。

    于是我干脆直接以博客园为媒介传输这个log:

    2021-01-07T21:52:18+0800: 
    
    Parallels Tools 15.1.4-47270 Installer started.
    2021-01-07T21:52:18+0800: Failed to setup console printk level.
    2021-01-07T21:52:23+0800: execCmd: ./install --check [0]
    2021-01-07T21:52:23+0800: execCmd: ./installer/detect-xserver.sh -v >/dev/null 2>&1 [0]
    2021-01-07T21:52:37+0800: execCmd: ./installer/pm.sh --check gtools [0]
    Started installation of Parallels Guest Tools version '15.1.4.47270'
    
    Error during report about start installation of parallels tools.
    Thu Jan 7 21:52:38 CST 2021
    Start installation or upgrade of Guest Tools
    new version of parallels tools
    Installed Guest Tools were not found
    Register service to install new Guest Tools
    Perform installation into the /usr/lib/parallels-tools directory
    make: Entering directory '/usr/lib/parallels-tools/kmods'
    Will use compiler CC="cc".
    Compiler version "cc (Debian 10.2.0-16) 10.2.0"
    cd prl_eth/pvmnet && make CC=cc
    make[1]: Entering directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make -C /lib/modules/5.9.0-kali1-amd64/build M=/usr/lib/parallels-tools/kmods/prl_eth/pvmnet CC=cc
    make[2]: Entering directory '/usr/src/linux-headers-5.9.0-kali1-amd64'
    
      ERROR: Kernel configuration is invalid.
             include/generated/autoconf.h or include/config/auto.conf are missing.
             Run 'make oldconfig && make prepare' on kernel src to fix it.
    
    make[3]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:718: include/config/auto.conf] Error 1
    make[2]: Leaving directory '/usr/src/linux-headers-5.9.0-kali1-amd64'
    make[1]: Leaving directory '/usr/lib/parallels-tools/kmods/prl_eth/pvmnet'
    make[2]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:185: __sub-make] Error 2
    make[1]: *** [Makefile:34: all] Error 2
    make: Leaving directory '/usr/lib/parallels-tools/kmods'
    make: *** [Makefile.kmods:30: compile] Error 2
    Error: could not build kernel modules
    Error during report about failed installation of parallels tools.
    Error: failed to install Parallels Guest Tools!
    2021-01-07T21:52:38+0800: Started installation of Parallels Guest Tools version '15.1.4.47270'
    Error during report about start installation of parallels tools.
    
    Thu Jan 7 21:52:38 CST 2021
    Start installation or upgrade of Guest Tools
    
      ERROR: Kernel configuration is invalid.
             include/generated/autoconf.h or include/config/auto.conf are missing.
             Run 'make oldconfig && make prepare' on kernel src to fix it.
    
    make[3]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:718: include/config/auto.conf] Error 1
    make[2]: *** [/usr/src/linux-headers-5.9.0-kali1-common/Makefile:185: __sub-make] Error 2
    make[1]: *** [Makefile:34: all] Error 2
    make: *** [Makefile.kmods:30: compile] Error 2
    Error: could not build kernel modules
    Error during report about failed installation of parallels tools.
    Error: failed to install Parallels Guest Tools!
    2021-01-07T21:52:38+0800: execCmd: ./install --install [167]
    2021-01-07T21:52:38+0800: Error: An error occurred when installing Parallels Tools. Please go to /var/log/parallels-tools-install.log for more information.
    2021-01-07T21:52:49+0800: Exiting with code 1
                                                   
  • 相关阅读:
    android 中 Canvas和Paint
    【30篇突击 android】源码统计 十五
    【eoe特刊】第二十七期 OpenGL ES学习及项目解析
    java项目打jar包
    用Think Pad 系统升级程序ThinkVantage System Update时候提示 无法连接代理服务器 的解决办法
    asp.net中部打开新页面下载文件
    java混淆器proguard的一些资料
    flex中接收非utf8编码的后台数据
    Win2003 sp2 下安装IIS,会提示找不到iisadmin.mfl等文件无法继续安装的解决方法
    windows下部能用域名访问网址或共享文件夹的解决方法
  • 原文地址:https://www.cnblogs.com/HighHand-LadyKiller/p/14253764.html
Copyright © 2011-2022 走看看