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

(MODULES-4118) Set dpkg option NoLocking in apt_updates fact #640

Merged
merged 1 commit into from
Jul 11, 2017
Merged

(MODULES-4118) Set dpkg option NoLocking in apt_updates fact #640

merged 1 commit into from
Jul 11, 2017

Conversation

jocado
Copy link

@jocado jocado commented Nov 22, 2016

Although the man page for apt-get indicates the --simluate means locking
will be disabled, testing indicates it isn't.
Indeed, regulary collecting facts causes it to clash with the apt_update
Exec occasionally, resulting in failures to lock /var/lib/dpkg
Spefically setting the NoLocking option fixes the issue.

Although the man page for apt-get indicates the --simluate means locking
will be disabled, testing indicates it isn't.
Indeed, regulary collecting facts causes it to clash with the apt_update
Exec occasionally, resulting in failures to lock /var/lib/dpkg
Spefically setting the NoLocking option fixes the issue.
@tphoney
Copy link

tphoney commented Jul 11, 2017

This is a cool change, many thanks !

@tphoney tphoney merged commit bd3b3fb into puppetlabs:master Jul 11, 2017
@LukasAud LukasAud added the bugfix label Jun 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants