You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
The text was updated successfully, but these errors were encountered:
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:
dpkg
oryum
processinstall.sh
Expected Result:
install script waits for dpkg/yum to become unlocked
Actual Result:
The text was updated successfully, but these errors were encountered: