Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2024 14:24:05 +0000
From:      Graham Perrin <grahamperrin@gmail.com>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports@freebsd.org, stable@freebsd.org
Subject:   kmods_quarterly_${VERSION_MINOR} (was: Unable to update repository FreeBSD-kmods)
Message-ID:  <126c2ae7-1811-4825-8e0a-5faf8fea9711@gmail.com>
In-Reply-To: <4ukwptncwz7cgz4dk6jd36t4hvnopwf42psunxwgpfbdueoq5g@byeq4r7uk476>
References:  <ty2lvljaq7jd65li2wn4ayrc43dzqlq27l3xwx7vg4rzm6nce5@iy446llm7u3n> <8aa1d849-508a-4935-9ff2-3d191e1b170c@gmail.com> <4ukwptncwz7cgz4dk6jd36t4hvnopwf42psunxwgpfbdueoq5g@byeq4r7uk476>

next in thread | previous in thread | raw e-mail | index | archive | help
On 13/12/2024 13:39, Baptiste Daroussin wrote:
> …
>
> replace VERSION_VERSION with VERSION_MINOR
>
> Best regards,
> Bapt

Thank you.

Now: whilst the repository does update, successfully, a package 
(drm-61-kmod) does not upgrade unless the one repository is specified 
for the upgrade.

Should I experimentally raise the priority of FreeBSD-kmods?

(In a test that preceded your CFT, priority 5 seemed appropriate for my 
case.)


root@fourteen-pkgbase:~ # history -S
root@fourteen-pkgbase:~ # ee /usr/local/etc/pkg/repos/FreeBSD-kmods.conf

root@fourteen-pkgbase:~ # pkg update -r FreeBSD-kmods
Updating FreeBSD-kmods repository catalogue...
pkg: Repository FreeBSD-kmods has a wrong packagesite, need to re-create 
database
Fetching meta.conf: 100%    178 B   0.2kB/s    00:01
Fetching data.pkg: 100%   12 KiB  12.6kB/s    00:01
Processing entries: 100%
The provides database is up-to-date.
FreeBSD-kmods repository update completed. 43 packages processed.
All repositories are up to date.
root@fourteen-pkgbase:~ # pkg -vv | grep -B 1 -e url -e priority
  FreeBSD-ports: {
    url             : 
"pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/quarterly",
    enabled         : yes,
    priority        : 0,
-- 
  FreeBSD-base: {
    url             : 
"pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/base_release_2",
    enabled         : yes,
    priority        : 0,
-- 
  FreeBSD-kmods: {
    url             : 
"pkg+https://pkg.freebsd.org/FreeBSD:14:amd64/kmods_quarterly_2",
    enabled         : yes,
    priority        : 0,
-- 
  local-poudriere: {
    url             : 
"file:///usr/local/poudriere/data/packages/fourteen-default",
    enabled         : yes,
    priority        : 3
root@fourteen-pkgbase:~ # grep url 
/usr/local/etc/pkg/repos/FreeBSD-kmods.conf
        url: 
pkg+https://pkg.freebsd.org/${ABI}/kmods_quarterly_${VERSION_MINOR}
root@fourteen-pkgbase:~ # pkg delete -y drm-kmod ; pkg delete -y 
drm-61-kmod
No packages matched for pattern 'drm-kmod'

Checking integrity... done (0 conflicting)
1 packages requested for removal: 0 locked, 1 missing
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 
packages in the universe):

Installed packages to be REMOVED:
        drm-61-kmod: 6.1.92.1402000_3

Number of packages to be removed: 1

The operation will free 17 MiB.
[1/1] Deinstalling drm-61-kmod-6.1.92.1402000_3...
[1/1] Deleting files for drm-61-kmod-6.1.92.1402000_3: 100%
root@fourteen-pkgbase:~ # pkg install --repo FreeBSD-ports -y --quiet 
--no-repo-update drm-61-kmod
=====
Message from drm-61-kmod-6.1.92:

-- 
The drm-61-kmod port can be enabled for amdgpu (for AMD
GPUs starting with the HD7000 series / Tahiti) or i915kms (for Intel
APUs starting with HD3000 / Sandy Bridge) through kld_list in
/etc/rc.conf. radeonkms for older AMD GPUs can be loaded and there are
some positive reports if EFI boot is NOT enabled.

For amdgpu: kld_list="amdgpu"
For Intel: kld_list="i915kms"
For radeonkms: kld_list="radeonkms"

Please ensure that all users requiring graphics are members of the
"video" group.
root@fourteen-pkgbase:~ # pkg upgrade -n
Updating FreeBSD-ports repository catalogue...
FreeBSD-ports repository is up to date.
Updating FreeBSD-base repository catalogue...
FreeBSD-base repository is up to date.
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
Updating local-poudriere repository catalogue...
local-poudriere repository is up to date.
All repositories are up to date.
Checking for upgrades (4 candidates): 100%
Processing candidates (4 candidates): 100%
Checking integrity... done (0 conflicting)
Your packages are up to date.
root@fourteen-pkgbase:~ # pkg upgrade -n -r FreeBSD-kmods
Updating FreeBSD-kmods repository catalogue...
FreeBSD-kmods repository is up to date.
All repositories are up to date.
Checking for upgrades (1 candidates): 100%
Processing candidates (1 candidates): 100%
Checking integrity... done (0 conflicting)
The following 1 package(s) will be affected (of 0 checked):

Installed packages to be UPGRADED:
        drm-61-kmod: 6.1.92 -> 6.1.92.1402000_3 [FreeBSD-kmods]

Number of packages to be upgraded: 1
root@fourteen-pkgbase:~ #




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?126c2ae7-1811-4825-8e0a-5faf8fea9711>