I'm having issues provisioning a droplet. Like others the plumberDeploy::do_provision()
command successfully generates a droplet in Digital Ocean but I then get the following error:
THIS ACTION COSTS YOU MONEY!
Provisioning a new server for which you will get a bill from DigitalOcean.
Using default ssh keys: Desktop
NB: This costs $0.00893 / hour until you droplet_delete() it
Waiting for create .......................
New server key: 01:b7:bc:52:c0:a8:58:06:a5:f6:69:90:f9:22:91:90:21:45:0d:da
2 C:\Users\User\AppData\Local\Temp\RtmpkhwXxW/kfavFyhDrq
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=523f92b1-075c-495e-b427-3b962cf23a7e
E: Could not get lock /var/lib/apt/lists/lock. It is held by process 1354 (apt-get)
E: Unable to lock directory /var/lib/apt/lists/
Error: ssh failed
sudo apt-get update -qq
In addition: Warning message:
'analogsea::debian_add_swap' is deprecated.
Use 'ubuntu_add_swap' instead.
See help("Deprecated")
I note there is the Error: ssh failed
line in there but I can confirm there is a matching SSH key on both the personal computer and DO.
I've tried updating to the most recent version of the package and still come up with the same issues.