After having upgraded FreeBSD from 15 to 15.1 when 15.1 was released, for some reason when doing
This is what I get when I run pkg upgrade:
If I let it upgrade, the old packages will be installed and graphics drivers no longer work, i.e. the system will crash whenever I try to open a window manager. To fix this I have to deinstall everything and install the latest driver from ports. I've locked the nvidia-drm-kmod package, so I can upgrade the rest of the packages without problems.
Does anyone have any idea why pkg keeps offering to install a 1500068 package from a latest repo if I no longer have that kernel installed? That shouldn't be happening, right? Do I need to change the priorities in /usr/local/etc/pkg/repos/FreeBSD.conf or what am I missing?
This is what
15.1-RELEASE-p2 1501000 1501000
Here's /usr/local/etc/pkg/repos/FreeBSD.conf:
pkg upgrade, pkg tries to install old nvidia-drm-66-kmod: 595.91.07.1500068, while I already have a newer version installed for 15.1 kernel.This is what I get when I run pkg upgrade:
Code:
The following 3 package(s) will be affected (of 0 checked):
New packages to be INSTALLED:
drm-66-kmod: 6.6.25.1501000_9 [FreeBSD-ports-kmods]
nvidia-drm-66-kmod: 595.91.07.1500068 [FreeBSD-ports]
Installed packages to be UPGRADED:
nvidia-drm-kmod: 595.84 -> 595.91.07 [FreeBSD-ports]
Number of packages to be installed: 2
Number of packages to be upgraded: 1
If I let it upgrade, the old packages will be installed and graphics drivers no longer work, i.e. the system will crash whenever I try to open a window manager. To fix this I have to deinstall everything and install the latest driver from ports. I've locked the nvidia-drm-kmod package, so I can upgrade the rest of the packages without problems.
Does anyone have any idea why pkg keeps offering to install a 1500068 package from a latest repo if I no longer have that kernel installed? That shouldn't be happening, right? Do I need to change the priorities in /usr/local/etc/pkg/repos/FreeBSD.conf or what am I missing?
This is what
uname -KrU gives me:15.1-RELEASE-p2 1501000 1501000
Here's /usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD-ports: {
url: "pkg+https://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
priority: 0
}
FreeBSD-ports-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
priority: 10
}
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: yes
priority: 5
}