免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
楼主: wushuangri
打印 上一主题 下一主题

[系统安装] 请教:CentOS5.5 安装perl-Module-Install错误 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2012-07-25 09:49 |只看该作者
非常感谢。 这个没弄清楚。哈哈。
我先做个测试看看能不能解决。

论坛徽章:
0
12 [报告]
发表于 2012-07-25 10:11 |只看该作者
非常感谢! 我做个测试,看看结果怎么样。

论坛徽章:
0
13 [报告]
发表于 2012-07-25 13:07 |只看该作者
本帖最后由 wushuangri 于 2012-07-25 13:07 编辑

回复 10# ulovko

    as you can see, perl-Archive-Tar is in centos. Therefore the repoforge
    version of that package (currently 1.56-2.el5.rfx) is in the repoforge
    extras repo.

    Since perl-Module-Install-0.92-1.el5.rf.noarch requires this package, I
    think it should also be moved to extras. You could open a ticket on
    github to note this.

    But to solve your immediate problem, simply enable repoforge extras to
    upgrade perl-Archive-Tar.



    You should uninstall the packages you downloaded and installed from rpmforge.
    Then download the yum package from the link referenced earlier and then see if this is corrected.

   这段我看不大懂,能不能帮我解释一下呢,谢谢!!
  具体我应该怎么做才行.

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
14 [报告]
发表于 2012-07-25 13:13 |只看该作者
But to solve your immediate problem, simply enable repoforge extras to
    upgrade perl-Archive-Tar.

目前最直接最简便的解决方案是,使用 repoforge extras 来升级 perl-Archive-Tar
repoforge extras 是什么? 阁下应该晓得 /etc/yum.repos.d/CentOS-Base.repo  兄弟
你再添加一个 repoforge extras就行了

You should uninstall the packages you downloaded and installed from rpmforge

把你从rpmforge下载的包干掉
使用yum从centos镜像重新下载安装

论坛徽章:
0
15 [报告]
发表于 2012-07-25 13:31 |只看该作者
回复 14# ulovko


    在centos-base.repo 中添加了如下:
