Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2017 21:11:45 +0200
From:      Kurt Jaeger <lists@opsec.eu>
To:        Denis Granato <denisgranato@gmail.com>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: error instaling any ports
Message-ID:  <20171017191145.GB86601@home.opsec.eu>
In-Reply-To: <CAPr2_vPnPez=U-o_3S8z-dqCtdNWXq0yM1gqjG5RqnX%2BtDgpTA@mail.gmail.com>
References:  <CAPr2_vMXWDzWnfn8gwXB8=-nYptkZQujnv01QxRJyMpxmVxK0Q@mail.gmail.com> <20171017173258.GZ86601@home.opsec.eu> <CAPr2_vPP4UzeyNyT-YN2SQB6ncXrgTxGaYm8fCY9yB814MAvyA@mail.gmail.com> <20171017174708.GA86601@home.opsec.eu> <CAPr2_vPnPez=U-o_3S8z-dqCtdNWXq0yM1gqjG5RqnX%2BtDgpTA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

> > uname -a
[...]
> > *server# uname -aFreeBSD server.avgroup.loc 9.1-PRERELEASE FreeBSD

So you have a PRERELEASE version and you have a custom kernel.

Do you know why that is ? Any specific change that needs to
be in that kernel config ?

Please check if you have a 'svn' binary somewhere, because it looks
like you need to do a source upgrade first.

rm -rf /usr/obj /usr/src
mkdir /usr/src
cd /usr/src
svn checkout https://svn.freebsd.org/base/release/9.3.0/ .
make buildworld
make buildkernel
make installkernel
make installworld
mergemaster -UiP
shutdown -r now
cd /usr/src
make check-old
make delete-old
make delete-old-libs

> *server# freebsd-update -r 9.3-RELEASE upgradeLooking up update.freebsd.org
> <http://update.freebsd.org>; mirrors... 3 mirrors found.Fetching public key
> from update6.freebsd.org... failed.Fetching public key from
> update5.freebsd.org... failed.Fetching public key from
> update4.freebsd.org... failed.No mirrors remaining, giving up*

Well, freebsd-update only works on GENERIC kernels and systems, so
your first step needs to be a source upgrade.

Please note: Your binaries from 9.1-PRE will work on 9.3, and probably on
10.x, so no need to worry about the packages installed for now. 

You can rebuild your ports when you're on 10.x.

-- 
pi@opsec.eu            +49 171 3101372                         3 years to go !



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171017191145.GB86601>