msys2 / msys2-pacman

A friendly fork of https://gitlab.archlinux.org/pacman/pacman
GNU General Public License v2.0
21 stars 12 forks source link

pacman: fails to install directory `foo` if `foo.exe` exists #17

Open lazka opened 3 years ago

lazka commented 3 years ago

It detects a conflict. We should extend our patches to cover that case.

When downgrading from a filesystem package that doesn't have the directories to one that has.

 error: failed to commit transaction (conflicting files)
  filesystem: /clang64 exists in filesystem
  filesystem: /mingw32 exists in filesystem
  filesystem: /mingw64 exists in filesystem
  filesystem: /ucrt64 exists in filesystem