Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
3
Help us understand the problem. What are the problem?

More than 5 years have passed since last update.

Organization

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

文献

やったこと

  • 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
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
3
Help us understand the problem. What are the problem?