issue upgradning src

Yuri Pankov yuripv at yuripv.net
Wed Dec 5 16:43:27 UTC 2018


Maciej Jan Broniarz wrote:
> 
> 
> ----- Oryginalna wiadomość -----
> Od: "Yuri Pankov" <yuripv at yuripv.net>
> Do: "Maciej Jan Broniarz" <gausus at gausus.net>
> DW: "freebsd-stable" <freebsd-stable at freebsd.org>
> Wysłane: środa, 5 grudzień 2018 17:34:15
> Temat: Re: issue upgradning src
> 
> Maciej Jan Broniarz wrote:
>>
>>
>> ----- Oryginalna wiadomość -----
>> Od: "Patrick M. Hausen" <hausen at punkt.de>
>> Do: "Maciej Jan Broniarz" <gausus at gausus.net>
>> DW: "freebsd-stable" <freebsd-stable at freebsd.org>
>> Wysłane: środa, 5 grudzień 2018 16:56:53
>> Temat: Re: issue upgradning src
>>
>> Hello,
>>
>>> Am 05.12.2018 um 16:45 schrieb Maciej Jan Broniarz <gausus at gausus.net>:
>>> I want to upgrade my 12.0-ALPHA8 to the latest release, yet I am unable to update from source:
>>> [...]
>>> #freebsd-update fetch
>>
>>> freebsd-update upgrade -r 12.0-RC3
>>
>> I have tried that, but it didn't solve the problem:
>>
>> #/usr/src # freebsd-update upgrade -r 12.0-RC3
>> Looking up update.FreeBSD.org mirrors... 2 mirrors found.
>> Fetching public key from update4.freebsd.org... failed.
>> Fetching public key from update1.freebsd.org... failed.
>> No mirrors remaining, giving up.
> 
>> I don't think you can use freebsd-update to upgrade from ALPHA.
> 
>> For the `svn update`, sources installed from ISO are NOT svn checkout,
>> so you need to do that first removing what you currently have in
>> /usr/src --
>> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html,
>> specifically see a note in 23.5.3 with a "Obtaining the Source" header.
> 
> I have downloaded the sources with svn:
> 
> svn checkout https://svn.freebsd.org/base/releng/12.0
> 
> Still:
>  # svn info /usr/src
> svn: E155007: '/usr/src' is not a working copy

If that's the *exact* command you used, you now have a checkout in
"12.0" subdirectory of your $CWD.  What you need is something like the
following:

# rm -rf /usr/src/*
# svn checkout https://svn.freebsd.org/base/releng/12.0 /usr/src

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20181205/f6c204f5/attachment.sig>


More information about the freebsd-stable mailing list