Skip to content
This repository has been archived by the owner on Oct 30, 2018. It is now read-only.

dpkg does not take a --force-yes option #53

Merged
merged 1 commit into from
Feb 16, 2015

Conversation

hfinucane
Copy link
Contributor

If you try to install a .deb (uploaded or downloaded outside of the usual apt channels), and you set force=yes, you'll get an error because dkpg (unlike apt-get or aptitude) will not take --force-yes.

Substituting a mostly similar command, which will make sure you will install the package even if it's probably a bad idea.

@skmoen
Copy link

skmoen commented Oct 8, 2014

This impacts our occasional need to force a reinstall. Would be helpful.

@hfinucane
Copy link
Contributor Author

(it's worth noting that this combination of options has never worked)

bcoca added a commit that referenced this pull request Feb 16, 2015
dpkg does not take a --force-yes option
@bcoca bcoca merged commit 818767b into ansible:devel Feb 16, 2015
@hfinucane
Copy link
Contributor Author

Also, there are tests for this here: ansible/ansible#9957

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants