vagrant icon indicating copy to clipboard operation
vagrant copied to clipboard

Fixed issue provisioning ubuntu 22.04 python-dev has no install candidate

Open teh-syntax opened this issue 2 years ago • 3 comments

Ran into this issue today dug through the code and resolved it with the following minor change. didn't see this reported in the issue list so if there is another plan to resolve this please close and i will wait for the updated version. Thanks

teh-syntax avatar Aug 07 '22 00:08 teh-syntax

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Aug 07 '22 00:08 hashicorp-cla

Faced this after adding to my Vagrantfile:

  config.vm.box = 'ubuntu/jammy64'

  config.vm.provision 'ansible_local' do |ansible|
    ansible.playbook = 'playbook.yml'

+    ansible.install_mode = 'pip_args_only'
+    ansible.pip_args = '-r requirements.txt'
  end

GarrisonD avatar Aug 14 '22 14:08 GarrisonD

I can confirm that the fix is working. What is required to move this issue forward? @teh-syntax can you maybe add a bug label so that it gets prioritized a bit higher by Hashicorp?

Nebucatnetzer avatar Oct 18 '22 11:10 Nebucatnetzer

Hey @chrisroberts thanks for merging my change.

teh-syntax avatar Nov 08 '22 23:11 teh-syntax

BTW this broke the provisioning for our Ubuntu 18.04 VMs because the package python-dev-is-python3 is missing. However I don't really mind since we're phasing out 18.04 anyway. For the moment we stay on Virtualbox 6.1 and Vagrant 2.2.19 until we've migrated all our systems to 22.04.

Nebucatnetzer avatar Dec 06 '22 13:12 Nebucatnetzer