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

Problem With Ubuntu 16.04 - DPKG lock #185

Closed
pedro-stanaka opened this issue Jun 22, 2016 · 1 comment
Closed

Problem With Ubuntu 16.04 - DPKG lock #185

pedro-stanaka opened this issue Jun 22, 2016 · 1 comment

Comments

@pedro-stanaka
Copy link

pedro-stanaka commented Jun 22, 2016

I'm trying to use chef + vagrant + omnitruck and I'm get the following error as soon as my machine boots.

Host machine:
Windows 10 x64

==> default: downloaded metadata file looks valid...
==> default: downloading https://packages.chef.io/stable/ubuntu/14.04/chef_12.11.18-1_amd64.deb
==> default:   to file /tmp/install.sh.1343/chef_12.11.18-1_amd64.deb
==> default: trying wget...
==> default: Comparing checksum with sha256sum...
==> default: Installing chef 12.11.18
==> default: installing with dpkg...
==> default: dpkg: error: dpkg status database is locked by another process
==> default: Installation failed
==> default: Version: 12.11.18
==> default:
==> default: Please file a Bug Report at https://github.com/chef/omnitruck/issues/new
==> default: Alternatively, feel free to open a Support Ticket at https://www.chef.io/support/tickets
==> default: More Chef support resources can be found at https://www.chef.io/support
==> default:
==> default: Please include as many details about the problem as possible i.e., how to reproduce
==> default: the problem (if possible), type of the Operating System and its version, etc.,
==> default: and any other relevant details that might help us with troubleshooting.
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

sh install.sh -v 12.11.18 2>&1

Stdout from the command:

ubuntu 16.04 x86_64
Getting information for chef stable 12.11.18 for ubuntu...
downloading https://omnitruck-direct.chef.io/stable/chef/metadata?v=12.11.18&p=ubuntu&pv=16.04&m=x86_64
  to file /tmp/install.sh.1343/metadata.txt
trying wget...
sha1    bc4a6642d6093b54de856da31f0651a56b0fdc8e
sha256  f1cf5d0f6dd12d2d2296ec6d8dbb16363f8541f5c15298cafa70e65ff2b5a22f
url     https://packages.chef.io/stable/ubuntu/14.04/chef_12.11.18-1_amd64.deb
version 12.11.18
downloaded metadata file looks valid...
downloading https://packages.chef.io/stable/ubuntu/14.04/chef_12.11.18-1_amd64.deb
  to file /tmp/install.sh.1343/chef_12.11.18-1_amd64.deb
trying wget...
Comparing checksum with sha256sum...
Installing chef 12.11.18
installing with dpkg...
dpkg: error: dpkg status database is locked by another process
Installation failed
Version: 12.11.18

Please file a Bug Report at https://github.com/chef/omnitruck/issues/new
Alternatively, feel free to open a Support Ticket at https://www.chef.io/support/tickets
More Chef support resources can be found at https://www.chef.io/support

Please include as many details about the problem as possible i.e., how to reproduce
the problem (if possible), type of the Operating System and its version, etc.,
and any other relevant details that might help us with troubleshooting.
@thommay
Copy link

thommay commented Jun 22, 2016

Thanks for your report. This is a bug in bento, and is being tracked at chef/bento#609 .

@thommay thommay closed this as completed Jun 22, 2016
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