无法覆盖 Pacman 中的目录

Unable to overwrite directory in Pacman

我正要安装一个包,但由于文件已经存在,所以总是失败。由于 --force 选项已从 pacman 中删除。我一直在尝试通过 --overwrite 选项覆盖目录,但不幸的是,这个选项也不起作用

命令 I 运行: 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

pacman -S <package> --overwrite=*