LoginSignup
3
3

More than 5 years have passed since last update.

yum が「セグメンテーション違反です」とエラーを吐く時の復旧

Posted at

文献

やったこと

  • zlib-1.2.5 をアンインストール
#cd /root/zlib-1.2.5
#make uninstall
  • 問題のファイルを削除
#rm -rf /usr/lib/libz.*
  • zlib-1.2.3 をインストール
#cd /root/zlib-1.2.3
#./configure -s --prefix=/usr
#make uninstall
  • 問題のファイルが再生成されたことを確認
# ll /usr/lib/libz.so*
lrwxrwxrwx 1 root root 13 8月 8 18:47 /usr/lib/libz.so -> libz.so.1.2.3
lrwxrwxrwx 1 root root 13 8月 8 18:47 /usr/lib/libz.so.1 -> libz.so.1.2.3
-rwxr-xr-x 1 root root 83758 8月 8 18:47 /usr/lib/libz.so.1.2.3
  • 動作確認
# yum clean all
# yum check-update
3
3
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
3
3