UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor lzhao
Visitor
104 Views
Registered: ‎07-17-2019

petalinux-v2018.3-final-installer install error

I am installing petalinux-v2018.3-final-installer on ubuntu 16.04.1. I've created a petalinux folder, and I tried:

./petalinux-v2018.3-final-installer.run ~/petalinux/

Following is the error messge I got.

./petalinux-v2018.3-final-installer.run ~/petalinux/
./petalinux-v2018.3-final-installer.run: line 52: /harddisk1/xxxx/petalinux/petalinux_installation_log: Permission denied
tee: /harddisk1/xxxx/petalinux/petalinux_installation_log: Permission denied
INFO: Checking installation environment requirements...

tee: /harddisk1/xxxx/petalinux/petalinux_installation_log: Permission denied
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:
   /harddisk1/xxxx/petalinux/petalinux_installation_log

./petalinux-v2018.3-final-installer.run: line 139: /tmp/tmp.BRPcJQCjQP/petalinux-env-check: No such file or directory


tee: /harddisk1/xxxx/petalinux/petalinux_installation_log: Permission denied
ERROR: Failed to extract Petalinux installer...

I saw someone got into the same issue. https://askubuntu.com/questions/1104868/petalinux-v2018-2-installation-error?newreg=044779edc0f549ac84fcfa2fd2121716

But it does not work for me, I still got the same error message.

Did I miss something? Thanks!

0 Kudos
2 Replies
Moderator
Moderator
64 Views
Registered: ‎02-07-2018

Re: petalinux-v2018.3-final-installer install error

HI @lzhao 

Try running ls -l  /home/username/petalinux and if it is set to root, you  need to change to username using below command.

sudo chown -R  <owner>:<owner> /home/chenziyun/petalinux

./petalinux-v2018.2-final-installer.run /home/username/petalinux

 

Thanks & regards

Aravind

----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.
Give Kudos to a post which you think is helpful and reply oriented.
----------------------------------------------------------------------------------------------

Visitor lzhao
Visitor
56 Views
Registered: ‎07-17-2019

Re: petalinux-v2018.3-final-installer install error

 

Hi Aravind,

Thanks for the response. I ended up using following command to change the permission of the petalinux_installation_log file. And that solved my problem.

sudo chmod 777 petalinux_installation_log

 

Thanks.

Regards,

LZ

0 Kudos