Open precipios opened 2 years ago
I've had the same error. I installed the package from Github, and it now works fine, so it must be fixed in the codebase.
I've installed the package from github and get the same error:
W: --force-yes is deprecated, use one of the options starting with --allow instead.
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1820 (apt-get)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
Error: ssh failed
sudo apt-get install -y --force-yes dirmngr gnupg apt-transport-https ca-certificates software-properties-common
In addition: Warning messages:
1: 'analogsea::debian_add_swap' is deprecated.
Use 'ubuntu_add_swap' instead.
See help("Deprecated")
2: 'analogsea::debian_apt_get_install' is deprecated.
Use 'debian_apt_get_install' instead.
See help("Deprecated")
Are you using analogsea from github? I know it moved their default ubuntu version to 22. I could update github version, and then require an analogsea version.
The latest CRAN version I believe for analogsea - 1.0.7.2. I will try to mess around and see if I can fix it but if you know it will work with an earlier analogsea version then that would also be nice.
I dont know. I think this package would need more love for it to be robust enough to support multiple deployment scenarios. You can keep the same version but specify an earlier version of ubuntu like 18. At this point it is getting old, we are almost to 24.
System details
Output of
sessioninfo::session_info()()
:Example application or steps to reproduce the problem
Describe the problem in detail
The do_provision command worked once today, but failed many times before and after the successful run. It appears to get stuck on a file lock. The droplet is created, but the configuration is not completed. It fails within the first minute, before assigning the droplet to the variable. I manually delete the droplet each time it fails. I don't know why it worked once, but I cannot get it to work again. Any insights will be appreciated.
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes) no label, UUID=148b943d-d3f3-49ca-ba03-63b0f6968bed W: --force-yes is deprecated, use one of the options starting with --allow instead. E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1508 (apt-get) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? Error: ssh failed sudo apt-get install -y --force-yes dirmngr gnupg apt-transport-https ca-certificates software-properties-common In addition: Warning messages: 1: 'analogsea::debian_add_swap' is deprecated. Use 'ubuntu_add_swap' instead. See help("Deprecated") 2: 'analogsea::debian_apt_get_install' is deprecated. Use 'debian_apt_get_install' instead. See help("Deprecated")