Installing apt packages
Closed this issue · 1 comments
ithinkido commented
I would like to install some apt packages and I am running into a warning about unknown host type.
sudo apt update
Unknown host QEMU_IFLA type: 54`
this is using a modified test example template from here
name: Test aarch64 cpu option
on:
push:
branches:
- 'main'
- 'releases/**'
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pguyot/arm-runner-action@HEAD
with:
base_image: https://dietpi.com/downloads/images/DietPi_RPi-ARMv8-Bullseye.7z
cpu: cortex-a53
commands: |
echo "Minimal"
test `uname -m` = 'aarch64'
sudo apt update
sudo apt-get install -y git python3-pip libgeos-c1v5 libatlas-base-dev python3-venv
Is there a way to make sure of the correct apt package for each platform ?
pguyot commented
My understanding is that this kind of qemu errors are warnings about things that qemu doesn't emulate properly yet. In this case, it is benign, and the issue with your script is the disk space, you need to enlarge the disk image to be able to install all these packages. When you run apt-get install, it will be the aarch64 packages that will be installed. Please feel free to reopen if there is another issue.