NetBSD-Users archive

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

RE: pkg_add and ls not working



I did use the PKG_PATH but still the error.

 

Must I use the -r switch to tell pkg_add that the package is on the server and 
not on my system.

 

Another question :

 

Where can I set the PKG_PATH permentaly so I don't have to type it everytime I 
reboot or restart my box.

 

Roelof



----------------------------------------
> Date: Thu, 12 Jul 2012 13:17:06 -0400
> Subject: RE: pkg_add and ls not working
> From: jmitchel%bigjar.com@localhost
> To: rwobben%hotmail.com@localhost
> CC: netbsd-users%netbsd.org@localhost
>
> pkg_add uses the shell variable PKG_PATH. I believe this is set by default
> for new installs, but maybe it isn't installed when you upgrade. Anyway,
> it should look something like this:
>
> Letterman$HOSTNAME:${PWD}$ set
>
> ...
>
> PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/pub/pkgsrc/packages/NetBSD/i386/6.0_BETA_2012Q1/All
>
> ...
>
> To set it, use this command:
>
> export
> PKG_PATH=ftp://ftp.netbsd.org/pub/NetBSD/pub/pkgsrc/packages/NetBSD/i386/6.0_BETA_2012Q1/All;
>
> There are three different sets of packages for 6.0 Beta, but I think this
> is the one that is configured for new installs of 6.0 Beta.
>
> Jason M.
>
> >
> > Hello,
> >
> >
> >
> > I updated to 9.0 beta2 and my network card is running.
> >
> >
> >
> > But when I do :
> >
> >
> >
> > pkg_add lintpkgsrc or pkg_add pkgtools/lintpkgsrc
> >
> >
> >
> > I get a message that the file is not found.
> >
> > If I look at the ftp server the file is there.
> >
> >
> >
> > Anyone a idea how to solve this?
> >
> >
> >
> > Roelof
> >
> >
> >
> > ----------------------------------------
> >> From: rwobben%hotmail.com@localhost
> >> To: ml%magickarpet.org@localhost
> >> CC: netbsd-users%netbsd.org@localhost
> >> Subject: RE: pkg_add and ls not working
> >> Date: Thu, 12 Jul 2012 13:44:13 +0000
> >>
> >>
> >>
> >> Thanks for the answer.
> >>
> >> I have a Atheros AR 8131 card.
> >>
> >>
> >>
> >> Roelof
> >>
> >>
> >> ----------------------------------------
> >> > Date: Thu, 12 Jul 2012 15:42:26 +0200
> >> > From: ml%magickarpet.org@localhost
> >> > To: rwobben%hotmail.com@localhost
> >> > CC: netbsd-users%netbsd.org@localhost
> >> > Subject: Re: pkg_add and ls not working
> >> >
> >> > On Thu, Jul 12, 2012 at 07:19:22AM +0000, Roelof Wobben wrote:
> >> >
> >> > > I did enter dhclient=YES in the /etc/rc.conf but I get a message
> >> that
> >> > > no broadcast adress is found.
> >> >
> >> > You also need to set the interface to use. Assuming yours is rtk0,
> >> add:
> >> >
> >> > dhclient_flags="rtk0"
> >> >
> >> > to /etc/rc.conf.
> >> >
> >> > --
> >> > Étienne
>                                         


Home | Main Index | Thread Index | Old Index