mxschmitt / action-tmate

Debug your GitHub Actions via SSH by using tmate to get access to the runner system itself.
https://mxschmitt.github.io/action-tmate/
MIT License
2.95k stars 289 forks source link

Doesn't seem to work with sudo false #168

Open njt1982 opened 1 year ago

njt1982 commented 1 year ago
Post job cleanup.
Reading package lists...
E: Could not open lock file /var/lib/apt/lists/lock - open (1[3](https://github.com/XXX/YYY/actions/runs/5530756574/jobs/10090563915#step:16:3): Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
Error: Error: 100

Without the sudo:false part, it works great!