pop 包卸载后rpm 不能用的 解决 - 64 位机器

本文分享了解决Linux系统中RPM命令无法加载libpopt.so.0文件的问题过程。包括删除旧包、寻找并安装正确的64位版本依赖库、提取RPM文件、复制关键动态链接库到指定目录及验证解决方案的有效性。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

  

This time. I will share the experience:

1: First delete the lunix package:

Rpm –qa | grep pop

popt-1.13-7.el6.i686

Then delete: rpm –e popt-1.13-7.el6.i686 –nodep

Some depend file had remove

2: accident occurre:

Rpm command the server can not understand

Rpm: can not loading the file: libpopt.so.0 …

3: then I try to use command the find:

/usr/lib/ libpopt.so.0

But unfortuantlly, the server is 64 bit

So I have to find the source file to install, go towww.rpmfind.net find

popt-1.14-2rt.x86_64.rpm

or go to : ftp://ftp.pbone.net/vol4/ftp.sourceforge.net/pub/sourceforge/r/ro/roblinux/64-32_pkg/base/x86_64

4: the next problem is how to extract the rpm file.

I found the linux 32 bit server, I download the rpm file to 32bit server.

In a temporate folder, use below command to extract the RPM file:

Cd /tmp/

Ls –l popt-1.14-2rt.x86_64.rpm

rpm2cpio popt-1.14-2rt.x86_64.rpm | cpio –ivmd

the rpm file is extracted successfully.

5: download the libpopt.so.0 file from the path : “/tmp/usr/lib”

Upload the file the 64bit server.

Notice:

Put the file of “libpopt.so.0” to the path of “/usr/lib64/”

6 Then check the command “rpm” success result, then install the file of :

popt-1.14-2rt.x86_64.rpm

7: the test got success result.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

shenghuiping2001

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值