freebsd-update fetch src component not installed.,

Why do I get this error message?
Code:
freebsd-update fetch
src component not installed, skipped
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update4.freebsd.org... failed.
Fetching public key from update6.freebsd.org... failed.
Fetching public key from update5.freebsd.org... failed.
No mirrors remaining, giving up.
 
You don't have the sources installed so there's nothing to update and it skips it. The other errors typically happen when you try to update a -STABLE or -CURRENT version, freebsd-update(8) only works for -RELEASE versions.
 
  • Thanks
Reactions: fvs
Hello to all !
I am trying to upgrade 9.1 stable to 11. release. Now I have
Code:
 uname -a
FreeBSD inv 9.1-STABLE FreeBSD 9.1-STABLE #0: Fri Mar 22 11:18:29 EET 2013     root@payments:/usr/obj/usr/src/sys/MYKERNEL  amd64

When trying to run freebsd-update there is error:
Code:
freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 3 mirrors found.
Fetching public key from update4.freebsd.org... failed.
Fetching public key from update5.freebsd.org... failed.
Fetching public key from update6.freebsd.org... failed.
No mirrors remaining, giving up.

freebsd-update fetch -s update2.freebsd.org
Looking up update2.freebsd.org mirrors... none found.
Fetching public key from update2.freebsd.org... failed.
No mirrors remaining, giving up.

How can I upgrade to 11.1, should I first change it to Release and then using these steps for example to perform upgrade?
 
It's been mentioned a couple of times, freebsd-update(8) only works for -RELEASE versions.

How can I upgrade to 11.1
The same way you got -STABLE in the first place, by building it from source.

should I first change it to Release
I would recommend switching to a -RELEASE, yes. Use the source to upgrade the machine to 9.3-RELEASE first, then use freebsd-update(8) to upgrade to 11.1-RELEASE. From then on you can keep using freebsd-update(8) to update/upgrade.
 
Yes, but perform upgrade to 10.1 than do 11.1, cause there were some error when trying directly to 11.1.

Anyway I stuck at the first line -> freebsd-update fetch

I would recommend switching to a -RELEASE, yes. Use the source to upgrade the machine to 9.3-RELEASE first, then use freebsd-update(8) to upgrade to 11.1-RELEASE. From then on you can keep using freebsd-update(8) to update/upgrade.

Can you provide some guide, step by step please ?
 
I try this but more errors appears.

Code:
svn update /usr/src/
Skipped '/usr/src'
svn: E155007: None of the targets are working copies

in /usr/src/UPDATING I see:
20130930:
9.2-RELEASE.

"svn info" get the same result

Should I move /usr/src to /usr.src.back and try ?
Code:
svn checkout https://svn.freebsd.org/base/release/9.1.0/ /usr/src
 
Yes, the code you have now in /usr/src needs to be moved out of they way, it was never created with SVN so cannot be updated with it.

Don't use the /release/* branches, they're only there for administrative purposes. And you don't want to switch to 9.1-RELEASE because that's effectively a downgrade from 9.1-STABLE. And due to a bug in freebsd-update(8) I would recommend upgrading to 9.3-RELEASE (the freebsd-update(8) bug is fixed there).

Use svn co https://svn.freebsd.org/base/releng/9.3 /usr/src/ to upgrade to 9.3-RELEASE.
 
Back
Top