pkg: initial install fails (valid certificate missing)

Hi all,

I tried to install FreeBSD on my MacBook... installation completed without errors, reboot, everything's fine.
Over the course of installing gnome I have to install pkg first. During bootstrapping the system displays:

"No trusted fingerprint found matching package's certificate."

After deactivating "signature_type" and "fingerprints" in FreeBSD.conf following is shown:

"pkg: archive_read_open_fd: Unrecognized archive format"

Which step is missing? I have no further ideas, sorry.


Thanks for helping!
 
The /etc/pkg/FreeBSD.conf should look like this:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}

Fingerprints are preinstalled and should be good.

This is a brand new install right? In the off chance it has something to do with recent patches I would suggest trying to update FreeBSD itself first; freebsd-update fetch install. You should have a 13.1-RELEASE-p3 kernel and a 13.1-RELEASE-p5 userland.
 
The /etc/pkg/FreeBSD.conf should look like this:
Code:
FreeBSD: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
Exactly, that's the current configuration.

This is a brand new install right? In the off chance it has something to do with recent patches I would suggest trying to update FreeBSD itself first; freebsd-update fetch install. You should have a 13.1-RELEASE-p3 kernel and a 13.1-RELEASE-p5 userland.
Correct - brand new installed system.
I'll try to update BSD next - thank's!

Interesting progress:

"2 mirrors found.
Fetching public key from update2.freebsd.org... key has incorrect hash.
Fetching public key from update1.freebsd.org... key has incorrect hash.
No mirrors remaining, giving up.

This may be because upgrading from this platform (amd64) or release (13.1-RELEASE) is unsupported by freebsd-update.
Only platforms with Tier1 support can be upgraded."
 
Where did you get the FreeBSD installer from? Is there perhaps a proxy in your path that might mangle downloads?
 
Back
Top