DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Programmatic Brand Extraction: Pulling Logos, Colors, and Assets from Any URL
  • Deploying a Scala Play Application to Heroku: A Step-by-Step Guide
  • Spring Boot GoT: Game of Trace!
  • Using a Body With an HTTP Get Method Is Still a Bad Idea

Trending

  • The Trust Problem in Modern SaaS: Why Your Authentication Succeeded, and You Still Got Breached
  • Introducing RAI Audit Kit: Evidence-Grade Responsible AI Audits in Python
  • Your AI Is Not Failing, Your Context Is
  • Implementing the Planning Pattern With Java Enterprise and LangChain4j
  1. DZone
  2. Coding
  3. Languages
  4. Resolving PetaLinux Tools 2018.2 Error ''installation error: tar: .: Cannot utime: Operation not permitted''

Resolving PetaLinux Tools 2018.2 Error ''installation error: tar: .: Cannot utime: Operation not permitted''

If you're seeing this error when installing PetaLinux Tools 2018.2, read on to learn how to resolve it from the command line.

By 
Zach Pfeffer user avatar
Zach Pfeffer
·
Sep. 07, 18 · Tutorial
Likes (1)
Comment
Save
Tweet
Share
9.4K Views

Join the DZone community and get the full member experience.

Join For Free

This post shows you how to resolve "tar: .: Cannot utime: Operation not permitted tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted tar: Exiting with failure status due to previous errors" during a PetaLinux Tools 2018.2 Installation.

Here is the complete error:

zpfeffer@z:~/xpkgs$ ./petalinux-v2018.2-final-installer.run /opt/pkg/petalinux
INFO: Checking installer checksum...
INFO: Extracting PetaLinux installer...

LICENSE AGREEMENTS

PetaLinux SDK contains software from a number of sources.  Please review
the following licenses and indicate your acceptance of each to continue.

You do not have to accept the licenses, however if you do not then you may 
not use PetaLinux SDK.

Use PgUp/PgDn to navigate the license viewer, and press 'q' to close

Press Enter to display the license agreements
Do you accept Xilinx End User License Agreement? [y/N] > y
Do you accept Webtalk Terms and Conditions? [y/N] > y
Do you accept Third Party End User License Agreement? [y/N] > y
INFO: Checking installation environment requirements...
INFO: Checking free disk space
INFO: Checking installed tools
INFO: Checking installed development libraries
INFO: Checking network and other services
WARNING: No tftp server found - please refer to "PetaLinux SDK Installation Guide" for its impact and solution
INFO: Installing PetaLinux...
INFO: Checking PetaLinux installer integrity...
INFO: Installing PetaLinux SDK to "/opt/pkg/petalinux/."
................................................................................................................................................................................................................................................................................tar: .: Cannot utime: Operation not permitted
tar: .: Cannot change mode to rwxr-xr-x: Operation not permitted
tar: Exiting with failure status due to previous errors
*********************************************
ERROR: Failed to install PetaLinux SDK into "/opt/pkg/petalinux/."
*********************************************

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/zpfeffer/xpkgs/petalinux_installation_log

To fix it, check who owns /opt/pkg/petalinux:

1. Type cd /opt/pkg  

2. Type ls -l  

If you see root listed as the owner and root listed as the group, this fix will work:

3. Type cd petalinux/  

4. Type rm -rf *  

5. Type cd ..  

6. Type  sudo chown -R zpfeffer:zpfeffer /opt/pkg/petalinux 

7. Type ls -l  

You should see:

zpfeffer@z:/opt/pkg$ ls -l .
total 4
drwxrwxrwx 5 root root 4096 Aug 31 14:32 petalinux


8. Now re-run 

./petalinux-v2018.2-final-installer.run /opt/pkg/petalinux

 as the user you set.


Reference:

Xilinx logo found via https://twitter.com/xilinxinc at [link]

POST (HTTP) Logo (programming language)

Published at DZone with permission of Zach Pfeffer. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Programmatic Brand Extraction: Pulling Logos, Colors, and Assets from Any URL
  • Deploying a Scala Play Application to Heroku: A Step-by-Step Guide
  • Spring Boot GoT: Game of Trace!
  • Using a Body With an HTTP Get Method Is Still a Bad Idea

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook