• 非root安装rpm时,mockbuild does not exist


    1、现象

    [fedora@k8s-cluster-1-ycmwlao4q5wz-minion-0 ~]$ 
    [fedora@k8s-cluster-1-ycmwlao4q5wz-minion-0 ~]$ sudo rpm -ivh docker-1.12.4-6.git1b5971a.fc25.src.rpm
    Updating / installing...
       1:docker-2:1.12.4-6.git1b5971a.fc25warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root
    ################################# [100%]
    warning: user mockbuild does not exist - using root
    warning: group mockbuild does not exist - using root

    2、添加mockbuild 用户

    sudo useradd -s /sbin/nologin mockbuild

    3、安装rpm

    [fedora@k8s-cluster-1-ycmwlao4q5wz-minion-0 ~]$ sudo rpm -ivh docker-1.12.4-6.git1b5971a.fc25.src.rpm
    Updating / installing...
       1:docker-2:1.12.4-6.git1b5971a.fc25################################# [100%]
  • 相关阅读:
    在程序中向水晶报表传参数,以及在程序中指定报表源
    运行Web程序时提示无法使用调试
    TreeView控件节点重命名后没有进入beginEdit的解决方案
    网络负载平衡(转)
    纵横表转交叉表
    重绘datagrid,包括强迫显示某行
    datagrid添加事件
    我的页面模板算法
    C++函数重载
    关于string.empty 与 "" 内存分配
  • 原文地址:https://www.cnblogs.com/boshen-hzb/p/10932161.html
Copyright © 2020-2023  润新知