Subject: Re: pkg_add tries to connect to ipv6
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Rick McCombs <rick.mccombs@gmail.com>
List: netbsd-users
Date: 11/09/2007 15:50:01
On Nov 9, 2007 2:52 PM, Manuel Bouyer <bouyer@antioche.eu.org> wrote:

> On Fri, Nov 09, 2007 at 10:42:32AM -0600, Rick McCombs wrote:
> > On Nov 9, 2007 12:18 AM, Matthias Scheler <tron@zhadum.org.uk> wrote:
> >
> > > On Thu, Nov 08, 2007 at 06:51:58PM -0600, Rick McCombs wrote:
> > > > I just installed NetBSD 3.1 and when I try to use
> > > > pkg_add it tries to connect to an ipv6 address ...
> > >
> > > What hostname are you using? If you are using "ftp.NetBSD.org"
> > > you can use the hostname "ftp4.NetBSD.org" instead.
> > >
> > > > ... and dies.
> > >
> > > You should get a message like "no route to host" and it should
> fallback
> > > to IPv4 afterwards.
> > >
> > > Please provide more information e.g. the exact "pkg_add" command that
> > > you tried to use.
> > >
> > >        Kind regards
> > >
> > > --
> > > Matthias Scheler
> http://zhadum.org.uk/
> > >
> >
> > OK this time I made more progress. Do I need to know the exact file
> name?
> > I thought If I asked for bash it would get whatever version is there.
> >
> >
> >
> > PKG_PATH=ftp://ftp4.netbsd.org/pub/pkgsrc/packages/NETBSD-3.1/i386/All
> >
> > [...]
> > ftp> prompt off
> >
> > ftp> close
> > SIGPIPE!
> > pkg_add: short write: Broken pipe
> > pkg_add: prompt failed - wrong dir?
>
> 550 NETBSD-3.1: No such file or directory.
>
> You probably want
> PKG_PATH=ftp://ftp4.netbsd.org/pub/pkgsrc/packages/NetBSD-3.1/i386/All


Oops.  Thanks
By the way I think the Guide said to use the NetBSD-4.0 directory, but I
figured since I'm running 3.1 that would be the one to use. Am I incorrect?
I found an ISO of packages so that is what I'll probably use most.



-- 
Email  rick.mccombs@gmail.com  If you want a gmail invitation just ask.
Amateur Radio AD5DU.
home page http://www.geocities.com/richard_mccombs/