LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (http://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Solaris 8 gzip issues- cannot gzip -d lynx (http://www.linuxquestions.org/questions/solaris-opensolaris-20/solaris-8-gzip-issues-cannot-gzip-d-lynx-299670/)

sixosix 03-09-2005 12:02 PM

Solaris 8 gzip issues- cannot gzip -d lynx
 
Hello-

I am running Solaris 8 on a SPARC Station 10 (NOT an Ultra). I am attempting to gunzip lynx. I did an FTP get from a sunfreeware.com ftp mirror site. I downloaded it to /tmp. When I attempt to gunzip the lynx-2.8.5-sol8-sparc-local.gz, I get a file with the same name, but no extension. It is not a package, not a directory, and not a binary. I can do nothing with it. I have tried gunzip with different options like -v, -r. I have also tried gzip -d to decompress.
When I issue an ls -la on my /tmp folder, I get this:

-rw-r--r-- 1 root other 2756608 Mar 9 12:30 lynx-2.8.5-sol8-sparc-loca
l
drwxr-xr-x 2 root other 132 Mar 9 11:56 lynx_temp
#

I am issuing all commands as root.

Can anyone help?


Thanks,
Mike

technopark02 03-09-2005 05:32 PM

Quote:

...I get a file with the same name, but no extension. It is not a package, not a directory, and not a binary ...
It is normal; and lynx-2.8.5-sol8-sparc-local is the name of the package

Can you try "pkgadd -d lynx-2.8.5-sol8-sparc-local" in /tmp directory. If it didn't install the package, please post the error message(s) and the output of "file lynx-2.8.5-sol8-sparc-local"

sixosix 03-10-2005 09:37 PM

Thanks, Technopark. I will try the pkgadd with the directory option and see what happens.
What did you mean by "and the output of "file lynx-2.8.5-sol8-sparc-local""?


Tks-
Mike

technopark02 03-10-2005 11:50 PM

Quote:

What did you mean by "and the output of "file lynx-2.8.5-sol8-sparc-local""?
file command can be used to find the file type. some examples:

% file /usr/lib/libCstd.so.1
/usr/lib/libCstd.so.1: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available

% file lynx-2.8.5-sol8-sparc-local
lynx-2.8.5-sol8-sparc-local: package datastream

sixosix 03-13-2005 03:17 PM

It worked!
 
Hello Technopark-

Thanks!

The pkgadd -d command worked like a charm and now I can surf in gorgeous command line format! :)
Funny thing, that file was a package without the .pkg extension!


Thanks for your help.
-Mike


All times are GMT -5. The time now is 11:18 PM.