ubuntu fix "the package system is broken"

博客提及了 'sudo apt-get install -f' 这一命令,该命令常用于 Linux 系统中修复软件包依赖关系问题,是信息技术领域系统操作方面的常用指令。
sudo apt-get intall -f
root@yolubt:~/kvm-offline# sudo apt install apt-rdepends Reading package lists... Donelibvirt-daemon-system | grep -v "^Reverse" > full-deps.list Building dependency tree... Done Reading state information... Done You might want to run 'apt --fix-broken install' to correct these. The following packages have unmet dependencies: apt-rdepends : Depends: libapt-pkg-perl but it is not going to be installed cpu-checker : Depends: msr-tools but it is not going to be installed libvirt-clients : Depends: libvirt0 (= 8.0.0-1ubuntu7.11) but it is not going to be installed libvirt-daemon-system : Depends: libvirt-daemon (= 8.0.0-1ubuntu7.11) but it is not going to be installed Depends: libvirt-daemon-config-network (= 8.0.0-1ubuntu7.11) but it is not going to be installed Depends: libvirt-daemon-config-nwfilter (= 8.0.0-1ubuntu7.11) but it is not going to be installed Depends: libvirt-daemon-system-systemd (= 8.0.0-1ubuntu7.11) but it is not going to be installed or libvirt-daemon-system-sysv (= 8.0.0-1ubuntu7.11) but it is not going to be installed Recommends: dnsmasq-base Recommends: mdevctl but it is not going to be installed Recommends: swtpm-tools but it is not going to be installed qemu-system-x86 : Depends: libfdt1 (>= 1.6.1) but it is not going to be installed Depends: libibverbs1 (>= 28) but it is not going to be installed Depends: libjpeg8 (>= 8c) but it is not going to be installed Depends: libpixman-1-0 (>= 0.19.6) but it is not going to be installed Depends: libpmem1 (>= 1.4) but it is not going to be installed Depends: librdmacm1 (>= 1.0.15) but it is not going to be installed Depends: libslirp0 (>= 4.0.0) but it is not going to be installed Depends: liburing2 (>= 2.0) but it is not going to be installed Depends: qemu-system-common (= 1:6.2+dfsg-2ubuntu6.26) but it is not going to be installed Depends: qemu-system-data (> 1:6.2+dfsg-2ubuntu6.26~) but it is not going to be installed Depends: seabios but it is not going to be installed Depends: ipxe-qemu but it is not going to be installed Depends: ipxe-qemu-256k-compat-efi-roms but it is not going to be installed Recommends: qemu-system-gui (= 1:6.2+dfsg-2ubuntu6.26) but it is not going to be installed Recommends: qemu-utils but it is not going to be installed Recommends: ovmf but it is not going to be installed Recommends: qemu-block-extra (= 1:6.2+dfsg-2ubuntu6.26) but it is not going to be installed virtinst : Depends: xorriso but it is not going to be installed Depends: gir1.2-libosinfo-1.0 but it is not going to be installed Depends: python3-libvirt (>= 0.4.6) but it is not going to be installed Depends: python3-libxml2 but it is not going to be installed Recommends: qemu-utils but it is not going to be installed Recommends: virt-viewer but it is not going to be installed E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
07-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值