ubuntu22.04 VMware17.5

一、问题:

Before you can run VMware, several modules must be compiled and loaded into the running kernel.

GCC

GNU C Compiler (gcc) version 12.3.0 was not found. If you installed it in a non-default path you can specify the path below. Otherwise refer to your distribution’s documentation for installation instructors and click Refresh to search again in default locations.

二、原因

“软件更新器”弹出的更新,然后更新了内核导致。

# 查看安装的内核
dpkg --list | grep linux-image
# 查看当前使用的内核
uname -r

看看是不是内核变成了6.5.0-15-generic。

三、解决

内核降级

sudo apt-get install linux-headers-6.2.0-39-generic
sudo apt-get install linux-image-6.2.0-39-generic
sudo apt-get install linux-modules-6.2.0-39-generic
sudo apt-get install linux-modules-extra-6.2.0-39-generic

更改启动时默认使用的内核:

sudo vim /etc/default/grub

将GRUB_DEFAULT=0改为GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 6.2.0-39-generic"

# 刷新:
sudo update-grub

相关推荐

  1. ubuntu22.04 VMware17.5

    2024-02-04 18:38:01       48 阅读
  2. Ubuntu2204搭建ceph17

    2024-02-04 18:38:01       20 阅读

最近更新

  1. docker php8.1+nginx base 镜像 dockerfile 配置

    2024-02-04 18:38:01       94 阅读
  2. Could not load dynamic library ‘cudart64_100.dll‘

    2024-02-04 18:38:01       100 阅读
  3. 在Django里面运行非项目文件

    2024-02-04 18:38:01       82 阅读
  4. Python语言-面向对象

    2024-02-04 18:38:01       91 阅读

热门阅读

  1. Linux定时器

    2024-02-04 18:38:01       58 阅读
  2. Web中的Eval和Bind

    2024-02-04 18:38:01       47 阅读
  3. 【无标题】

    2024-02-04 18:38:01       48 阅读
  4. 苏门X学士常识学习

    2024-02-04 18:38:01       52 阅读
  5. Vue Markdown编辑器toast-ui/editor

    2024-02-04 18:38:01       49 阅读
  6. Libvirt 迁移标志详解

    2024-02-04 18:38:01       46 阅读
  7. 什么是epoll机制

    2024-02-04 18:38:01       59 阅读
  8. scoped样式隔离原理

    2024-02-04 18:38:01       44 阅读
  9. eCos GPIO读写及其中断处理

    2024-02-04 18:38:01       52 阅读
  10. Relation-graph关系图/流程图,VUE项目基础使用

    2024-02-04 18:38:01       70 阅读
  11. 事件在状态流程图中的工作方式

    2024-02-04 18:38:01       57 阅读