I am about to install a package, but it keeps failing because the file already exists. Since --force
option is removed from pacman. I have been trying to overwrite the directory by --overwrite
option but unfortunately, this option is also not working
Command I ran: 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=*