无法覆盖吃豆人中的目录

时间:2019-10-29 00:00:00

标签: pacman-package-manager

我将要安装软件包,但是由于该文件已存在,它一直失败。由于--force选项已从pacman中删除。我一直在尝试使用--overwrite选项覆盖目录,但是不幸的是,该选项也无法正常工作

我运行的命令sudo pacman -S namcap --overwrite /usr/lib/python3.7/site-packages/elftools/elf/*

冲突的文件

....
python-pyelftools: /usr/lib/python3.7/site-packages/elftools/elf/notes.py exists in filesystem
python-pyelftools: /usr/lib/python3.7/site-packages/elftools/elf/relocation.py exists in filesystem
python-pyelftools: /usr/lib/python3.7/site-packages/elftools/elf/sections.py exists in filesystem
python-pyelftools: /usr/lib/python3.7/site-packages/elftools/elf/segments.py exists in filesystem
python-pyelftools: /usr/lib/python3.7/site-packages/elftools/elf/structs.py exists in filesystem

1 个答案:

答案 0 :(得分:2)

pacman -S <package> --overwrite=*