Subject: Re: packages and basic system service configuration
To: port-Mac68k netbsd mailing list <port-mac68k@netbsd.org>
From: Josh Kuperman <josh@saratoga.lib.ny.us>
List: port-mac68k
Date: 02/13/2001 18:53:40
On Mon, Feb 12, 2001 at 05:39:20PM -0800, Bill Studenmund wrote:
> On Mon, 12 Feb 2001, Josh Kuperman wrote:
> 
> I think if you use pkg_add
> ftp://ftp.netbsd.org/path/to/packages/packagename.tgz, when pkg_add
> detects it needs a package, it will download it too.
> 

This looks reasonable. And I did give it a try, but I'm missing
something. Either I need a package to install packages, or I need to
use an option I missed.

Here is what I tried -- first with a2ps and then when I tried lynx I
had the same results more or less.


First try something easy.

============================================================
bash-2.04# pkg_add ftp://ftp@ftp.netbsd.org/NetBSD/packages/1.5/mac68k/All/a2ps
Password:
pkg_add: expect1 failed, rc=550
pkg_add: ftp_start() failed
pkg_add: unpackURL: verification expandURL failed
Error on unpackURL('ftp://ftp@ftp.netbsd.org/NetBSD/packages/1.5/mac68k/All/a2ps', '/var/tmp/instmp.04128a')
pkg_add: unable to fetch `ftp://ftp@ftp.netbsd.org/NetBSD/packages/1.5/mac68k/All/a2ps' by URL
pkg_add: fileFindByPath: expandURL('ftp://ftp@ftp.netbsd.org/NetBSD/packages/1.5/mac68k/All/a2ps-[0-9]*.tgz') failed

pkg_add: no pkg found for 'ftp://ftp@ftp.netbsd.org/NetBSD/packages/1.5/mac68k/All/a2ps-[0-9]*.tgz' on 2nd try, sorry.

============================================================ 

OK so there were maybe some errors with the path translation and the
matching of the regular expression, so I used the formally correct
path name and spelled out the package name.


============================================================
bash-2.04# pkg_add ftp://ftp:ftp@ftp.netbsd.org/NetBSD/packages/1.5/m68k/All/a2ps-4.12.tgz
pkg_add: expect1 failed, rc=550
pkg_add: ftp_start() failed
pkg_add: unpackURL: verification expandURL failed
Error on unpackURL('ftp://ftp:ftp@ftp.netbsd.org/NetBSD/packages/1.5/m68k/All/a2ps-4.12.tgz', '/var/tmp/instmp.04140a')
pkg_add: unable to fetch `ftp://ftp:ftp@ftp.netbsd.org/NetBSD/packages/1.5/m68k/All/a2ps-4.12.tgz' by URL


============================================================ 

Maybe it had to do with something else -- though I like a2ps it's not
urgent. So I will try to get lynx and see what happens. The first
problem is lynx in not listed with the packages for 1.5 so I tried the
1.4.3 package, but I still wasn't able to get it.

------------------------------------------------------------



-- 
Josh Kuperman                       
josh@saratoga.lib.ny.us