乌班图22.04
我正在尝试按照本指南https://help.ubuntu.com/community/KVM/Installation设置 KVM ,不幸的是,当我运行 kvm-ok 时,出现以下错误
Command 'kvm-ok' not found, but can be installed with:
sudo apt install cpu-checker
然后我尝试安装 cpu-checker 并给出了这个错误
cpu-checker : Depends: msr-tools but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
我已经在 BIOS (AMD Ryzen7 GFX CPU) 中启用了虚拟化,并且尝试了 --fix-broken 安装。
kvm 是安装 Docker Desktop 的要求,这就是我想要工作的,有谁知道如何解决这个问题,以便我可以让 kvm/Docker 工作?
安装的存储库
它表明这个问题是由存储库冲突引起的,但是如何找出罪魁祸首呢?我为音频应用程序 (kxstudio)、Brave 浏览器、Wine、Proton、VSCode 和 Chrome 安装了一些存储库。它们都是在过去几个月内安装的。(系统是3个月前重建的)
sudo grep -rhE ^deb /etc/apt/sources.list*
deb http://gb.archive.ubuntu.com/ubuntu/ jammy main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-updates main restricted
deb http://gb.archive.ubuntu.com/ubuntu/ jammy universe
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-updates universe
deb http://gb.archive.ubuntu.com/ubuntu/ jammy multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-updates multiverse
deb http://gb.archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu jammy-security main restricted
deb http://security.ubuntu.com/ubuntu jammy-security universe
deb http://security.ubuntu.com/ubuntu jammy-security multiverse
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
deb https://ppa.launchpadcontent.net/git-core/ppa/ubuntu/ jammy main
deb https://ppa.launchpadcontent.net/flatpak/stable/ubuntu/ jammy main
deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu bionic main
deb http://ppa.launchpad.net/kxstudio-debian/music/ubuntu bionic main
deb http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu bionic main
deb http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu bionic main
deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu bionic main
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ stable main
deb http://ppa.launchpad.net/kxstudio-debian/libs/ubuntu focal main
deb http://ppa.launchpad.net/kxstudio-debian/plugins/ubuntu focal main
deb http://ppa.launchpad.net/kxstudio-debian/apps/ubuntu focal main
deb http://ppa.launchpad.net/kxstudio-debian/kxstudio/ubuntu focal main
deb [arch=amd64,arm64,armhf] http://packages.microsoft.com/repos/code stable main
deb [arch="all", signed-by=/usr/share/keyrings/protonvpn-stable-archive-keyring.gpg] https://repo.protonvpn.com/debian stable main
谢谢杰夫