pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: How to prevent locally compiled packages from upgrading



* On 2025-05-18 at 14:53 BST, Ramiro Aceves wrote:

netbsd-x260# make install

netbsd-x260# pkg_info -B gnuradio-core|grep PKGPATH
PKGPATH=ham/gnuradio-core

It's likely that "install" did not actually install that package, and you are still querying the older package. If you already have one installed then it will not update it by default.

  $ cd pkgsrc; mkdir local
  $ ln -s ../pkgtools/digest local/digest
  $ cd local/digest
  $ bmake stage-package-create
  $ pkg_info -Q PKGPATH $(bmake -v STAGE_PKGFILE)
  local/digest

--
Jonathan Perkin                    pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com


Home | Main Index | Thread Index | Old Index