FreeBSD has no meta file, using default settings

Unable to do anything with pkgs...

FreeBSD has no meta file, using default settings

Code:
pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.conf -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.txz -- pkg+:// implies SRV mirror type
repository FreeBSD has no meta file, using default settings

I can ping without any problem and also did a freebsd-update without problem.

This is over ssh if it makes any difference.
 
Unable to do anything with pkgs...

FreeBSD has no meta file, using default settings

Code:
pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.conf -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest/meta.txz -- pkg+:// implies SRV mirror type
repository FreeBSD has no meta file, using default settings

I can ping without any problem and also did a freebsd-update without problem.

This is over ssh if it makes any difference.
Your repo configuration seems to be outdated or broken.
Currently, URLs in any of stub configs start from pkg+http[COLOR=rgb(184, 49, 47)][B]s[/B][/COLOR], not pkg+http.
See all 3 files that are named starting from FreeBSD.conf.
 
Your repo configuration seems to be outdated or broken.
Currently, URLs in any of stub configs start from pkg+http[COLOR=rgb(184, 49, 47)][B]s[/B][/COLOR], not pkg+http.
See all 3 files that are named starting from FreeBSD.conf.
Can I just copy this file from another installation?

What actually installs this file?
 
Can I just copy this file from another installation?

What actually installs this file?
Usually bsdinstall(8) in istallation media would copy appropreate one as /etc/pkg/FreeBSD.conf.

On upgrades, etcupdate(8) (on 15.0 and later at least) or mergemaster(8) (prior to 15.0 but some would switch to etcupdate(8) earlier) would do.

For stable/15 and main (aka CURRENT), FreeBSD.conf.latest and for 15.0-RELEASE, whichever (not sure as I'm on stable/15) of FreeBSD.conf.quarterly or FreeBSD.conf.quarterly-release would be chosen by default.

Note that if you're overriding the default in /usr/local/etc/pkg/repos/, you need to fix yours there.
 
Please show us pkg repos.

Code:
FreeBSD-ports: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
FreeBSD-ports-kmods: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
FreeBSD-base: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
    enabled         : no,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkgbase-15"
  }
FreeBSD: {
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 0
  }
 
Unless you have a backup strategy , there is no copy of /usr/local/etc/pkg/repos.
That is your "personal setting".
There is /etc/pkg/
This "base" , gets updated with freebsd-upgrade ....
What is uname -a ?
 
Code:
FreeBSD-ports: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
FreeBSD-ports-kmods: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0",
    enabled         : yes,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkg"
  }
FreeBSD-base: {
    url             : "pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/base_release_0",
    enabled         : no,
    priority        : 0,
    mirror_type     : "SRV",
    signature_type  : "FINGERPRINTS",
    fingerprints    : "/usr/share/keys/pkgbase-15"
  }
FreeBSD: {
    url             : "pkg+http://pkg.FreeBSD.org/FreeBSD:15:amd64/latest",
    enabled         : yes,
    priority        : 0
  }
At least the last entry could be problematic.
Try removing it from where it is set. And don't enable both entries for latest and quarterly at the same time.
Maybe the former 3 entries are from /etc/pkg/FreeBSD.conf and the last one from elsewhere. See Chapter 4.4.2 of the Handbook first.
 
Just remove unnecesarry lines from /usr/local/etc/pkg/repos/FreeBSD.conf
Then the ones from /etc/pkg/FreeBSD.conf will be used.
Don't put lines from /etc/pkg/FreeBSD.conf into /usr/local/etc/pkg/repos/FreeBSD.conf [Advice from SirDice]
 
Back
Top