'Flutter : /opt/..../FETCH_HEAD exists in filesystem Arch
While updating and installing some packages
sudo pacman -Syu && sudo pacman -S --needed \
webkit2gtk \
base-devel \
curl \
wget \...
on Arch Linux I got following error:
error: failed to commit transaction (conflicting files)
flutter: /opt/flutter/.git/FETCH_HEAD exists in filesystem
Errors occurred, no packages were upgraded.
Solution 1:[1]
Fixed with sudo rm -rf /opt/flutter/.git/FETCH_HEAD
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Mustafa Mehar |
