• 非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%]
  • 相关阅读:
    npm run eslint 报错 (87 errors, 0 warnings potentially fixable with the --fix option.)
    vue 项目 webstrom IDE格式化代码规则遵循eslint设置
    VUE:Method definition shorthands are not supported by current JavaScript version解决办法(该方法定义的缺陷是不支持当前的JavaScript版本)
    Flex 布局全解
    前端解析ipa、apk安装包信息 —— app-info-parser
    微信小程序开发
    base64上传到oss
    jQuery 文档操作方法
    学习v-on的使用
    学习vue结合ajax查询出后台数据
  • 原文地址:https://www.cnblogs.com/boshen-hzb/p/10932161.html
Copyright © 2020-2023  润新知