收藏 分享(赏)

Linux 组别列表不合法解决方法.doc

上传人:hyngb9260 文档编号:4401797 上传时间:2018-12-27 格式:DOC 页数:5 大小:95.21KB
下载 相关 举报
Linux 组别列表不合法解决方法.doc_第1页
第1页 / 共5页
Linux 组别列表不合法解决方法.doc_第2页
第2页 / 共5页
Linux 组别列表不合法解决方法.doc_第3页
第3页 / 共5页
Linux 组别列表不合法解决方法.doc_第4页
第4页 / 共5页
Linux 组别列表不合法解决方法.doc_第5页
第5页 / 共5页
亲,该文档总共5页,全部预览完了,如果喜欢就下载吧!
资源描述

1、冰块组别列表不合法解决方法1 Redhat 6.3 添加删除程序时,报错2 解决方法重新用光盘搭建一个 yum 源2.1 配置光盘 Yum 源2.1.1 确保系统中已经安装了 yum 相关软件包rootGDHLR-GET04-VM yum.repos.d# rpm -qa |grep yumyum-3.2.29-17.el6.noarchyum-metadata-parser-1.1.2-16.el6.x86_64yum-utils-1.1.30-6.el6.noarchPackageKit-yum-plugin-0.5.8-19.el6.x86_64yum-rhn-plugin-0.9.1-

2、26.el6.noarchPackageKit-yum-0.5.8-19.el6.x86_64版本号可能有所不同, 如果缺少, 请自行安装( 这些包基本都默认安装了).冰块2.1.2修改 yum 的配置rootGDHLR-GET04-VM yum.repos.d# pwd/etc/yum.repos.d修改这个配置文件 rhel-source.reporootGDHLR-GET04-VM yum.repos.d# cat rhel-source.repo rhel-sourcename=Red Hat Enterprise Linux $releasever - $basearch - Sou

3、rcebaseurl=file:/media/RHEL_6.1 x86_64 Disc 1/ #“”后有空格,光驱挂载到 media下面,RHEL_6.1 x86_64 Disc 1 是光盘名字enabled=1gpgcheck=1gpgkey=file:/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaserhel-source-betaname=Red Hat Enterprise Linux $releasever Beta - $basearch - Sourcebaseurl=ftp:/ 修完之后,直接 yum install gcc如下:rootGD

4、HLR-GET04-VM yum.repos.d# yum install gccLoaded plugins: product-id, refresh-packagekit, subscription-managerUpdating Red Hat repositories.rhel-source | 4.0 kB 00:00 . rhel-source/primary_db | 3.1 MB 00:00 . 冰块Setting up Install ProcessResolving Dependencies Running transaction check- Package gcc.x8

5、6_64 0:4.4.5-6.el6 will be installed Processing Dependency: cpp = 4.4.5-6.el6 for package: gcc-4.4.5-6.el6.x86_64 Processing Dependency: cloog-ppl = 0.15 for package: gcc-4.4.5-6.el6.x86_64 Running transaction check- Package cloog-ppl.x86_64 0:0.15.7-1.2.el6 will be installed Processing Dependency:

6、libppl.so.7()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64 Processing Dependency: libppl_c.so.2()(64bit) for package: cloog-ppl-0.15.7-1.2.el6.x86_64- Package cpp.x86_64 0:4.4.5-6.el6 will be installed Processing Dependency: libmpfr.so.1()(64bit) for package: cpp-4.4.5-6.el6.x86_64 Running tr

7、ansaction check- Package mpfr.x86_64 0:2.4.1-6.el6 will be installed- Package ppl.x86_64 0:0.10.2-11.el6 will be installed Finished Dependency ResolutionDependencies Resolved=Package Arch Version Repository Size=Installing:gcc x86_64 4.4.5-6.el6 rhel-source 10 MInstalling for dependencies:cloog-ppl

8、x86_64 0.15.7-1.2.el6 rhel-source 93 kcpp x86_64 4.4.5-6.el6 rhel-source 3.7 Mmpfr x86_64 2.4.1-6.el6 rhel-source 156 kppl x86_64 0.10.2-11.el6 rhel-source 1.3 MTransaction Summary=冰块=Install 5 Package(s)Total download size: 15 MInstalled size: 33 MIs this ok y/N: yDownloading Packages:-Total 22 MB/

9、s | 15 MB 00:00 warning: rpmts_HdrFromFdno: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEYRetrieving key from file:/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaseImporting GPG key 0xFD431D51:Userid : Red Hat, Inc. (release key 2) Package: redhat-release-workstation-6Workstation-6.1.0.2.el6.x86_6

10、4 (anaconda-RedHatEnterpriseLinux-201105101844.x86_64/6.1)From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaseIs this ok y/N: yImporting GPG key 0x2FA658E0:Userid : Red Hat, Inc. (auxiliary key) Package: redhat-release-workstation-6Workstation-6.1.0.2.el6.x86_64 (anaconda-RedHatEnterpriseLinux-2011051

11、01844.x86_64/6.1)From : /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-releaseIs this ok y/N: yRunning rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionWarning: RPMDB altered outside of yum.Installing : mpfr-2.4.1-6.el6.x86_64 1/5 Installing : cpp-4.4.5-6.el6.x86_64 2/5 Insta

12、lling : ppl-0.10.2-11.el6.x86_64 3/5 Installing : cloog-ppl-0.15.7-1.2.el6.x86_64 4/5 Installing : gcc-4.4.5-6.el6.x86_64 5/5 rhel-source/productid | 1.7 kB 00:00 . 冰块duration: 236(ms)Installed products updated.Installed:gcc.x86_64 0:4.4.5-6.el6 Dependency Installed:cloog-ppl.x86_64 0:0.15.7-1.2.el6 cpp.x86_64 0:4.4.5-6.el6 mpfr.x86_64 0:2.4.1-6.el6 ppl.x86_64 0:0.10.2-11.el6 Complete!3 光盘 Yum 源配置完成就可以使用添加删除功能了

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 实用文档 > 统计图表

本站链接:文库   一言   我酷   合作


客服QQ:2549714901微博号:道客多多官方知乎号:道客多多

经营许可证编号: 粤ICP备2021046453号世界地图

道客多多©版权所有2020-2025营业执照举报