zoukankan      html  css  js  c++  java
  • This system is not registered with an entitlement server. You can use subscription-manager to register.

    系统:redhat 7.6

    说明:配置yum源,提示This system is not registered with an entitlement server. You can use subscription-manager to register.

    配置文件:

    [root@localhost yum.repos.d]# cat redhat7.repo
    [rhel-source]
    name=Source
    baseurl=file:///mnt
    enabled=1
    gpgcheck=0

    yum安装测试,能够进行安装,但是系统提示没有注册

    [root@localhost yum.repos.d]# yum install -y tree
    Loaded plugins: product-id, search-disabled-repos, subscription-manager
    This system is not registered with an entitlement server. You can use subscription-manager to register.
    Resolving Dependencies
    --> Running transaction check
    ---> Package tree.x86_64 0:1.6.0-10.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================================================================================================
     Package                                  Arch                                       Version                                             Repository                                       Size
    ===============================================================================================================================================================================================
    Installing:
     tree                                     x86_64                                     1.6.0-10.el7                                        rhel-source                                      46 k
    
    Transaction Summary
    ===============================================================================================================================================================================================
    Install  1 Package
    
    Total download size: 46 k
    Installed size: 87 k
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
      Verifying  : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
    
    Installed:
      tree.x86_64 0:1.6.0-10.el7                                                                                                                                                                   
    
    Complete!

    原因:redhat自带的插件subscription-manager。这个插件的作用就是Red Hat Subscription Manager订阅管理器,就是它让你一直register

    解决办法:将配置文件subscription-manager.conf中的enable注释掉

    [root@localhost yum.repos.d]# vi /etc/yum/pluginconf.d/subscription-manager.conf
    
    [main]
    #enabled=1
    ~           

    将安装的软件remove,再次进行安装实验

    [root@tz-yycs-db01 ~]# yum install -y tree
    Loaded plugins: product-id, search-disabled-repos
    Resolving Dependencies
    --> Running transaction check
    ---> Package tree.x86_64 0:1.6.0-10.el7 will be installed
    --> Finished Dependency Resolution
    
    Dependencies Resolved
    
    ===============================================================================================================================================================================================
     Package                                  Arch                                       Version                                             Repository                                       Size
    ===============================================================================================================================================================================================
    Installing:
     tree                                     x86_64                                     1.6.0-10.el7                                        rhel-source                                      46 k
    
    Transaction Summary
    ===============================================================================================================================================================================================
    Install  1 Package
    
    Total download size: 46 k
    Installed size: 87 k
    Downloading packages:
    Running transaction check
    Running transaction test
    Transaction test succeeded
    Running transaction
      Installing : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
      Verifying  : tree-1.6.0-10.el7.x86_64                                                                                                                                                    1/1 
    
    Installed:
      tree.x86_64 0:1.6.0-10.el7                                                                                                                                                                   
    
    Complete!
  • 相关阅读:
    dlib库+vs2017详细配置流程
    【网易云课堂】【中科院团队】深度学习:算法到实战——神经网络基础
    【网易云课堂】【中科院团队】深度学习:算法到实战——绪论
    matlab 读取多行txt文本
    LeetCode 228. Summary Ranges【未加入列表】
    LeetCode 438. Find All Anagrams in a String
    c++冷知识
    python项目实战——西游记用字统计
    LeetCode 101. Symmetric Tree
    LeetCode 63. Unique Paths II
  • 原文地址:https://www.cnblogs.com/hanglinux/p/12968340.html
Copyright © 2011-2022 走看看