It looks like the deinstallation of the package has been interrupted @newsboost.
While this doesn't explain nor solve the cause of your issue, I would actually suggest to
sudo rm -r /opt/ventoy
which are the files contained in the package. Since there are files untracked by the pacman database, they cannot be automatically removed by pacman.
If you really don't want to manually remove these files, you could also
cd ventoy-bin/
makepkg -rs
sudo pacman -U --overwrite opt/ventoy/tool/* ./ventoy-bin*.tar.*
EDIT ventoy-bin/
is the folder containing the PKGBUILD
(and the .patch file), of course.
Pinned Comments