[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

执行:
1.  rpm -e rpmforge-release
成功
2.  yum -y install rpmforge-release

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* updates: centos.ustc.edu.cn
Setting up Install Process
No package rpmforge-release available.
Nothing to do
请指教。

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
16 [报告]
发表于 2012-07-25 13:39 |只看该作者
本帖最后由 ulovko 于 2012-07-25 13:43 编辑

回复 15# wushuangri


    好的 等一下我看看呵 @wushuangri O_o

  1. enabled = 0
  2. 改为
  3. enabled = 1
复制代码

论坛徽章:
0
17 [报告]
发表于 2012-07-25 14:06 |只看该作者
回复 16# ulovko


    修改了提示如下:
[root@localhost asterisk]# yum -y install rpmforge-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* rpmforge-extras: mirror.oscc.org.my
* updates: centos.ustc.edu.cn
Setting up Install Process
No package rpmforge-release available.
Nothing to do
-------------------------------------------------
------------------------------------------------
我又修改了一下:
[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - dag
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

执行:
[root@localhost asterisk]# yum -y install rpmforge-release
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* rpmforge-extras: repoforge.eecs.wsu.edu
* updates: centos.ustc.edu.cn
base                                                     | 1.1 kB     00:00
extras                                                   | 2.1 kB     00:00
rpmforge-extras                                          | 1.9 kB     00:00
rpmforge-extras/primary_db                               | 7.1 MB     00:38
updates                                                  | 1.9 kB     00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package rpmforge-release.i386 0:0.5.2-2.el5.rf set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package               Arch      Version             Repository            Size
================================================================================
Installing:
rpmforge-release      i386      0.5.2-2.el5.rf      rpmforge-extras       12 k

Transaction Summary
================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 12 k
Downloading Packages:
rpmforge-release-0.5.2-2.el5.rf.i386.rpm                 |  12 kB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : rpmforge-release                                         1/1

Installed:
  rpmforge-release.i386 0:0.5.2-2.el5.rf

Complete!

--------------
继续安装:
yum install perl-Module-Install
Loaded plugins: fastestmirror
Repository rpmforge-extras is listed more than once in the configuration
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: centos.ustc.edu.cn
* rpmforge: mirror.oscc.org.my
* rpmforge-extras: mirror.oscc.org.my
* updates: centos.ustc.edu.cn
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package perl-Module-Install.noarch 0:0.92-1.el5.rf set to be updated
--> Processing Dependency: perl(Module::CoreList) >= 2.17 for package: perl-Module-Install
--> Processing Dependency: perl(Parse::CPAN::Meta) >= 1.39 for package: perl-Module-Install
--> Processing Dependency: perl(ExtUtils:arseXS) >= 2.19 for package: perl-Module-Install
--> Processing Dependency: perl(Module::Build) >= 0.2804 for package: perl-Module-Install
--> Processing Dependency: perl(File::Remove) >= 1.42 for package: perl-Module-Install
--> Processing Dependency: perl(JSON) >= 2.14 for package: perl-Module-Install
--> Processing Dependency: perl(Archive::Tar) >= 1.44 for package: perl-Module-Install
--> Processing Dependency: perl(Module::ScanDeps) >= 0.89 for package: perl-Module-Install
--> Processing Dependency: perl(PAR:ist) >= 0.29 for package: perl-Module-Install
--> Processing Dependency: perl(YAML::Tiny) >= 1.38 for package: perl-Module-Install
--> Running transaction check
---> Package perl-ExtUtils-ParseXS.noarch 0:2.20.02-1.el5.rf set to be updated
---> Package perl-File-Remove.noarch 0:1.42-1.el5.rf set to be updated
---> Package perl-JSON.noarch 0:2.50-1.el5.rf set to be updated
---> Package perl-Module-Build.noarch 1:0.3607-1.el5.rf set to be updated
--> Processing Dependency: perl(ExtUtils::CBuilder) >= 0.27 for package: perl-Module-Build
---> Package perl-Module-CoreList.noarch 0:2.25-1.el5.rf set to be updated
---> Package perl-Module-Install.noarch 0:0.92-1.el5.rf set to be updated
--> Processing Dependency: perl(Archive::Tar) >= 1.44 for package: perl-Module-Install
---> Package perl-Module-ScanDeps.noarch 0:0.95-1.el5.rf set to be updated
--> Processing Dependency: perl(version) for package: perl-Module-ScanDeps
---> Package perl-PAR-Dist.noarch 0:0.46-1.el5.rf set to be updated
---> Package perl-Parse-CPAN-Meta.noarch 0:1.40-1.el5.rf set to be updated
---> Package perl-YAML-Tiny.noarch 0:1.40-1.el5.rf set to be updated
--> Running transaction check
---> Package perl-ExtUtils-CBuilder.noarch 0:0.2603.01-1.el5.rf set to be updated
---> Package perl-Module-Install.noarch 0:0.92-1.el5.rf set to be updated
--> Processing Dependency: perl(Archive::Tar) >= 1.44 for package: perl-Module-Install
---> Package perl-version.i386 0:0.91-1.el5.rf set to be updated
--> Finished Dependency Resolution
perl-Module-Install-0.92-1.el5.rf.noarch from rpmforge has depsolving problems
  --> Missing Dependency: perl(Archive::Tar) >= 1.44 is needed by package perl-Module-Install-0.92-1.el5.rf.noarch (rpmforge)
Error: Missing Dependency: perl(Archive::Tar) >= 1.44 is needed by package perl-Module-Install-0.92-1.el5.rf.noarch (rpmforge)
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

还是报错呢,继续求教 !!!!!!!!!

论坛徽章:
0
18 [报告]
发表于 2012-07-25 14:36 |只看该作者
回复 16# ulovko


    还请高手指教指教!!!!!!!!!

论坛徽章:
13
15-16赛季CBA联赛之同曦
日期:2016-01-28 19:52:032015亚冠之北京国安
日期:2015-10-07 14:28:19NBA常规赛纪念章
日期:2015-05-04 22:32:03处女座
日期:2015-01-15 19:45:44卯兔
日期:2014-10-28 16:17:14白羊座
日期:2014-05-24 15:10:46寅虎
日期:2014-05-10 09:50:35白羊座
日期:2014-03-12 20:52:17午马
日期:2014-03-01 08:37:27射手座
日期:2014-02-19 19:26:54子鼠
日期:2013-11-30 09:03:56狮子座
日期:2013-09-08 08:37:52
19 [报告]
发表于 2012-07-25 14:37 |只看该作者
回复 18# wushuangri


    ^_^ 我也搞不定了 不好意思 呼叫版主: @chenyx  @snow888

论坛徽章:
0
20 [报告]
发表于 2012-07-25 15:37 |只看该作者
回复 19# ulovko


    十分感谢!! 还请高手协助!!!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP