01-03-2019 07:40 AM
Hello,
I have downloaded petalinux 2018.3 on my Ubuntu 16.04. The requirements are satisfied.
I run the installer using this command:
~/petalinux$ ./../Downloads/petalinux-v2018.3-final-installer.run
to install it in the current directory.
Also, the current directory has permission 755 and the installation file 777 permission.
When I run the installer, I get this error:
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/petalinux_installation_log awk: read error (Bad address) ./../Downloads/petalinux-v2018.3-final-installer.run: line 139: /tmp/tmp.xOOXntq0Gg/: Is a directory ERROR: Failed to extract Petalinux installer...
I tried this on my pc and also a virtual machine and the same error always happen. How can I solve this problem?
01-03-2019 06:51 PM
There were some required packages not installed. For anyone facing such error, please make sure you install the required packages found in the PetaLinux Installation Guide.
01-03-2019 06:51 PM
There were some required packages not installed. For anyone facing such error, please make sure you install the required packages found in the PetaLinux Installation Guide.
02-04-2019 12:23 PM
I followed what UG1144 (v2018.3) says on page 12 "Quick Installation of Packages", and what is missing is gawk package.
In my case, ubuntu, this is what it should be:
sudo apt-get install -y gcc git make net-tools libncurses5-dev tftpd zlib1g-dev libssl-dev flex bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential libsdl1.2-dev libglib2.0-dev zlib1g:i386 screen pax gzip gawk
02-07-2019 04:45 AM
03-09-2020 12:43 PM
04-09-2020 11:45 AM
Note this very same error will occur if the downloaded ".run" file is truncated for whatever reason. The script is searching for text in the installer with "gawk/awk" and if the command failed (solution here) or the text is not found (truncated file), then the scripting fails: a three-parameter command is handed only two parameters, and the name of the /tmp file is missing.
07-09-2020 11:49 PM
@ngiai @asobeih if I use the apt-get install, I get messages that some of the packets in the list from UG1144 need other packages ... what is the proper way to solve this? first install these too with apt-get? or use aptitude?
07-13-2020 07:22 AM
Hi @ronnywebers
You are right. You need to install the fulfill the package requirements before installing it. So, take your time installing what you need then proceed with the packages demonstrated in the user guide.
Good luck!