Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

installing lsof

Status
Not open for further replies.

dandan123

Technical User
Joined
Sep 9, 2005
Messages
505
Location
US
I've downloaded lsof off sunfreeware.com.

I did a gunzip on the downloaded file and then did a pkgadd when I got a message saying no "no packages found"

when i did a file lsof.........

It says it's a text file.

Any idea what I'm doing wrong ?
 
Can you show us the pkgadd command you used... By default, pkgadd looks for the package in /var/spool/pkg. You need to use the -d option with a discrete path if your package is in a different directory.
 
I did a pkgadd -d .

I was in the directory where I'd unzipped lsof

 
yeah that worked, thanks.

What was the problem ?
 
But the error message said "no packages found in <directory> and it gave the correct directory name so I assumed it was looking in the directory and not finding anything.

 
Packages come in two formats... extracted in a directory, or combined into one file. The SunFreeware packages are generally in the second format. The pkgtrans command can translate the packages between the two formats. If you specify -d <directory_name>, pkgadd will presume you are using a the "directory" format.

Annihilannic.
 
Thanks Annihilannic for the explanation.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top