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





El 19/5/25 a las 8:57, Ramiro Aceves escribió:
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.


Hello again, I think that as Adr suggested, it is better not to tweak too mach and it is more practical to do upgrades using pkg_add during the life of 2025Q1 till gnuradio/gr-osmosdr appear fixed in 2025Q2, to mantain using locally modified packages.

Regards.
Ramiro.






Home | Main Index | Thread Index | Old Index