m_iidas’s blog

日々学習

Ubuntu 18.04.3 LTSでPetaLinux 2019.2のインストール中にawk: read error (Bad address)が発生する

環境

  • Ubuntu 18.04.3 LTS
  • PetaLinux 2019.2

問題

インストール中にawk: read error (Bad address)が発生する。

$ bash ./petalinux-v2019.2-final-installer.run /opt/pkg/petalinux/2019.2
INFO: Checking installation environment requirements...
awk: read error (Bad address)

Please refer to the PetaLinux Tools Installation Guide.

Check the troubleshooting guide at the end of that manual, and if you are
unable to resolve the issue please contact customer support with file:
   /home/user/petalinux_installation_log

./petalinux-v2019.2-final-installer.run: line 148: /tmp/tmp.tJD0mW7l5j/petalinux-env-check: No such file or directory   ERROR: Failed to extract Petalinux installer...

解決方法

GNU awkをインストールする。

$ sudo apt install gawk