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



Hi John, thanks for answering:

El 18/5/25 a las 21:20, Jonathan Perkin escribió:
* 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


On my RPi4, I am at work and have the amd64 machine off:

$ cd pkgsrc; mkdir local
$ ln -s ../pkgtools/digest local/digest
$ cd local/digest
$ bmake stage-package-create

netbsd-raspa4# pkg_info -Q PKGPATH $(make -v STAGE_PKGFILE)
pkgtools/digest

It does not output local/digest, pkgtools/digest instead.

Regards.




Home | Main Index | Thread Index | Old Index