Re: Can I use pkg_src to upgrade to current?

2019-10-15 Thread nottobay
I'm an idiot. I think I put my instead of ny for the url I gave FTP. I'll
check that sometime after I get home.

On Sun, Oct 13, 2019, 17:41 Joerg Sonnenberger  wrote:

> On Sun, Oct 13, 2019 at 11:25:16PM +0200, Rhialto wrote:
> > On Thu 10 Oct 2019 at 12:46:43 +, m...@netbsd.org wrote:
> > > Unpack all of them in / ('tar xJpf') except etc.tar.xz. That one will
> >
> > You don't even need the J option when decompressing, plain old z will
> > work too (for all the usual compressors used with tar). Sooo much more
> > convenient than Linux :) (For compressing with bzip2 J would be required
> > of course).
>
> At least in current, you need neither option.
>
> Joerg
>


Re: Can I use pkg_src to upgrade to current?

2019-10-13 Thread Joerg Sonnenberger
On Sun, Oct 13, 2019 at 11:25:16PM +0200, Rhialto wrote:
> On Thu 10 Oct 2019 at 12:46:43 +, m...@netbsd.org wrote:
> > Unpack all of them in / ('tar xJpf') except etc.tar.xz. That one will
> 
> You don't even need the J option when decompressing, plain old z will
> work too (for all the usual compressors used with tar). Sooo much more
> convenient than Linux :) (For compressing with bzip2 J would be required
> of course).

At least in current, you need neither option.

Joerg


Re: Can I use pkg_src to upgrade to current?

2019-10-13 Thread Rhialto
On Thu 10 Oct 2019 at 12:46:43 +, m...@netbsd.org wrote:
> Unpack all of them in / ('tar xJpf') except etc.tar.xz. That one will

You don't even need the J option when decompressing, plain old z will
work too (for all the usual compressors used with tar). Sooo much more
convenient than Linux :) (For compressing with bzip2 J would be required
of course).

-Olaf.
-- 
Olaf 'Rhialto' Seibert -- rhialto at falu dot nl
___  Anyone who is capable of getting themselves made President should on
\X/  no account be allowed to do the job.   --Douglas Adams, "THGTTG"


signature.asc
Description: PGP signature


Re: Can I use pkg_src to upgrade to current?

2019-10-10 Thread maya
On Wed, Oct 09, 2019 at 06:18:16PM -0400, nottobay wrote:
> I'm new to BSD in general and coming from Linux. I tried pulling the
> binaries using the installer and it isn't working for me. Can I use pkg src
> to upgrade in place from release to current or do I have to build
> everything?

One thing to note about netbsd vs. a typical linux distro, is that
there's a separation between the "base" system and the package system.

The base system in netbsd is not managed via packages, it's a set of
tarballs to unpack in /.

You can get -current binaries in
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/

If you are on an amd64 system, fetch an updated kernel and modules at:
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64/binary/kernel/netbsd-GENERIC.gz
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64/binary/sets/modules.tar.xz

cp /netbsd /onetbsd for backup reasons
gunzip netbsd-GENERIC.gz; cp netbsd-GENERIC /netbsd
cd /; tar xJpf /path/to/modules.tar.xz

reboot, make sure the new kernel works.
Download the rest of the files in:
https://nycdn.netbsd.org/pub/NetBSD-daily/HEAD/latest/amd64/binary/sets/

Unpack all of them in / ('tar xJpf') except etc.tar.xz. That one will
overwrite the passwords file.


Can I use pkg_src to upgrade to current?

2019-10-09 Thread nottobay
I'm new to BSD in general and coming from Linux. I tried pulling the
binaries using the installer and it isn't working for me. Can I use pkg src
to upgrade in place from release to current or do I have to build
everything?