引导我的 Arch live CD 后,我尝试使用archiso
以下命令安装该软件包:
pacman -Sy archiso
但我得到:
error: failed to commit transaction (conflicting files)
archiso: /usr/lib/initcpio/archiso_shutdown exists in filesystem
archiso: /usr/lib/initcpio/hooks/archiso exists in filesystem
archiso: /usr/lib/initcpio/hooks/archiso_loop_mnt exists in filesystem
archiso: /usr/lib/initcpio/hooks/archiso_pxe_common exists in filesystem
archiso: /usr/lib/initcpio/hooks/archiso_pxe_http exists in filesystem
archiso: /usr/lib/initcpio/hooks/archiso_pxe_nbd exists in filesystem
archiso: /usr/lib/initcpio/hooks/archiso_pxe_nfs exists in filesystem
archiso: /usr/lib/initcpio/hooks/archiso_shutdown exists in filesystem
archiso: /usr/lib/initcpio/install/archiso exists in filesystem
archiso: /usr/lib/initcpio/install/archiso_kms exists in filesystem
archiso: /usr/lib/initcpio/install/archiso_loop_mnt exists in filesystem
archiso: /usr/lib/initcpio/install/archiso_pxe_common exists in filesystem
archiso: /usr/lib/initcpio/install/archiso_pxe_http exists in filesystem
archiso: /usr/lib/initcpio/install/archiso_pxe_nbd exists in filesystem
archiso: /usr/lib/initcpio/install/archiso_pxe_nfs exists in filesystem
archiso: /usr/lib/initcpio/install/archiso_shutdown exists in filesystem
Errors occurred, no packages were upgraded.
我读吃豆子维基。所以我尝试:
pacman -Qo /usr/lib/initcpio/archiso_shutdown
我得到:
error: No package owns /usr/lib/initcpio/archiso_shutdown
至于:
如果您在未使用 pacman 或前端的情况下手动安装了某个程序,则必须删除该程序及其所有文件,然后使用 pacman 正确重新安装。
引导 Live CD 后,pacman
是第一个运行的程序。