I want some packages with own options which differ from default options, and I don't want update x11-drivers/xf86-video-ati because the newest version doesn't support ClockGating, ForceLowPowerMode options (I need them, else my laptop's fan works all the time - it's a "bit" annoying). I've created a local repository and I've set up in file /usr/local/etc/pkg/repos/local.conf:
I've disabled and re-enabled the official package repository:
/usr/local/etc/pkg/repos/FreeBSD.conf:
/usr/local/etc/pkg/repos/official-freebsd.conf:
When I run
I think the repository annotation is right (
I can lock this package but is there any solution to prevent this upgrade?
Code:
local: { url: "file:///usr/ports/packages/", mirror_type: NONE, enabled: yes }
I've disabled and re-enabled the official package repository:
/usr/local/etc/pkg/repos/FreeBSD.conf:
Code:
FreeBSD: { enabled: no }
Code:
FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes }
When I run
pkg version -RUl '<'
, it doesn't print anything (it's OK for me), but when I run pkg upgrade
, it wants to upgrade xf86-video-ati from 6.14.6_4 to 7.5.0.I think the repository annotation is right (
pkg info -A xf86-video-ati
):
Code:
xf86-video-ati-6.14.6_4:
repository : local
I can lock this package but is there any solution to prevent this upgrade?