You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
install-dependencies fails with 'sudo: apt-get: command not found' on self-hosted runner #652
When using install-dependencies: true on a self-hosted runner (Ubuntu 24.04), the action fails with sudo: apt-get: command not found during the dependency installation step, even though apt-get works fine in other workflow steps.
The issue appears to be that sudo on the self-hosted runner has a secure_path that differs from the user's PATH. When the action invokes apt-get without a full path, sudo cannot resolve it. Direct workflow steps appear to handle this differently (possibly using /usr/bin/apt-get implicitly).
Activity
k3wio commentedon May 20, 2026
#597
browser-actions/actions-swing#11