运行全局更新
:: Synchronizing package databases...
core is up to date
extra is up to date
:: Starting full system upgrade...
:: Replace libblockdev-utils with extra/libblockdev? [Y/n] Y
resolving dependencies...
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: libblockdev and libblockdev-utils are in conflict
所以我尝试手动删除 libblockdev-utils
sudo pacman -R libblockdev-utils
checking dependencies...
error: failed to prepare transaction (could not satisfy dependencies)
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev-crypto
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev-crypto
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev-fs
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev-fs
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev-loop
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev-loop
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev-mdraid
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev-mdraid
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev-nvme
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev-nvme
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev-part
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev-part
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by libblockdev-swap
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by libblockdev-swap
:: removing libblockdev-utils breaks dependency 'libblockdev-utils' required by udisks2
:: removing libblockdev-utils breaks dependency 'libbd_utils.so=3-64' required by udisks2
现在做什么?
今天被这个问题困住了,但通过这个解决了这个问题:How do Iforce remove a package in Arch with pacman?