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
Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
View Events Video Library
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Integrating PostgreSQL Databases with ANF: Join this workshop to learn how to create a PostgreSQL server using Instaclustr’s managed service

Mobile Database Essentials: Assess data needs, storage requirements, and more when leveraging databases for cloud and edge applications.

Monitoring and Observability for LLMs: Datadog and Google Cloud discuss how to achieve optimal AI model performance.

Automated Testing: The latest on architecture, TDD, and the benefits of AI and low-code tools.

Related

  • Streamlining Your Workflow With the Jenkins HTTP Request Plugin: A Guide to Replacing CURL in Scripts
  • Iptables Basic Commands for Novice
  • Simulate Network Latency and Packet Drop In Linux
  • How To Create a Stub in 5 Minutes

Trending

  • DevOps Uses a Capability Model, Not a Maturity Model
  • A Complete Guide to Open-Source LLMs
  • Auto-Scaling DynamoDB Streams Applications on Kubernetes
  • Adopting Agile Practices for Workforce Management: Benefits, Challenges, and Practices
  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.

Zach Pfeffer user avatar by
Zach Pfeffer
·
Sep. 07, 18 · Tutorial
Like (1)
Save
Tweet
Share
8.38K 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, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Streamlining Your Workflow With the Jenkins HTTP Request Plugin: A Guide to Replacing CURL in Scripts
  • Iptables Basic Commands for Novice
  • Simulate Network Latency and Packet Drop In Linux
  • How To Create a Stub in 5 Minutes

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

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

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: