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 18/5/25 a las 21:13, Jonathan Perkin escribió:
* On 2025-05-18 at 17:21 BST, adr wrote:

On the other hand, as you are changing these packages yourself, why
don't you change the revision to a higher one, and pass the "<" flag
with the -l option to pkgin?

This is in case you have to keep your local packages when new
revisions get in, I mean, if your packages' versions are the same
as the ones in the repository, doing just

pkgin -l '<' upgrade

should do what you want right now.

No, -l is only used for 'pkgin list'.  Upgrade always considers every package.


Hi,

I confirm that 'upgrade' is not affected by the -l flag, but 'list' works. But the man page do not say that it only works in 'list' command, I understand...


netbsd-x260# pkgin se gnuradio
gnuradio-3.10.12.0 Collection of GNU Radio (meta package, easy to install whole thing) gnuradio-channels-3.10.12.0 > Signal processing blocks to simulate channel models of GNU Radio
gnuradio-companion-3.10.12.0 > User interface entry of GNU Radio
gnuradio-core-3.10.12.0 > Core part of GNU Radio, all others need this
gnuradio-digital-3.10.12.0 > Digital related algorithms for GNU Radio
gnuradio-doxygen-3.10.12.0 > Doxygen documentation of GNU Radio
gnuradio-dtv-3.10.12.0 > Various digital television standards of GNU Radio
gnuradio-fec-3.10.12.0 > Forward Error Correction blocks, utilities, & examples of GNU Radio
gnuradio-network-3.10.12.0 > Network blocks for GNU Radio
gnuradio-pdu-3.10.12.0 > Protocol Data Units for GNU Radio
gnuradio-qtgui-3.10.12.0 > Qt GUI module of GNU Radio
gnuradio-soapy-sdr-3.10.12.0 > GNU Radio bindings for SoapySDR
gnuradio-trellis-3.10.12.0 > Trellis-based encoding and decoding algorithms for GNU Radio gnuradio-uhd-3.10.12.0 > Uhd-based encoding and decoding algorithms for GNU Radio
gnuradio-utils-3.10.12.0 > Utilities in GNU Radio
gnuradio-video-sdl-3.10.12.0 > SDL (Simple DirectMedia Layer) bindings for GNU Radio
gnuradio-vocoder-3.10.12.0 > All available vocoders in GNU Radio
gnuradio-wavelet-3.10.12.0 > Wavelet transform of GNU Radio
gnuradio-zeromq-3.10.12.0 > All of the zeromq blocks, utilities, and examples

=: package is installed and up-to-date
<: package is installed but newer version is available
>: installed package has a greater version than available package
netbsd-x260#

netbsd-x260# pkgin -l '<' upgrade
calculating dependencies...done.

3 packages to refresh:
  gr-osmosdr-0.2.6nb5 pkgconf-2.4.3 x11-links-1.36

19 packages to upgrade:
gnuradio-channels-3.10.12.0 gnuradio-companion-3.10.12.0 gnuradio-core-3.10.12.0 gnuradio-digital-3.10.12.0 gnuradio-doxygen-3.10.12.0 gnuradio-dtv-3.10.12.0 gnuradio-fec-3.10.12.0 gnuradio-network-3.10.12.0 gnuradio-pdu-3.10.12.0 gnuradio-qtgui-3.10.12.0 gnuradio-soapy-sdr-3.10.12.0 gnuradio-trellis-3.10.12.0 gnuradio-uhd-3.10.12.0 gnuradio-utils-3.10.12.0 gnuradio-video-sdl-3.10.12.0 gnuradio-vocoder-3.10.12.0 gnuradio-wavelet-3.10.12.0 gnuradio-zeromq-3.10.12.0 osabi-NetBSD-10.0

0 to remove, 3 to refresh, 19 to upgrade, 0 to install
39M to download, 67M of additional disk space will be used

proceed ? [Y/n]

netbsd-x260# pkgin -l '=' upgrade
calculating dependencies...done.

3 packages to refresh:
  gr-osmosdr-0.2.6nb5 pkgconf-2.4.3 x11-links-1.36

19 packages to upgrade:
gnuradio-channels-3.10.12.0 gnuradio-companion-3.10.12.0 gnuradio-core-3.10.12.0 gnuradio-digital-3.10.12.0 gnuradio-doxygen-3.10.12.0 gnuradio-dtv-3.10.12.0 gnuradio-fec-3.10.12.0 gnuradio-network-3.10.12.0 gnuradio-pdu-3.10.12.0 gnuradio-qtgui-3.10.12.0 gnuradio-soapy-sdr-3.10.12.0 gnuradio-trellis-3.10.12.0 gnuradio-uhd-3.10.12.0 gnuradio-utils-3.10.12.0 gnuradio-video-sdl-3.10.12.0 gnuradio-vocoder-3.10.12.0 gnuradio-wavelet-3.10.12.0 gnuradio-zeromq-3.10.12.0 osabi-NetBSD-10.0

0 to remove, 3 to refresh, 19 to upgrade, 0 to install
39M to download, 67M of additional disk space will be used

proceed ? [Y/n]

netbsd-x260# pkgin -l '>' upgrade
calculating dependencies...done.

3 packages to refresh:
  gr-osmosdr-0.2.6nb5 pkgconf-2.4.3 x11-links-1.36

19 packages to upgrade:
gnuradio-channels-3.10.12.0 gnuradio-companion-3.10.12.0 gnuradio-core-3.10.12.0 gnuradio-digital-3.10.12.0 gnuradio-doxygen-3.10.12.0 gnuradio-dtv-3.10.12.0 gnuradio-fec-3.10.12.0 gnuradio-network-3.10.12.0 gnuradio-pdu-3.10.12.0 gnuradio-qtgui-3.10.12.0 gnuradio-soapy-sdr-3.10.12.0 gnuradio-trellis-3.10.12.0 gnuradio-uhd-3.10.12.0 gnuradio-utils-3.10.12.0 gnuradio-video-sdl-3.10.12.0 gnuradio-vocoder-3.10.12.0 gnuradio-wavelet-3.10.12.0 gnuradio-zeromq-3.10.12.0 osabi-NetBSD-10.0

0 to remove, 3 to refresh, 19 to upgrade, 0 to install
39M to download, 67M of additional disk space will be used

proceed ? [Y/n]



Regards
Ramiro.




Home | Main Index | Thread Index | Old Index