• 按装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
                                                   
  • 相关阅读:
    高危!Fastjson反序列化远程代码执行漏洞风险通告,请尽快升级
    主管发话:一周搞不定用友U8 ERP跨业务数据分析,明天就可以“毕业”了
    解决Visual Studio Code无法响应的问题
    【摸鱼神器】一次搞定 vue3的 路由 + 菜单 + tabs
    【java】BigDecimal大于等于/小于等于/小于/大于/等于 比较器工具方法
    【mysql】 mysql having count 的使用
    linux中在进程之间传递文件描述符的实现方式
    top使用
    JavaScript 学习27.查找HTML DOM节点(元素) 上海
    JavaScript 学习29.HTML DOM 事件 上海
  • 原文地址:https://www.cnblogs.com/HighHand-LadyKiller/p/14253764.html
Copyright © 2020-2023  润新知