报错如下:
Compiled Resource: ------------------ # Declared in /opt/gitlab/embedded/cookbooks/cache/cookbooks/runit/recipes/sysvinit.rb:28:in `from_file‘ execute("init q") do action [:nothing] retries 0 retry_delay 2 default_guard_interpreter :execute command "init q" backup 5 returns 0 declared_type :execute cookbook_name "runit" recipe_name "sysvinit" end Platform: --------- x86_64-linux Running handlers: Running handlers complete Chef Client failed. 3 resources updated in 03 seconds [email protected]:~#
原因:没有安装gcc编译器
解决:
apt install -y build-essential
时间: 2024-10-25 23:09:46