14.3 to 15.0

My question to upgrade release 14.3 to 15 is if is /usr/loca/etc/pkg/repos/Freebsd.conf
where are my settings on 14.3 are:
Code:
FreeBSD: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
FreeBSD-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
and loaders-update is the same?

Thank you.
 
Remove everything from each entry and only set the url (and perhaps leave enabled in there for convenience).

Then once you are done with the base OS upgrade, rename FreeBSD to FreeBSD-ports, and FreeBSD-kmods to FreeBSD-ports-kmods.
 
Once 15.0-RELEASE will be installed you will have this in /etc/pkg/FreeBSD.conf:
Code:
FreeBSD-ports: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/quarterly",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
FreeBSD-ports-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkg",
  enabled: yes
}
FreeBSD-base: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/base_release_${VERSION_MINOR}",
  mirror_type: "srv",
  signature_type: "fingerprints",
  fingerprints: "/usr/share/keys/pkgbase-${VERSION_MAJOR}",
  enabled: no
}

Look at the repos names, they have all changed.
It means that if you want to stay in the latest repos, you have to modify your file /usr/local/etc/pkg/repos/Freebsd.conf as this:
Code:
FreeBSD-ports: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest"
}
FreeBSD-ports-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_latest_${VERSION_MINOR}"
}

Do this before to run pkg upgrade in order to finalize the 15.0-RELEASE installation (after what you can remove the old libs). It's advised to pkg bootstrap -f before to upgrade packages, but it's not always mandatory.

Concerning loaders-update, you can use whatever version. It's just a sh script. The last version 1.2.2 has the code that allows to search for aliases in the /dev tree for scanned disks. IIRC, you had a problem with that once.
 
Back
Top