Version:
current at https://omnitruck.chef.io/install.sh
Environment:
I am running the script on Ubuntu 18.04 but the problem being described here is OS-agnostic and applies to all installation methods that use a package manager that uses a lock so that two package processes cannot run at once.
Scenario:
I am attempting to install chef using the install.sh script, coincidentally at the same time as another process is using dpkg (or another package manager).
Steps to Reproduce:
- launch a long/slow
dpkg or yum process
- in another shell, run
install.sh
Expected Result:
install script waits for dpkg/yum to become unlocked
Actual Result:
Installing chef
installing with dpkg...
dpkg: error: dpkg frontend is locked by another process
Installation failed
Version:
Version:
current at https://omnitruck.chef.io/install.sh
Environment:
I am running the script on Ubuntu 18.04 but the problem being described here is OS-agnostic and applies to all installation methods that use a package manager that uses a lock so that two package processes cannot run at once.
Scenario:
I am attempting to install chef using the install.sh script, coincidentally at the same time as another process is using
dpkg(or another package manager).Steps to Reproduce:
dpkgoryumprocessinstall.shExpected Result:
install script waits for dpkg/yum to become unlocked
Actual Result: