
Arch Linux 시스템에서 업데이트 패키지를 실행 하면 yay -Syu
다음 오류가 발생합니다.
-> error fetching libcamera-git: error: Your local changes to the following files would be overwritten by merge:
PKGBUILD
Please commit your changes or stash them before you merge.
Aborting
context: exit status 1
내 패키지를 업데이트하려면 이 문제를 어떻게 해결해야 합니까?
답변1
문제가 있는 패키지를 제거하고 다시 설치해 보시기 바랍니다 yay -Rs libcamera-git
.
또는 libcamera-git
폴더로 이동하여 실행하여 git checkout .
커밋되지 않은 변경 사항을 제거할 수 있습니다.