General

All other little handy tips that can’t really fit in any specific category

Photography

Photography technique, tutorials and equipment review.

Computers

Tips, tutorials and solutions for Windows, Macs, Linux, Servers and Media Centers. Get the very most out of your computer. Resources for all levels from newbies and techies.

Web Design and Development

Tools, tech tips and tutorials for web design and development. Including wordpress plugins and tweaks.

Tools and Productivity

Software, web applications, scripts and tools to make your computing, design, development or networking experience more easier, enjoyable and productive.

Home » Computers, Tools and Productivity

@LongLink When Using Tar In Solaris

Submitted by

Problem

I was trying to install Archiva so that I can use it as a mirror repository for Maven and I ran into a problem when trying to extract the Archiva package which I had downloaded.

When I ran the following command

$tar -xvf apache-archiva-1.3.2-bin.tar
There were a whole bunch of the following errors:

x apache-archiva-1.3.2/apps/archiva/WEB-INF/classes/org/apache/maven/archiva/web/action/ShowArtifactAc, 6392 bytes, 13 tape blocks
tar: ././@LongLink: typeflag ‘L’ not recognized, converting to regular file

and after running the command, there was a file called @LongLink in the directory.

-rw-r–r– 1 username group 121 Nov 25 00:04 @LongLink

It turns out, Solaris tar cannot handle very long file names.

Solution

User GNU tar instead. On Solaris 10, /usr/sfw/bin/gtar is available as part of the SUNWgtar package.

$/usr/sfw/bin/gtar -xvf apache-archiva-1.3.2-bin.tar

Edwin Kwan is the founder and editor of Little Handy Tips and Wollongong Fitness. He is also the developer for the Google Custom Search WordPress plugin and Custom About Author WordPress plugin. He also has a keen interest in Photography . Find out more about him here.

Google+ 

Tags: , ,

css.php
%d bloggers like this: