pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

RE: pkg_add question



Related question.

If I create a few packages like this and keep in a directory, then setting 
PKG_PATH to that location should work in automatically install the packages, 
right?

Example, in the directory, there are pkg1.ver.tgz and pkg2.ver.tgz files. I 
have PKG_PATH set to that directory.
Then, doing 'pkg_add pkg1' should install from that directory right?

In my case, it is not happening. Or am I missing some metadata file? Thanks

-Siva

-----Original Message-----
From: pkgsrc-users-owner%NetBSD.org@localhost 
[mailto:pkgsrc-users-owner%NetBSD.org@localhost] On Behalf Of Ss, Sivakumar
Sent: Wednesday, January 09, 2013 3:53 PM
To: jperkin%joyent.com@localhost
Cc: pkgsrc-users%netbsd.org@localhost
Subject: RE: pkg_add question

Found the issue.
This is NetBSD 5.1
Looks like the '-s SIZEPKG' is also required for pkg_create If I do that, then 
I am getting no error.

Thanks for your help.

-Siva

-----Original Message-----
From: Jonathan Perkin [mailto:jperkin%joyent.com@localhost]
Sent: Wednesday, January 09, 2013 3:32 PM
To: Ss, Sivakumar
Cc: pkgsrc-users%netbsd.org@localhost
Subject: Re: pkg_add question

* On 2013-01-09 at 09:59 GMT, Sivakumar_Ss%dell.com@localhost wrote:

> One problem though.
> 
> Pkg_info package.tgz works but 'pkg_info -X package.tgz' dumps core 
> with 'Memory fault'.  Only the PKGNAME and COMMENT gets displayed 
> before the core dumps.

Can you put your package up somewhere?

--
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index