Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chroot: failed to run command No such file or directory\n" #7

Open
IvyIvy100 opened this issue Jul 27, 2020 · 1 comment
Open

chroot: failed to run command No such file or directory\n" #7

IvyIvy100 opened this issue Jul 27, 2020 · 1 comment

Comments

@IvyIvy100
Copy link

('\n', 'Exception:', <type 'exceptions.RuntimeError'>, RuntimeError("Error CMD=chroot /mnt/hgfs/aaa/tmpfMc211 rpm -qp --qf '%{NAME};%{VERSION};%{RELEASE};%{ARCH};%{PACKAGETYPE};%{PACKAGEPRESENCE};%{PIPD};%{CISCOHW};%{CARDTYPE};%{BUILDTIME};%{GROUP};%{VMTYPE};%{SUPPCARDS};%{PREFIXES};%{XRRELEASE};' asr9k-bng-x64-1.0.0.0-r702.x86_64.rpm returned --->chroot: failed to run command \xe2\x80\x98rpm\xe2\x80\x99: No such file or directory\n",))
Detail logs: /mnt/hgfs/aaa/Giso_build.log-2020-07-27:17:17:50.748757

Anyone knows how to solve this issue?

@AlainMoretti
Copy link

chroot requires root privileges
If you run this script as root this issue is no longer seen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants