mirror of
https://github.com/nektos/act.git
synced 2026-04-27 01:45:52 +03:00
[GH-ISSUE #2456] Workflows hangs on apt install command #1134
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#1134
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wawrzek on GitHub (Sep 12, 2024).
Original GitHub issue: https://github.com/nektos/act/issues/2456
Bug report info
Command used with act
Describe issue
One of the steps is to install a few Ubuntu packages. The process hangs
Link to GitHub repository
No response
Workflow content
Relevant log output
act -vdoes not show anything special.Additional information
No response
@sebastien-perpignane commented on GitHub (Sep 15, 2024):
hey @wawrzek
I would try something like this:
It looks like apt is running in interactive mode.
@wawrzek commented on GitHub (Sep 16, 2024):
@sebastien-perpignane good point. I'm quite surprised that the '-y' is missing. I wonder how it worked on GitHub? However, I lost '-y' quite recently, rewriting workflows to fit in 80 lines, and I didn't lose them everywhere. In the most case it's still there.
Anyway, thank you very much.
@sebastien-perpignane commented on GitHub (Sep 16, 2024):
@wawrzek full github image probably contains a preconfigured apt command to always run in non interactive mode.
@wawrzek commented on GitHub (Sep 16, 2024):
Good point. Maybe worth to add it to the documentation. I created the issue with similar "problem": https://github.com/nektos/act/issues/2462