Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

All Forums Register Login Search Subscriptions My Profile Inbox
Tool Warehouse FAQs Resources Help Member List Address Book Logout

pkg_add

 
Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> pkg_add Page: [1]
Login
Message << Older Topic   Newer Topic >>
pkg_add - Sep. 27, '06, 5:58:13 PM   
mhovers

 

Posts: 51
Joined: Oct. 15, '02,
Status: offline
I am trying to install ddd using pkg_add.

When I do pkg_add ftp://ftp.interopsystems.com/pkgs/3.5/ddd-current-bin.tgz

I get:
gzip: stdin: unexpected end of file
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
pkg_add(ddd-current-bin): URL `ftp://ftp.interopsystems.com/pkgs/3.5/ddd-current-bin.tgz' has unknown hostname part!
pkg_add(ddd-current-bin): unable to fetch `ftp://ftp.interopsystems.com/pkgs/3.5/ddd-current-bin.tgz' by URL
$ exit

So I downloaded ddd-current-bin.tgz

and tried it from the local directory and get:

pkg_add ./ddd-current-bin.tgz

gzip: stdin: unexpected end of file
tar: End of archive volume 1 reached
tar: Sorry, unable to determine archive format.
pkg_add(libxpm-3.4k.3-bin): URL `ftp://ftp.interopsystems.com/pkgs/3.5/libxpm-3.4k.3-bin.tgz' has unknown hostname part!
pkg_add(libxpm-3.4k.3-bin): unable to fetch `ftp://ftp.interopsystems.com/pkgs/3.5/libxpm-3.4k.3-bin.tgz' by URL
pkg_add(ddd-current-bin): autoload of dependency `ftp://ftp.interopsystems.com/pkgs/3.5/libxpm-3.4k.3-bin.tgz' failed!

What am I doing wrong?

thanks,
Mike
Post #: 1
RE: pkg_add - Sep. 27, '06, 10:10:21 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
> has unknown hostname part!

That's the big clue there.
Try doing an ftp to ftp.interopsytems.com from a shell directly.
Check your /etc/resolv.conf has nameserver point to a DNS IP correctly.

(in reply to mhovers)
Post #: 2
RE: pkg_add - Sep. 28, '06, 12:19:11 PM   
mhovers

 

Posts: 51
Joined: Oct. 15, '02,
Status: offline
I can not ftp to interop, I believe our corporate firewall prevents it. That is why I tried to do the pkg_add with the downloaded package, but that did not work either.

thanks,
Mike

(in reply to Rodney)
Post #: 3
RE: pkg_add - Sep. 28, '06, 12:48:33 PM   
mhovers

 

Posts: 51
Joined: Oct. 15, '02,
Status: offline
In reading the man pages for pkg_update it would seem that I should be able to load a package that is on my local machine (such as openssl). There is the following:
ENVIRONMENT
PKG_LOCATION
If a location for a package has not be specified explicitly
in the package name or with the -l option then the location
given in PKG_LOCATION is used to find the package. The loca-
tion may be either a local pathname which includes the /net
filesystem, or an FTP URL. The default when no setting is
specified is the FTP URL of:
ftp://ftp.interopsystems.com/pkgs/{VERSION}-{HARDWARE}
Where {VERSION} is the version of Interix and {HARDWARE} is
type of CPU hardware for the machine (both as reported by
'uname').

My file system path where the openssl-current-bin.tgz file is located looks like /dev/fs/P/software/sfu. Where would the /net mentioned above come in??

thanks,
Mike

(in reply to mhovers)
Post #: 4
RE: pkg_add - Sep. 29, '06, 1:47:03 PM   
Rodney

 

Posts: 3695
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
The "/net" is mentioned just so people understand that it's not restricted to local filesystems.
You can have the packages stored on a network filesystem too.
If you are placing everything in one directory that is good.

The other thing is if you have an ftp or http proxy you can get this for ftp
to use to go by the firewall. Refer to "ftp_proxy" in the ftp man page.

(in reply to mhovers)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> Tools Discussion Forum >> pkg_add Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.063