LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 681|回复: 2

My urpmi has something wrong~how to repair?

[复制链接]
发表于 2004-12-30 04:27:31 | 显示全部楼层 |阅读模式
The info is
[root@localhost root]# urpmi
Can't locate URPM.pm in @INC (@INC contains: /usr/lib/perl5/5.8.6/i386-linux /usr/lib/perl5/5.8.6 /usr/lib/perl5/site_perl/5.8.6/i386-linux /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.6/i386-linux /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5 /usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl/5.8.1 /usr/lib/perl5/vendor_perl .) at /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm line 16.
BEGIN failed--compilation aborted at /usr/lib/perl5/vendor_perl/5.8.5/urpm.pm line 16.
Compilation failed in require at /usr/sbin/urpmi line 22.
BEGIN failed--compilation aborted at /usr/sbin/urpmi line 22.

I think the urpmi may has a bug, since it  hung when I was installing some rpm pakages via FTP with command model. It said that  the mysql-max pakage and sql-client pakage, which is needed, is conflict to the ones I had installed.  In fact what I had inustalled is newer (but form cooker). At last, the installation failed. Then, I found that the GUI urpmi didn't work. After my restarting PC, I even found that the harddrake files was set to be dev/null, so, they should be broken. I try to reinstall it ,and found the problem of urpmi.
I can reinstall harddrake from a rpm file, but what can I do with the urpmi? I don't understand the mean of the error info very clearly, but I think reinstallng is a way. Should I complie the source code of urpmi? Where to find it? Could anybody tell me about these?
Please!
Sorry, but I can't input Chinese at this moment.
发表于 2004-12-30 16:09:44 | 显示全部楼层
rpm -e urpmi

rmp -ivh urpmi***.rpm
发表于 2004-12-30 17:03:20 | 显示全部楼层
看起来你从cooker更新了perl?
你目前版本的urpmi不能配合这个perl似乎
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表