LoginSignup
2
0

More than 5 years have passed since last update.

Arch Linux のアップデートが"/usr/lib/libutf8proc.so.2 exists in filesystem" で失敗する

Posted at

概要

terminal
# pacman -Syu

を実行してArch Linux のパッケージをアップデートしようとすると以下のようなエラーが出ました。

terminal
error: failed to commit transaction (conflicting files)
libutf8proc: /usr/lib/libutf8proc.so.2 exists in filesystem
Errors occurred, no packages were upgraded.

/usr/lib/libutf8proc.so.2 が既に存在しているため、更新ができないということなのでpacman コマンドに--overwrite usr/lib/libutf8proc.so.2 (頭に"/"は不要)オプションをつけて実行し、上書きするようにしてください。

terminal
# pacman -Syu --overwrite usr/lib/libutf8proc.so.2

この情報については、Arch Linux 公式でもアナウンスされているので、こういったよく使うコマンドでエラーが出た場合は公式も確認してみると良いかもしれない…と勉強した日でした。

ArchLinux_ErrorUpdateDueToLibutf8proc0000.png

参考

2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0