Hostagent Installation Failed, 'Unable to lock directory /var/cache/apt/archives'
Problem
- Hostagent installation failed with the below error.
- pf9ctl logs show below messages
Environment
- Platform9 Managed Kubernetes - v4.0 and Higher
Cause
Not able to get lock on /var/cache/apt/archive directory.
Resolution
Make sure there are no apt processes running on the node that is being onboarded and then retry the pf9ctl prep node command.
Was this page helpful?