+
Skip to content
This repository was archived by the owner on Oct 3, 2020. It is now read-only.
This repository was archived by the owner on Oct 3, 2020. It is now read-only.

[centos]require dpkg command #67

@chenhb-zte

Description

@chenhb-zte

anchore was installed in centos system, it reported dpkg commands requirement while running analysis.
output message:
ERROR Anchore requires dpkg libs and commands: [Errno 2] No such file or directory
ERROR Error running pre-flight checks

use option --debug
2019-11-16 12:27:10,002 ERROR common.py anchore_print_err Anchore requires dpkg libs and commands
Traceback (most recent call last):
File "/home/anchore/lib/python2.7/site-packages/anchore/cli/init.py", line 213, in anchore_pre_flight_check
sout = subprocess.check_output(cmd, stderr=subprocess.STDOUT)
File "/usr/lib64/python2.7/subprocess.py", line 568, in check_output
process = Popen(stdout=PIPE, *popenargs, **kwargs)
File "/usr/lib64/python2.7/subprocess.py", line 711, in init
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2019-11-16 12:27:10,003 ERROR common.py anchore_print_err Error running pre-flight checks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载