Solved 14.3 to 15.0

It was my mistake. Everything works.
Maybe it was graphics/gpu-firmware-kmod which hadn't been reinstalled.
It seems that some of the packages that belong to FreeBSD-ports-kmods can't upgrade even with the '-f' option. It's more secure to uninstall and install anew these kind of softwares.
Maybe it was graphics/gpu-firmware-kmod which hadn't been reinstalled.
It seems that some of the packages that belong to FreeBSD-ports-kmods can't upgrade even with the '-f' option. It's more secure to uninstall and install anew these kind of softwares.
yest, this was the problem.
 
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.

Hi Emrion, do I get it right that if i want to stay with quarterly, I can just remove /usr/local/etc/pkg/repos/FreeBSD.conf, provided my /etc/pkg/FreeBSD.conf is correct as your wrote?
 
Or make /usr/local/etc/pkg/repos/FreeBSD.conf as this?
Code:
FreeBSD-ports: {
  url: "pkg+http://pkg.FreeBSD.org/${ABI}/quarterly"
}
FreeBSD-ports-kmods: {
  url: "pkg+https://pkg.FreeBSD.org/${ABI}/kmods_quarterly_${VERSION_MINOR}"
}
 
Correct (provided you don't use pkgbase).
I couldn't upgrade pkg.
Code:
# pkg bootstrap -f
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-2.5.1...
package pkg is already installed, forced install
Extracting pkg-2.5.1: 100%

# pkg upgrade -f
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-ports-kmods repository catalogue...
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/meta.conf: Could not connect to server
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/meta.txz: Could not connect to server
repository FreeBSD-ports-kmods has no meta file, using default settings
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/data.pkg: Could not connect to server
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/data.tzst: Could not connect to server
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/packagesite.pkg: Could not connect to server
pkg: Failed to fetch https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/packagesite.tzst: Could not connect to server
Unable to update repository FreeBSD-ports-kmods
Error updating repositories!
 
Well, it looks like a network problem, but you downloaded pkg just before.
I wonder why FreeBSD-ports is up-to-date and not FreeBSD-ports-kmod.

Check if you actually have internet connectivity and post the output of pkg repos.
Also the one of freebsd-version -kru.
 
I'm actually writing post using this machine.
I was able to run freebsd-update fetch and freebsd-update install to upgrade from p3 to p4, and failed to do pkg upgrade.
Code:
# freebsd-version -kru
15.0-RELEASE-p4
15.0-RELEASE-p4
15.0-RELEASE-p4

# pkg repos
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"
  }
 
Code:
# pkg-static bootstrap -f
pkg(8) is already installed. Forcing reinstallation through pkg(7).
The package management tool is not yet installed on your system.
Do you want to fetch and install it now? [y/N]: y
Bootstrapping pkg from pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly, please wait...
Verifying signature with trusted certificate pkg.freebsd.org.2013102301... done
Installing pkg-2.5.1...
package pkg is already installed, forced install
Extracting pkg-2.5.1: 100%

# pkg upgrade -f
Updating FreeBSD-ports repository catalogue...
pkg: No SRV record found for the repo 'FreeBSD-ports'
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/data.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/data.tzst -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/quarterly/packagesite.tzst -- pkg+:// implies SRV mirror type
Unable to update repository FreeBSD-ports
Updating FreeBSD-ports-kmods repository catalogue...
pkg: No SRV record found for the repo 'FreeBSD-ports-kmods'
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/data.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/data.tzst -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/packagesite.pkg -- pkg+:// implies SRV mirror type
pkg: packagesite URL error for pkg+https://pkg.FreeBSD.org/FreeBSD:15:amd64/kmods_quarterly_0/packagesite.tzst -- pkg+:// implies SRV mirror type
Unable to update repository FreeBSD-ports-kmods
Error updating repositories!
 
Weird, does the error change at each attempt?

This last error is reported many times, but no clear explanation surfaced.
You can try pkg update.
Some say that if you change mirror_type to "none", it works.

Is your date/time are ok on your machine?
 
Weird, does the error change at each attempt?

This last error is reported many times, but no clear explanation surfaced.
You can try pkg update.
Some say that if you change mirror_type to "none", it works.

Is your date/time are ok on your machine?
It IS the network issue. One of the "bad" DNS server is picked up by pkg. By running drill pkg.freebsd.org, it is found that DNS server is broken for SRV lookups. That DNS is removed; now pkg upgrade works.

Sorry for the false alarm.
 
Back
Top