Skip to content

APT not connecting? #93

@ghost

Description

With pipeline file such as:

name: Foo
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
    - name: Install MySQL Client
      run: |
        apt update
        apt install mysql-client-5.7 libmysqlclient-dev

act is hanging on apt install for a very long time. Can't it access network?

❯ act
[Foo/build] ⭐  Run actions/checkout@v2
[Foo/build]   ✅  Success - actions/checkout@v2
[Foo/build] ⭐  Run Install MySQL Client
[Foo/build]   🐳  docker pull ubuntu:18.04
[Foo/build]   🐳  docker run image=ubuntu:18.04 entrypoint=["bash" "--noprofile" "--norc" "-eo" "pipefail" "/github/home/.temp-script-903806110"] cmd=[]
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB]
Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:4 http://security.ubuntu.com/ubuntu bionic-security/main amd64 Packages [835 kB]
Get:5 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:6 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB]
Get:7 http://security.ubuntu.com/ubuntu bionic-security/multiverse amd64 Packages [7348 B]
Get:8 http://security.ubuntu.com/ubuntu bionic-security/universe amd64 Packages [823 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB]
Get:10 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB]
Get:11 http://security.ubuntu.com/ubuntu bionic-security/restricted amd64 Packages [31.0 kB]
Get:12 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB]
Get:13 http://archive.ubuntu.com/ubuntu bionic-updates/restricted amd64 Packages [44.7 kB]
Get:14 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 Packages [1127 kB]
Get:15 http://archive.ubuntu.com/ubuntu bionic-updates/multiverse amd64 Packages [11.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu bionic-updates/universe amd64 Packages [1350 kB]
Get:17 http://archive.ubuntu.com/ubuntu bionic-backports/universe amd64 Packages [4252 B]
Get:18 http://archive.ubuntu.com/ubuntu bionic-backports/main amd64 Packages [2496 B]
Fetched 17.6 MB in 3s (6137 kB/s)
Reading package lists... Done
Building dependency tree       !
Reading state information... Done
| All packages are up to date.
Reading package lists... Done
Building dependency tree       !
Reading state information... Done
| The following additional packages will be installed:
|   libaio1 libc-dev-bin libc6-dev libedit2 libmysqlclient20 libnuma1 libssl-dev
|   libssl1.1 linux-libc-dev manpages manpages-dev mysql-client-core-5.7
|   mysql-common zlib1g-dev
| Suggested packages:
|   glibc-doc libssl-doc man-browser
| The following NEW packages will be installed:
|   libaio1 libc-dev-bin libc6-dev libedit2 libmysqlclient-dev libmysqlclient20
|   libnuma1 libssl-dev libssl1.1 linux-libc-dev manpages manpages-dev
|   mysql-client-5.7 mysql-client-core-5.7 mysql-common zlib1g-dev
| 0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
| Need to get 20.5 MB of archives.
| After this operation, 115 MB of additional disk space will be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions